Uninstall GRUB

Asked by bosse

A computer with two harddisks. Windows XP on one. Installed ubuntu on the other one. Now I want to format the ubuntu-disk and once again use it with windows. After formatting the disk I am unable to start the computer because GRUB gives an errormessage (nr 22) and stops the boot-sequnence. Apparently looking for the ubuntu-disk.

To use the computer at all I have to reinstall ubuntu.

How do I get rid of GRUB? I. e. uninstall it? I have searched the internet for info about how to handle GRUB. Found a lot, but nothing about how to uninstall it.

Question information

English Edit question
Ubuntu grub Edit question
No assignee Edit question
Solved by:
Jeremy Vies
Last query:
Last reply:
Revision history for this message
Jeremy Vies (jeremy.vies) said :

To remove GRUB, you should just install windows over it.
If you see some grub chars, it's because you're trying to boot on it.
To boot on your windows disk, you probably have to change some bios settings to allow cdrom drive to boot on.

Revision history for this message
bosse (bo-rutberg) said :

Well, just now (30 minutes ago) I have found another answer to my own question; after booting from the Windows install CD, via the recovery console, use the command "fixmbr device name"

Heureka, the MBR has been modified back to the standard for booting windows. All is well that ends well.


Revision history for this message
Sean Sosik-Hamor (sciri) said :

There's an undocumented DOS fdisk feature that will nuke and rewrite the MBR. Get DOS boot floppies from http://bootdisk.com/ although you'll need a working Windows system to write most of the disk images to a floppy.

fdisk /mbr

That will nuke and rewrite the MBR.

Revision history for this message
tony (tonycrane2002) said :

how do you get rid of grub when you dont know the password or username to the computer