Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-29-2004, 09:05 AM   #1
Registered: Apr 2003
Distribution: Red Hat
Posts: 65

Rep: Reputation: 15
Grub and Twin distros

Slightly different problem to the usual GRUB dual boots on the forum.

I have 2 HDs in a test machine here, the secondary partition currently has Fedora Core 1 installed on it with some toys I am playing with. This HD happily boots if the BIOS is set to boot from D.

On the primary partition I have just installed Fedora Core 2 test 3. This also happily boots up, but only if I select C as primary in the BIOS.

I have tried editing grub.conf to list Core 1 (hd1,0), but obviously something is wrong with that (I'm guessing the fact that I need more root structure than is in the default settings)

Grub.conf as follows
title FC2
    root (hd0,0)
    kernel /vmlinuz-2.6....
    initrd /inird-2.6....
title FC1
    kernel /vmlinuz-2.4.....
    initrd /initrd2.4....
Old 04-29-2004, 06:44 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"I have tried editing grub.conf to list Core 1 (hd1,0), but obviously something is wrong with that (I'm guessing the fact that I need more root structure than is in the default settings)"

You seem to have the MBR of /dev/hda pointing to grub.conf on /dev/hda and the MBR on the second hard drive (wherever it may be, D does not tell me where the hard drive is located) pointing to grub.conf on the second hard drive.

You can straighten out your MBR by picking one of the grub.conf files and setting it up the way that you want. Set the BIOS to boot /dev/hda. In grub.conf set boot=/dev/hda and then run grub-install. This will point the MBR on /dev/hda to the correctly set up grub.conf which will allow you to dual boot by selecting an entry from the grub boot time menu.

Be prepared. Create a LifeBoat CD.

Steve Stites
Old 04-29-2004, 09:05 PM   #3
Registered: Nov 2002
Location: Pennsylvania
Distribution: Mandrake 9.1 and Redhat 9
Posts: 144

Rep: Reputation: 15
i'm not sure if this is related, but you might have to make a distinction on the kernel lines of the grub.conf file (it doesn't hurt and it could help). Like this:
title FC2
root (hd0,0)
kernel (hd0, 0)/vmlinuz-2.6....
initrd (hd0, 0)/inird-2.6....
title FC1
kernel (hd1, 0)/vmlinuz-2.4.....
initrd (hd1, 0)/initrd2.4....
I was dual booting redhat and mandrake and for the mandrake title I only put
kernel /vmlinuz-- when i rebooted, it booted the "redhat vmlinuz" by default. Making the distinction between what hard drive / partition to load the kernel/init from can help


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
Using Grub For Several Distros Ketje General 5 05-31-2005 08:52 AM
Grub and dual-booting two Linux distros RonRussell Linux - General 2 04-15-2005 08:04 PM
multiple distros&grub devil28 Linux - Newbie 8 04-14-2005 08:09 AM
grub and multiple distros rabelais Linux - Newbie 10 01-07-2005 10:26 AM
GRUB and multiple distros hollering Linux - General 3 09-30-2003 08:40 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:25 AM.

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