Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I upgraded to Lion and decided I no longer want 100 GB of my drive devoted to Boot Camp, I never boot into Windows, I just use it as a VM anyways. So I deleted the boot camp partition using disk utility and then attempted to expand the main partition to fill this now unallocated space. I also deleted the boot camp from inside VMWare Fusion. When I go to expand it, I get the error in the title of this question.

After searching this forum and Google, I found a lot of people with similar problems but none receiving this exact error with any resolution. I do not want to do a clean install if at all possible. I have enabled debug mode in Disk Utility and tried other stuff, but to no avail.

I've tried editing it in normal and in debug mode while running Lion, and I've tried in recovery mode.

Here are screenshots of the error and whatnot. Any ideas?

Error message received

diskutil list output

UPDATE: I verified my disk and got these errors. Attempting to repair but worried that my Snow Leopard disk will overwrite the Lion recovery partition....

Drive errors

share|improve this question
    
Can you tell us what you've tried? –  Jay Thompson Oct 26 '11 at 1:29
    
I've tried editing it in normal and in debug mode while running Lion, and I've tried in recovery mode. –  maj nem ɪz dæn Oct 26 '11 at 3:15

3 Answers 3

up vote 27 down vote accepted

OK, this isn't too bad. Reboot while holding Command ⌘-S to enter single user mode. When it gives you a prompt, type

fsck -fy

then press return. it will repair your disk. When it's done, type

reboot

and try partitioning again.

share|improve this answer
1  
Does this cause any files to be deleted or any data to be lost? –  user20352 Mar 19 '12 at 2:47
1  
No, it's the equivalent of clicking the Repair Disk button in Disk Utility. –  Jay Thompson Mar 19 '12 at 9:48
    
This worked like a charm, thanks! –  Al. Apr 30 '13 at 15:29
1  
Wohoo! This worked :) Thanks –  gentmatt Jul 12 '13 at 18:41
2  
Just out of curiosity... What makes this work while repair disk (even from the recovery partition) couldn't. –  mjrider Feb 21 at 19:49

The solution ended up being to create a Lion install disk, boot from the disk, run disk utility repair on the drive and volume, then resize the partition. Easier than I thought it would be.

share|improve this answer
1  
I know this is a bit old, but this worked for me as well. I had to make the partition smaller, then resize it larger again for it to work. And yes it was easier than I thought it would be, too. After I found this post. –  user22232 Apr 29 '12 at 19:25

This solution worked for me after receiving the same error:

  • Shut down.
  • Start up holding down Command ⌘ + S. (This will boot you into Single User Mode.)
  • At the prompt, type in the command fsck -fy.
  • When that finishes, type reboot.
  • Try resizing again in Disk Utility.
share|improve this answer

protected by Community Mar 26 '13 at 4:11

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.