LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Please help me get back into WinXP. I screwed up Grub Boot Loader (https://www.linuxquestions.org/questions/linux-newbie-8/please-help-me-get-back-into-winxp-i-screwed-up-grub-boot-loader-217636/)

deived 08-14-2004 05:12 PM

Please help me get back into WinXP. I screwed up Grub Boot Loader
 
I was running Fedora for a little while w/ WinXP. I've been using the Grub boot loader. Well, I needed more space for stuff in WinXP, so I reformatted the Fedora partition, figuring I could mess around with it later. Anyway, I realized after (when I rebooted), that grub was pointing to a file on my linux partition, which is no longer there! :(

Now when I start up, I just get a grub prompt. Can I get rid of grub to get back into windows? or can someone tell me how to get back into windows from the prompt? Im lost, and my wife will kill me if she can't get back in.

Please help!

65_289 08-14-2004 05:16 PM

If you have your Windows XP CD, you can boot into it and use the Recovery Console to re-write the MBR. On the Win2k CD, I went to the console and ran "fixmbr" and it fixes the MBR. My XP CD is screwed up, but the 2k CD will still fix it for me.

jrittvo 08-14-2004 05:22 PM

When you run fixmbr, it will tell you that it finds non-standard stuff and that it isn't sure it can fix it, but that is the whole point -- it will wipe out the grub stuff there and take it over completely with Windows boot stuff. So don't let that warning scare you from going ahead and running it!!!

deived 08-14-2004 05:32 PM

I totally forgot about the WinXP one. I don't know if mine is a bootable disk though. It's a pirated copy (my own bad), but I'll give it a shot. does anyone know if Win98 or WinME disk have the ability to fix the MBR as well? I'll try the WinXP disk in a bit (im on my friends laptop right now, since my PC is down.)

masand 08-14-2004 06:01 PM

with a win98 disk

boot with it
at the command prompt

#fdisk /mbr
wil rewrite the windws bootloader on the MBR
regards

deived 08-14-2004 06:17 PM

Quote:

Originally posted by masand
with a win98 disk

boot with it
at the command prompt

#fdisk /mbr
wil rewrite the windws bootloader on the MBR
regards

Sweet, it worked. My WinXP disk isnt bootable, so I couldnt do it on that, but then I popped in the Win98 disk, and Im in!. Thanks again guys.

I will install Linux again once I get a larger HD. I only have a 40G and had it split ~30/10. 10 for Linux, just to try it out and play around with it. I really like it, but was running out of space on my HD, so I needed to have the room back.

anonymousloozah 10-31-2008 07:00 PM

i hope its ok to reply here as im not answering the question, i have the same problem (btw that find similar thread button is a great feature)

so i loaded have my winxp cd booted with it.

can some1 give me the command?

tyvm

ehawk 10-31-2008 07:31 PM

http://www.tech-recipes.com/rx/483/x...overy_console/

http://articles.techrepublic.com.com...1-6031733.html

anonymousloozah 10-31-2008 09:23 PM

thx for the links book marked them.

fixmbr doesnt do anything.
fixboot does what its supposed to do but doesnt fix problem
bootcfg give me a message about corrupt file system
chkdsk doesnt do any scans and i end up with BSOD


so at least now i know how bad is the problem.


All times are GMT -5. The time now is 02:24 AM.