wangjiajun Posted May 14, 2009 Share Posted May 14, 2009 Hi all, I have a laptop installed with Mac OS Leopard and Ubuntu. I first installed mac os x and then ubuntu. Now the system using grub as bootloader. I want to remove ubuntu to empty some space in hard drive while keeping my current Leopard without re-installing it. How can I achieve so? P.S. the grub bootloader is on the same partition as ubuntu instance. That is saying, my /boot and / of ubuntu installation are on the same partition. I am looking for something like fix MBR to re-write Darwin into MBR, but haven't find anything yet! Thanks! Link to comment https://www.insanelymac.com/forum/topic/166337-how-to-remove-linuxfix-mbr-to-darwin/ Share on other sites More sharing options...
Alessandro17 Posted May 14, 2009 Share Posted May 14, 2009 I don't know if that can be done at all. I suggest that you use Acronis OS Selector. After you uninstall Ubuntu, Acronis should "see" OS X: http://www.acronis.com/homecomputing/products/diskdirector/ (I suggest you get it "from the usual places", like a little green demon ). Link to comment https://www.insanelymac.com/forum/topic/166337-how-to-remove-linuxfix-mbr-to-darwin/#findComment-1155895 Share on other sites More sharing options...
bozon42 Posted May 26, 2009 Share Posted May 26, 2009 Hi all, I have a laptop installed with Mac OS Leopard and Ubuntu. I first installed mac os x and then ubuntu. Now the system using grub as bootloader. I want to remove ubuntu to empty some space in hard drive while keeping my current Leopard without re-installing it. How can I achieve so? P.S. the grub bootloader is on the same partition as ubuntu instance. That is saying, my /boot and / of ubuntu installation are on the same partition. I am looking for something like fix MBR to re-write Darwin into MBR, but haven't find anything yet! Thanks! Hello, i think when you reinstall the system (osx+ubuntu), it is better not to boot ubuntu from mbr but from its own /boot partition. During installation of linux you have an option to boot linux not from mbr but from /boot.If you do not need linux, I would simply remove it and make the partition where osx resides, active (with OSX install DVD). 1. Boot your Mac OS X install dvd 2. Once the installer is running, go to the Utilities menu and open Terminal 3. Determine which disk your MacOSX partition is on Type diskutil list Verify which disk number holds your partition (disk0, disk1, etc.) 4. Start using Fdisk Assuming the MacOSX disk is the first disk ("disk0"), then type fdisk -e /dev/rdisk0 <== use "rdisk" with your disk number here !! Ignore the error "fdisk: could not open MBR file ..." 5. Determine which partition for MacOSX needs to be set "Active" Type p Verify which partition is for MacOSX (1, 2, 3, etc.) 6. Set the partition "Active" Assuming it is partition 1, then type f 1 <== use your partition number here !! 7. Save and exit Type write Type y (yes you are sure) Type exit (to quit) 8. Remove the install DVD and reboot bozon42 Link to comment https://www.insanelymac.com/forum/topic/166337-how-to-remove-linuxfix-mbr-to-darwin/#findComment-1163393 Share on other sites More sharing options...
Recommended Posts