Please help me get back into WinXP. I screwed up Grub Boot Loader
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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!!!
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.)
#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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.