Image 01 Image 02

Remove Grub Boot loader after removing linux

Posted on 14th September 2008 by Matt
0

The setup:

Dual booted Windows XP (hdd 1), Ubuntu Linux(hdd 2).

The problem:

After reformatting my linux hard drive to remove linux from and change the file system to NTFS so my Windows installation could use the disk, GRUB boot loader was left behind in the master boot record. However when i came to the task of removing it, i couldnt find out my administrator password thus meaning i couldn’t perform the usual fix;

Usual Fix:

Running the XP setup disk and going into recovery mode, typeing admin password and running “FIXMBR”.

My Fix:

I booted into Winternals ERD 2005 which allowed me access to command prompt so i could use a program called MBRwiz which i ran from a floppy drive. Once in command prompt you will need to change the drive/directory to the one where MBRwiz is saved. e.g   chdir A:\

For a full list of commands visit http://commandwindows.com/command3.htm

Let’s say A:\ is your floppy drive and the MBRwiz.exe is saved in the root.

Now type in the command prompt:

MBRWiz.exe

hit enter and type

MBRWiz /Repair=1 /Disk= [<disk number of hdd with windows installation on>]

Download

MBRWiz download link: http://mbrwizard.com/download.shtml



Leave a reply...

You must be logged in to post a comment.