LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to bypass 'Grub' after deleting the Linux partition, so that Windows XP can load? (http://www.linuxquestions.org/questions/linux-software-2/how-to-bypass-grub-after-deleting-the-linux-partition-so-that-windows-xp-can-load-217960/)

Marion D Poff 08-15-2004 03:27 PM

How to bypass 'Grub' after deleting the Linux partition, so that Windows XP can load?
 
Good Day,

I was operating a partitioned hard drive, Linux on one side, XP on the other....

Well, I removed the Linux partition, because I needed the space.

Now, the operating system chooser, 'grub' is acting as gatekeeper to my system, but I do not know how to use it, and I belive that in the re-sizing and deleting of partitions, I may have deleted part of it, retarding it's function.

So, any ideas?

fdisk /mbr was suggested by a friend, but there does not seem to be an fdisk for XP?

I tried a Windows repair, but it re-starts the PC during, and then grub re-instates itself.

I was thinking about going from the c: prompt.... But, I have yet to recall my master password.

But, the big problem is..... I failed to have a backup of my data.... And I cannot contemplate losing what I have...... If I have no choice, well, I have no choice, but until then..... I will continue to search for solutions...

So, any ideas you folks might have, would be greatly appreciated....

SBing 08-15-2004 03:58 PM

Re: How to bypass 'Grub' after deleting the Linux partition, so that Windows XP can l
 
Quote:

Originally posted by Marion D Poff
I tried a Windows repair, but it re-starts the PC during, and then grub re-instates itself.
Have you tried the windows recovery console? Put in the XP CD and boot from it - go through setup until you see an option to repair an existing installation (fairly near the beginning), once you're at the console you can type in "FIXMBR" (if that's not the command, just type HELP and you'll see something similar to that)

Good luck!

masand 08-15-2004 05:23 PM

hi
boot from a win98 cd
at the command prompt
#fdisk /mbr
will remve grub and rewrite the windows MBR to it

regards
gaurav

rm6990 08-15-2004 08:05 PM

The windows 98 cd will not work for windows xp....u will need the windows xp cd, boot into it and ayt the first set of options in the blue screen, hit r....in the console type fixmbr (u were right) and then type y to confirm.

masand 08-15-2004 10:55 PM

Quote:

Originally posted by rm6990
The windows 98 cd will not work for windows xp.....

it does not matter what windows u r using, booting with a windows 98 CDROM and then at the command prompt
#fdsik /mbr
works
i have used it on all the windows

regards
gaurav

Marion D Poff 08-16-2004 06:58 PM

Thank you all.

fixmbr worked.

ph4r40h_y4m1 09-08-2008 09:58 AM

Thanks Masand
 
I had the same problem in this case. I saw Masand's suggestions, and I just happened to have a Windows 98 boot disk lying around, gave it a try, and it worked. Took all of maybe 5 min. Thanks Masand.

cxshar 12-25-2008 09:15 PM

FIXMBR not working
 
Hey Everyone,

I've got the same problem and I've booted Win XP but when I use fixmbr I get an error saying:

fixmbr is not recognized as an internal or external command, etc

Does anyone know what's up with this?

syg00 12-25-2008 09:47 PM

You need to be in recovery console - see post #4.

chakka.lokesh 12-26-2008 11:18 PM

Quote:

Originally Posted by Marion D Poff (Post 1110885)
Good Day,
Well, I removed the Linux partition, because I needed the space.

I guess there is a better option. Delete the windows partition and keep the linux. :D

mattdeany 06-13-2010 06:03 PM

Thanks, very clear help
 
Superbly clear, thanks, worked for me in repairing defective Grub loader.

alimassie123 03-15-2011 04:52 PM

mindows 98 disk help
 
hi there, i also have the same problem and have found a win 98 install cd, but i cant seem to navigate to the command prompt, any help much appreciated, cheers.


All times are GMT -5. The time now is 09:29 AM.