Startup Disk full - Read-only- cannot boot Mac Mini
I'm at my wits end with this issue. Hours of searching various forums have produced glimmers of hope, but nothing works.
First - mea culpa - I have only myself to blame. Short Version: I wiped my (time machine) external backup drive due to problems it was having. Before I could create a new TM backup, I left for a couple of days, came back and my startup disk was full and my Mini (mid-2011, Running Sierra) wouldn't boot. So now I have no backup to restore from.
Tried recovery mode, disk won't mount.
Tried Target mode - no way no how.
I've read where some people went into Single User mode and used the command line to delete some files they don't need. I've gotten as far as the command line. tried all the fsck stuff - nothing.
Tried /sbin/mount -uw / (as per this thread http://boards.straightdope.com/sdmb/showthread.php?t=554227) but I'm getting a long error message that ends in:
mount_hfs: error on mount (): error = -1
mount_hfs: Invalid argument.
I've tried various rm commands, but keep getting various slaps on the wrist that end in "Read-only file system"
For obvious reasons, I'd like to try to clear enough of the clutter on this drive in hopes of rebooting and then wiping out all the clutter I should have gotten rid of a while ago before going nuclear on it and risking losing everything. I feel like I'm so close, but can't get past this pesky read-only issue. Any help would be greatly appreciated. Please note I'm not a power user-and had never typed anything into a terminal command line before I ran into this problem and started searching - i.e. I'm competent enough to follow directions very well, but only if they're dumbed-down a bit. (After all - I was dumb enough to let this happen in the first place!)
Solution 1:
The error your getting when typing in the command means that the command you typed in has invalid arguments. That means that you didn't type the command correctly.
The reason it's not letting you modify the hard drive is because the drive is only mounted in read only mode.
Mount hard drive for read and write in single user mode
/sbin/fsck -fy
Then run:
/sbin/mount -uw
If it says something like invalid command try the commands without "/sbin/" at the beginning.
After your able to mount the disk erasing the files the other website recommended.
Also you mentioned you couldn't boot into recovery mode, but have you tried to boot into Internet Recovery Mode?
How to boot into Internet Recovery Mode
- Hold Option-Command-R or Shift-Option-Command-R on startup until you see a spinning globe
- Connect the device to Internet if prompted to do so.
Hope this helps and good luck on recovery your data