LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-15-2004, 02:27 PM   #1
Marion D Poff
LQ Newbie
 
Registered: Aug 2004
Location: Coeur d'Alene Idaho
Posts: 2

Rep: Reputation: 0
Question 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....
 
Old 08-15-2004, 02:58 PM   #2
SBing
Member
 
Registered: Mar 2004
Posts: 519

Rep: Reputation: 35
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!
 
Old 08-15-2004, 04:23 PM   #3
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

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

regards
gaurav
 
Old 08-15-2004, 07:05 PM   #4
rm6990
Member
 
Registered: Aug 2004
Location: Canada
Distribution: SUSE 9.1 Pro and Debian Testing on Server
Posts: 469

Rep: Reputation: 30
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.
 
Old 08-15-2004, 09:55 PM   #5
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
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
 
Old 08-16-2004, 05:58 PM   #6
Marion D Poff
LQ Newbie
 
Registered: Aug 2004
Location: Coeur d'Alene Idaho
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you all.

fixmbr worked.
 
Old 09-08-2008, 08:58 AM   #7
ph4r40h_y4m1
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
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.
 
Old 12-25-2008, 08:15 PM   #8
cxshar
LQ Newbie
 
Registered: Dec 2008
Posts: 2

Rep: Reputation: 0
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?
 
Old 12-25-2008, 08:47 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,353

Rep: Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042
You need to be in recovery console - see post #4.
 
Old 12-26-2008, 10:18 PM   #10
chakka.lokesh
Member
 
Registered: Mar 2008
Distribution: Ubuntu
Posts: 211

Rep: Reputation: 32
Wink

Quote:
Originally Posted by Marion D Poff View Post
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.
 
Old 06-13-2010, 05:03 PM   #11
mattdeany
LQ Newbie
 
Registered: Jun 2010
Posts: 1

Rep: Reputation: 0
Talking Thanks, very clear help

Superbly clear, thanks, worked for me in repairing defective Grub loader.
 
Old 03-15-2011, 03:52 PM   #12
alimassie123
LQ Newbie
 
Registered: Mar 2011
Posts: 1

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
recovering from grub-install /dev/hda1 deleting windows XP boot loader Steve Mading Linux - Software 7 02-22-2010 07:53 PM
deleting windows partition rksprst Mandriva 1 01-04-2005 04:33 AM
Deleting Windows partition without damaging Linux GT_Onizuka Linux - General 1 12-29-2004 07:44 PM
XP won't load...grub hid partition? SamerAdra Mandriva 4 10-21-2004 09:37 AM
Deleting Windows Partition LinuxSeeker Mandriva 17 10-18-2004 04:34 AM


All times are GMT -5. The time now is 10:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration