Somehow a software update managed to stop my Mac Mini from booting. It was stuck in the light gray background and dark grey apple logo screen. Rebooting didn’t help. I was worried.
You can hit ⌘V to boot in verbose mode. I saw something like this:
Bug: launchctl.c:3557 ... Running rack on the boot volume... Executing fsck_hfs ... launchctl: Please convert the following to launchd: /etc/mach_init.d/dashboardadvisoryd.plist
I waited for a few minutes but nothing happened.
You can hit ⌘⇧S to boot in single user mode. I ran
/sbin/fsck -fy manually and got the message
The volume ... appears to be ok.
You can hit ⇧ to boot in safe mode. I did that (it takes a long time to start up) and ran Disk Utility, verifying the disk. The output looked very much like the fsck output. Next, I tried repairing disk permissions and rebooted.
Wohooo… problem fixed!
Today, I was wanted to format an external hard disk in order to give it to a friend of Claudia’s. When I ran Disk Utility, I got an out of memory error while partitioning the disk. Confused, I tried the command line:
Pyrobombus:~ alex$ diskutil partitionDisk /dev/disk2 1 MBR ExFAT EXTERN R Started partitioning on disk2 Unmounting disk Error: 12: POSIX reports: Cannot allocate memory