LinuxQuestions.org
Review your favorite Linux distribution.
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 02-15-2004, 07:22 AM   #1
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Fedora Core 5, Mandrake 10.0, Gentoo, Suse
Posts: 174

Rep: Reputation: 30
Help! Lost my Dual-Boot!


Hi all,

I have had RH Fedora running nicely for about a week now and I am very happy with it (except for a wireless networking problem - see thread in the wireless network forum).

I have today had to re-install Win98 (It lives on on physical hard drive and Linux lives on a second drive). Of course it wiped out my Grub dual-boot loader.

Is there any way for me to get it back without having to re-install Linux all over again?

Thanks in advance

Mark S
 
Old 02-15-2004, 09:28 AM   #2
Darkseid
Member
 
Registered: Jul 2003
Posts: 43

Rep: Reputation: 15
Hate to say it but it has to be reinstalled. GRUB looks for other OSs and allows them to load once selected. Windows boot loader only works for Windows so Linux must be reinstalled to overwrite that Windows boot loader.

Sorry. I had that problem several times after I had to reinstall WinXP. I gave up and just use Linux. No viruses.
 
Old 02-15-2004, 09:54 AM   #3
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
If you have a bootdisk for your RedHat distro then just put that in and boot to RH and re-install Grub to the MBR. No need to re-install a whole OS just because one program gets wiped.

Do you re-install Windows whenever IE takes a dump, wait don't answer that, bad analogy.

Or you could put your install disc1 in and boot with it and use the rescue feature to re-install Grub if you don't have a bootdisk.

rberry88
 
Old 02-15-2004, 11:30 AM   #4
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Fedora Core 5, Mandrake 10.0, Gentoo, Suse
Posts: 174

Original Poster
Rep: Reputation: 30
Thanks rberry88,

But.... sigh... just too late... I'm halfway through the second disk of the re-install.

Oh well. I'll put it down to experience. Not too much lost because the system was only a week old anyway and I had not done much to it yet.

For future reference however, what should I do? - I do have a boot disk - but it simply passed me though to the log-on screen (so at least I could get at Linux...) and I also tried booting from the distro CD which took me into the install program. Taking the "upgrade" option noticed that I didn't have a boot loader and allowed me to create one, but as there was no actual upgrade required, it simply did nothing (including NOT creating the boot loader). That left me with only one option (I thought) - a fresh install.

I don't plan on reinstalling Win anytime soon - but what should I do if I have to?

Many thanks in advance.

Mark S
 
Old 02-15-2004, 12:30 PM   #5
J.Q. Monkey
Member
 
Registered: Jan 2004
Location: Ho-Town, MI
Distribution: RH9
Posts: 34

Rep: Reputation: 15
http://www.linuxquestions.org/questi...hreadid=132741


I had the same problem......
 
Old 02-16-2004, 06:02 AM   #6
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
If you have a CB burner, you can make a rescue cd. Many of the kernels are too big to make a rescue floppy.

The command is mkrescue --iso. This will produce a rescue.iso file that you can burn to cd.
The command is on Mandrake and debian linuxes. Im sure its also on Red Hat.
 
Old 02-16-2004, 06:10 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,966

Rep: Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752
You do not need to reinstall the OS
For future reference on reinstalling grub.

Boot the 1st CD to rescue mode. Your / will be mounted at /mnt/sysimage
chroot /mnt/sysimage
grub-install
 
  


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
Dual Boot-Lost Windows impeteperry Ubuntu 12 10-30-2005 08:41 AM
dual boot info lost after reinstalled win2k chrislee8 Linux - Software 4 10-22-2004 09:55 PM
Lost XP FC1 Dual-Boot Options - How do I get it back? WebGuyBob Fedora - Installation 3 03-18-2004 04:11 PM
Sound lost after configuring dual boot xri Linux - Hardware 1 12-22-2003 11:52 PM
HELP! Lost the dual boot! MeLassen Linux - Newbie 3 01-04-2002 11:32 AM


All times are GMT -5. The time now is 01:35 PM.

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