PDA

View Full Version : removing grub on a dual boot HD?


CpuMan
09-27-2005, 12:39 AM
I have a 80gig HD with 10gigs partitioned off for Ubuntu and windows xp on the rest of the HD. Since installing Ubuntu my pc boots with the option to boot into linux. If I scroll down I can boot into windows xp.

I want to remove Ubuntu from the partition and use the partition for something else. What is the best way to uninstall Ubuntu?
If I just reformat the 10 gig partition, which would mean grub would be deleted, will the pc boot normallly into windows again like it did before I installed Ubuntu?

Bullitt
09-27-2005, 02:36 AM
To remove the boot loader, the concept is to install another boot loader.
The boot loader is installed on your primary hard drive.
I will assume you want to go back to the windows boot loader, so insert your windows disk and get to recovery console.

fixmbr and fixboot should get you back into gear.

If you want to install another linux distro, there's really no need to remove grub, its just a boot loader independant of the operating systems.

ranstlin
09-27-2005, 01:18 PM
fdisk /mbr should do the trick.

CpuMan
09-27-2005, 06:04 PM
I had a old windows 98 boot disk. I booted from it and typed "fdisk /mbr". Worked like a charm. :)

Thanks again