How Do I: Remove a linux partition & GRUB bootloader.
Right now I have Windows XP and Fedora Core 5 installed on the same hard drive. How would I uninstall just Fedora Core 5 and remove that stupid GRUB bootloader? I'm not sure if the best idea is to just delete all partitions but the one Windows XP is on and then worry about the bootloader, or if I should get rid of the bootloader first. Any suggestions highly appreciated. Also, I would like to install Ubuntu after I get Fedora Core 5 removed
Oh, and is there any way to make Windows XP the first OS the GRUB bootloader loads first? I hate turning on my computer and then having Linux boot up automatically. |
Just install Ubuntu over Fedora. When it asks what partition to put it on, select the fedora partition. Put the new Grub into the MBR (over the old grub).
You can make windows boot by default by changing /boot/grub/menu.lst file. There's a line that says "Default 0" which corresponds to the first item on the grub menu. Just increment it until it boots windows by default. |
A better option is to move the Windows option to the top of the list, in case some future change (like installing a newer kernel) inserts an extra boot option line.
An even better option is to change the default to "saved". This will make the computer reboot to the same choice that was chosen last time. |
If you've got the XP install disk you can use the Recovery Console to rewrite the MBR to get rid of GRUB. Type at the prompt: fixmbr. Then go to Control Panel --> Administrative Tools --> Disk Management, and delete your Fedora partitions.
|
Thanks! But one more question, how do I edit "/boot/grub/menu.lst"? I've barely gotten into Linux at all so far, and I don't know how to edit these kinds of things. Can anyone give me a simple step by step?
|
In Ubuntu, just do sudo gedit /boot/grub/menu.lst
|
Quote:
|
/boot/grub/menu.lst is the grub configuration file of ubuntu. if you're still on fedora, it will be grub.conf. if you can still boot in your linux distro, you can use gedit if you are in gnome or kedit if you are in kde to edit grub.conf/menu.lst. you can also use other text editor such as kwrite.
|
At least in Fedora 7, menu.lst is a symlink to grub.conf so it will work. Not positive about 5 though.
|
in fedora 5, it still is grub.conf...
|
In Fedora 5 make sure you are root and the grub configuration file is in etc:
Code:
vi /etc/grub.conf |
Thanks for all your help, I figured out a way to change the default from Linux to windows. Here's a way I explain it very simply:
* Log in as Root * Click on the icon "Computer" * Open up the folder "boot" * Open up the folder "grub" * Open up the file menu.lst. It allows you to edit it. * Change "default 0" to "default 1" in the editor Thanks for your help, but noobs like me need an in-depth explanation like this one... |
All times are GMT -5. The time now is 08:14 PM. |