LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GRUB Questions (https://www.linuxquestions.org/questions/linux-newbie-8/grub-questions-584273/)

Frustian 09-12-2007 05:51 PM

GRUB Questions
 
I currently have Ubuntu 6.06 and Windows sharing a hard drive. I want to uninstall Ubuntu/get rid of linux and all it's partitions off of the hard drive, but before I do it, I have some questions.

1)Will GRUB be uninstalled in the process?
2)If GRUB is uninstalled will Windows boot normally, or will I have to do something to repair the boot of the hard drive.
->I'm not getting rid of Linux, but I want to put it on a separate Hard Drive.
3)What would happen? would GRUB still be installed and see Linux on the other hard drive? or will I have to reinstall GRUB and reconfigure it?

jailbait 09-12-2007 07:02 PM

Quote:

Originally Posted by Frustian (Post 2890112)
I currently have Ubuntu 6.06 and Windows sharing a hard drive. I want to uninstall Ubuntu/get rid of linux and all it's partitions off of the hard drive, but before I do it, I have some questions.

1)Will GRUB be uninstalled in the process?
2)If GRUB is uninstalled will Windows boot normally, or will I have to do something to repair the boot of the hard drive.
->I'm not getting rid of Linux, but I want to put it on a separate Hard Drive.
3)What would happen? would GRUB still be installed and see Linux on the other hard drive? or will I have to reinstall GRUB and reconfigure it?

Grub is installed in two places. It is on your master boot record and it is in your Linux partition. If you get rid of the Linux partition which contains Grub then you will only have partially got rid of Grub. The portion of Grub on the master boot record will still be there but it will not work if it cannot find the portions of Grub which reside within the Linux partition. You would overcome this by reinstalling the Windows boot loader.



"->I'm not getting rid of Linux, but I want to put it on a separate Hard Drive.
3)What would happen? would GRUB still be installed and see Linux on the other hard drive? or will I have to reinstall GRUB and reconfigure it?"

In that case I suggest that you first install Linux on the other hard drive without messing with the existing Linux partition. When you install Grub install it on the master boot record and the new Linux partition. Configure the new Grub to find Windows and the new Linux. If you want you can also configure the new Grub to optionally boot the old Linux partition.

Whenever the new Linux is stable then you can erase the old Linux and remove the entry for the old Linux from the new Grub.

------------------
Steve Stites

jay73 09-12-2007 07:03 PM

1. No.
2. No, windows won't boot until its MBR has been restored from an install cd (FIXMBR command).
3. No, GRUB will need to be reinstalled because half of it will be missing (the part that resides in your boot directory).

Frustian 09-12-2007 08:40 PM

Thank you for the help.


All times are GMT -5. The time now is 12:15 AM.