Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Currently I have a triple boot with windows7,fedora 16,Ubuntu 11 . As I power my laptop I see the boot loader of ubuntu (Grub) that lists three OS's. I need to delete Ubuntu from my hard-disk ? How can I do this ? Someone told me that if you delete Ubuntu you won't be able to access windows or fedora. I don't understand this.

Anyways, I need to delete Ubuntu from my hard-disk and then reinstall it. How can I do this ?

share|improve this question

1 Answer 1

It depends on where your GRUB installation is: if it is in Ubuntu, deleting this distro will wreck your GRUB.

If you want to delete Ubuntu and keep Fedora I would suggest to install grub to the MBR from Fedora; the command should be

grub-install /dev/sda

(or sdb, sdc, etc, depending on your system).

share|improve this answer
    
and how do I check if grub has already been installed to the MBR ? –  Suhail Gupta Feb 27 '13 at 10:08
1  
the fastest way seems to be boot info, as suggested here. –  Andrea de Palo Feb 27 '13 at 10:32
    
I tried the script and this is the output. Can you please help me understanding the output –  Suhail Gupta Feb 27 '13 at 14:29
    
Grub2 (v1.99) is installed in the MBR of /dev/sda this means your GRUB is installed inside the MBR and looks for (,msdos6)/boot/grub on this drive. As you can see from your configuration, msdos6 is where Ubuntu, with Linux 3.0.0-12-generic resides (ergo, you Ubuntu installation) –  Andrea de Palo Feb 27 '13 at 15:33
    
I guess there are two grubs. One of the fedora and another of ubuntu –  Suhail Gupta Feb 27 '13 at 16:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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