Is there anyway to remove grub and restore WinXP's bootpage? It is on netbook so i have no possibilty to boot any CD, which didn't come with this netbook anyway.

Btw, does deleting the Ubuntu partition also delete grub2? Because I was thinking maybe I just could set the default OS to be XP, and then set the timeout to 0, and or hid grub on load.

link|improve this question

62% accept rate
feedback

4 Answers

I've always used a little free utility called MbrFix for this.

For Windows XP (assuming standard primary hdd install) the command you'll want is:

mbrfix /drive 0 fixmbr /yes
link|improve this answer
i didn't knew what that does, but anyway it killed all my partition. At start up now I get "invalid partition table".... – starcorn Jan 19 '11 at 16:57
fixed it by fixing GRUB – starcorn Jan 19 '11 at 17:17
feedback

Installing the mbr package and running it to replace the grub code in the master boot record with as standard record will do it. This will disable access to grub and leave you with only Windows.

Ubuntu now has a package to install onto a USB key. This can be used to help recover a broken system, or for occational Linux usage. You may want to build and test a key before replacing the mbr record.

link|improve this answer
feedback

You could set grub to wait 0 seconds and automatically pick Windows, to correct this you'd need to edit the file from Windows. I'm not sure what you mean by bootpage, Windows does exactly the same thing after any boot loader.

link|improve this answer
I'm not sure what to call it either. But what I mean I don't want the grub, I intend to remove ubuntu from the laptop and only run winxp. So I don't want the grub page to load up – starcorn Jan 17 '11 at 23:45
feedback

You should boot off the windows XP install disk and log into the recovery console by pressing R:

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/recovery_run_console.mspx?mfr=true

Then you should use the fixmbr command.

www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/bootcons_fixmbr.mspx?mfr=true

I hope that helps. If you get stuck, try googling grub xp fixmbr or grub xp fixboot. I don't think you should need to use the fixboot command.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.