Recently I installed Ubuntu on my Macbook Pro with Lion. I had trouble getting it to work with my hardware and repartitioned the drive to eliminate Ubuntu. Now when I boot my mac I get an error about grub not existing. The only way I can boot into Lion is by holding the option key, going to rEFIT and selecting Lion. How can I eliminate grub and rEFIT and restore the original Lion boot without reinstalling lion?

link|improve this question

75% accept rate
feedback

1 Answer

up vote 1 down vote accepted

If you log into your Mac partition open Terminal and then type in:

sudo fdisk -u /dev/disk0

That should do the trick. Reference fdisk Manual Page. It should be noted that messing with the MBR can be dangerous and I would advise having a backup.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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