

So I did some research and found another post on AskDifferent that explained how to delete a partition from terminal (in recovery mode) by first unmounting the physical disk using diskutil unmountDisk /dev/disk0 and then deleting the partition using gpt remove. However the option to delete the BOOTCAMP partition is disabled in Disk Utility. So what I thought I could try is delete my BOOTCAMP partition, which is about 100GB, and then merge the free space into the problem partition so that I can run fsck -fy in single user mode to try to repair the volume which now will have enough space to complete the operation. Now the disk is greyed out in disk utility and I can't reinstall mac os x because I would need to erase all of the data on the drive and I don't want to lose the files I have on it. Sorry I didn't get any screenshots or anything but that is basically what happened. (I had about 13GB of free space at this time) Then it tried to restore the disk to it's original state on mount but it couldn't do this either, I'm guessing because of lack of disk space. So I opened in recovery mode and ran the first aid and it tried to fix the B-Tree of the catalog file, however there wasn't enough disk space to do this. I also tried it in a different command on the other page you referenced: typing “$ sudo diskutil unmount force /Volumes/Macintosh\ HD” resulted in “Volume Macintosh HD on disk0s2 failed to unmount.I was trying to repair permissions today on my Mac so I ran the Disk Utility's First Aid on my drive and it said that there was an Invalid Index Key and that my disk was corrupt and I needed to run the first aid in Recovery mode. I tried the command “$ sudo lsof | grep /Volume/Macintosh\ HD” but it resulted in nothing, I just got a reset terminal after it prompted me for my password. Thank you for the additional assistance but I’m not quite sure what to do with any of this.

Map auto_home on /home (autofs, automounted, nobrowse)įilesystem Size Used Avail Capacity iused ifree %iused Mounted on Map -hosts on /net (autofs, nosuid, automounted, nobrowse) If there is more than one volume on the disk, select the volume which. dev/disk0s2 on / (hfs, local, journaled) Even if a check does not report any damage the filesystem might still be marked as. Typing “mount” and hitting Enter yielded: Typing “/Volumes/” and hitting Tab once yielded “Macintosh HD” Tab a second time did nothing.Ģ.
