LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-03-2006, 12:52 AM   #16
vimal
Red Hat India
 
Registered: Nov 2004
Location: Kerala/Pune,india
Distribution: RedHat, Fedora
Posts: 260

Rep: Reputation: 34

Hello zinc00,

The second stage of grub got deleted when you wiped off the linux partitions. You can reinstall the windows bootloader by inserting a startup disk created from Win98 and issuing 'fdisk /MBR' at the command prompt. This would reinstall the Windows bootloader.

Thanks,,
 
Old 05-03-2006, 10:17 AM   #17
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by vimal
Hello zinc00,

The second stage of grub got deleted when you wiped off the linux partitions. You can reinstall the windows bootloader by inserting a startup disk created from Win98 and issuing 'fdisk /MBR' at the command prompt. This would reinstall the Windows bootloader.

Thanks,,
Just curious, will a Win98 command 'fdisk /mbr' work on WinXP? He already tried fixmbr.
 
Old 05-03-2006, 09:29 PM   #18
zinc00
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Wim Sturkenboom
In that case, please post the output of cat /etc/fstab and we will take it from there.

hmmm....currently unable to post the output....because my system has been earsed of all linux partition..only left window...as i had reinstalled everything just to fix the mbr....
 
Old 05-03-2006, 09:31 PM   #19
zinc00
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by vimal
Hello zinc00,

The second stage of grub got deleted when you wiped off the linux partitions. You can reinstall the windows bootloader by inserting a startup disk created from Win98 and issuing 'fdisk /MBR' at the command prompt. This would reinstall the Windows bootloader.

Thanks,,

didn't have a win98 bootup disk...therefore used xp bootup disk and used fixmbr...think both should be similiar...didn't solve the problem but created more problems....
 
Old 05-04-2006, 12:09 AM   #20
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by zinc00
hmmm....currently unable to post the output....because my system has been earsed of all linux partition..only left window...as i had reinstalled everything just to fix the mbr....
It ws the intention to post the /etc/fstab used by the Live-CD.

But as you have re-installed everything, I suppose that this thread is over now
 
Old 05-04-2006, 09:06 AM   #21
zinc00
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
i had installed fedora core 5 and window xp....need to know the procedures....else might encounter the same problem again....
 
Old 05-04-2006, 08:33 PM   #22
vimal
Red Hat India
 
Registered: Nov 2004
Location: Kerala/Pune,india
Distribution: RedHat, Fedora
Posts: 260

Rep: Reputation: 34
Hello,,,

Just in case its needed again.....


If you are dual-booting and you erased your Linux partition, its going to be a problem. The Grub is a two stage boot loader and its first stage is situated in the mbr. The second stage sits in the /boot partition, if you have one, otherwise in the main / partition. So when you erase the Linux part: you erase the second stage of Grub and so cant boot into the desired OS. If you want to boot Windows again, you need to reinstall the Windows boot loader. For that, you need to create a startup disk from Windows. In Win98 there is an option to create the startup disk from the control panel, whereas in Xp there don't exist one, but only can be done by booting from the disk. To be frank its not going to be easy. So better create a startup disk from Win98 and boot from it and issue the commnad 'fdisk /mbr' from the prompt. This will install the Windows bootloader in the MBR and you will be able to boot to Windows agian.


Thanks,,,,
 
Old 05-04-2006, 09:02 PM   #23
Digital Surgeon
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Ubuntu 7.10 - Gutsy Gibbon(Desktop Edition)
Posts: 184

Rep: Reputation: 30
try running fdisk/mbr after booting a win startup disk itll rest your mbr to win.
 
Old 05-05-2006, 12:12 AM   #24
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by vimal
If you want to boot Windows again, you need to reinstall the Windows boot loader.
....
To be frank its not going to be easy.
Why not. Boot from XP install disk and issue the command.
It should re-install the bootloader in the MBR, wiping the first stage of Grub and solving all problems.

BTW, the command for WinXP is FIXMBR, not fdisk /mbr.

just a link
 
Old 05-05-2006, 03:56 AM   #25
zinc00
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
thx for the help guys...but it seems that i'm back to square....
just want to make a clarification..
so all i have to do is to boot from xp disc, go to recovery console, then type FIXMBR ??? thats all???
 
Old 05-05-2006, 03:59 AM   #26
zinc00
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
btw, i'm using win xp...is it fine to boot from win98 startup disk and perform the fdisk mbr ???
 
  


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
Upgrade Fedora Core 4 (FC4) to Fedora Core 5 (FC5) hangs vogelap Fedora - Installation 10 05-22-2006 09:00 AM
Removing Fedora Core from dualboot cheetahman Fedora - Installation 2 01-07-2006 01:00 PM
Removing Fedora Core 4 Linux to Install Windows elliotfuller Linux - Newbie 1 05-08-2005 11:53 PM
Removing/Uninstalling Fedora Core 2 strimp099 Linux - General 1 12-25-2004 06:56 PM
Help needed with Fedora Core 2 + WinXP after removing Mandrake 10 kainhart Fedora - Installation 4 07-05-2004 04:55 PM


All times are GMT -5. The time now is 03:19 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration