Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Restore default bootloader without harming partitions' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Restore default bootloader without harming partitions
Authored by: koooldawg on Dec 15, '09 10:00:43PM

I just was tinkering with Ubuntu 9.10, trying to install on a USB hard drive. It was successful, but could no longer boot OS X. I found this, but I couldn't change partitions in DiskUtil. Then I remembered that OS X is based off Unix/BSD. Looked up the manuals for fdisk. Used it from command terminal from OS X install DVD.

fdisk -u /dev/disk0

fdisk here is very similar to the DOS fdisk program, just designed for UNIX
the -u tells it to update MBR without modifying partitions
/dev/disk0 is the hard drive. yours may differ, but i doubt it

This fixed my problem.

Long story short, yes you can do it easily from command line, just boot your install DVD. In terminal, type the command listed above.



[ Reply to This | # ]