LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-29-2004, 09:05 AM   #1
deadlock
Member
 
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
Code:
title FC2
    root (hd0,0)
    kernel /vmlinuz-2.6....
    initrd /inird-2.6....
title FC1
    root(hd1,0)
    kernel /vmlinuz-2.4.....
    initrd /initrd2.4....
Dan
 
Old 04-29-2004, 06:44 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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.
http://users.rcn.com/srstites/LifeB....home.page.html

Steve Stites
 
Old 04-29-2004, 09:05 PM   #3
blinux1
Member
 
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
root(hd1,0)
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
 
  


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
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

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

All times are GMT -5. The time now is 01:25 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