Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .