LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-14-2004, 05:12 PM   #1
deived
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
Unhappy 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!
 
Old 08-14-2004, 05:16 PM   #2
65_289
Member
 
Registered: May 2002
Distribution: Ubuntu 5.04, Kanotix
Posts: 163

Rep: Reputation: 30
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.
 
Old 08-14-2004, 05:22 PM   #3
jrittvo
Member
 
Registered: Apr 2004
Location: NJ, USA
Distribution: Fedora
Posts: 82

Rep: Reputation: 15
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!!!
 
Old 08-14-2004, 05:32 PM   #4
deived
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Original Poster
Rep: Reputation: 0
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.)
 
Old 08-14-2004, 06:01 PM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
with a win98 disk

boot with it
at the command prompt

#fdisk /mbr
wil rewrite the windws bootloader on the MBR
regards
 
Old 08-14-2004, 06:17 PM   #6
deived
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 10-31-2008, 07:00 PM   #7
anonymousloozah
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Rep: Reputation: 0
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
 
Old 10-31-2008, 09:23 PM   #9
anonymousloozah
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Get back Grub loader after reinstalling XP thdm SUSE / openSUSE 5 11-18-2005 09:49 PM
how to remove the winXP boot loader? Thinking Linux - Software 4 10-08-2005 07:43 PM
WinXp Linux boot loader help... Fr!tz Linux - Software 2 09-29-2004 08:57 PM
recover winxp boot loader sapilas Linux - General 2 03-08-2004 12:42 PM
Mandrake Install Screwed up MBR; Need to Make Boot Loader CD paul_m_d Linux - Newbie 5 12-09-2003 03:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration