LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-06-2004, 12:08 PM   #1
RJDavison
Member
 
Registered: May 2004
Location: London UK
Distribution: Fedora Core 2
Posts: 35

Rep: Reputation: 15
Grub Tripple Boot & Error Messages


The Setup

SATA HD (master) running windowsXP
IDE HD (master) running Fedora Core 2
IDE HD (Slave) running Debian Sarge

The Fantasy:

To be able to run all three operating systems off Grub located on the Fedora HD

The Reality

I have the following grub configuration on FC2 from which I can boot WinXP and Fedora.

default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Fedora Core (2.6.6-1.435.2.3)
root (hd0,0)
kernel /vmlinuz-2.6.6-1.435.2.3 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.6-1.435.2.3.img
title Fedora Core (2.6.5-1.358smp)
root (hd0,0)
kernel /vmlinuz-2.6.5-1.358smp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.5-1.358smp.img
title Fedora Core-up (2.6.5-1.358)
root (hd0,0)
kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.5-1.358.img
title WindowsXP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1

I want to be able to run Debian from a third HD and learn how to use this whilst still having a fully operational Linux. I dont want to install them all onto one drive as I dont want to run the risk of rubbing any of my existing partitions.

The problem comes when I try and install debian onto the third HD. It installs, but then when I set the FC2 HD to boot through the bios grub throws up an error 17 message before it even boots grub.

Ive repaired the FC2 installtion by using the installation DVD and its back to normal now i.e booting FC2 and WinXP, but when chaning to the Debian HD through the Bios its saying that it cant find the OS.

Can anyone shed any light onto whats happening and how I can overcome this.

Last edited by RJDavison; 07-06-2004 at 12:11 PM.
 
Old 07-06-2004, 08:51 PM   #2
NarutoKun
Member
 
Registered: Jan 2004
Location: Puchong, Selangor, Malaysia
Posts: 38

Rep: Reputation: 15
Why do you want 2 use bios to boot?
Just use grub to do the job of booting into Debian. I'm using grub to quadboot without a prob
 
Old 07-07-2004, 02:17 AM   #3
RJDavison
Member
 
Registered: May 2004
Location: London UK
Distribution: Fedora Core 2
Posts: 35

Original Poster
Rep: Reputation: 15
I think you missunderstand me. I'm only using the bios to boot when changing between the FC2 drive and the Debian drive.

The FC2 and WinXP installations work fine off the grub on the FC2 drive, but when I try and install Debian on the third drive, it seems to affect grub on the FC2 drive and gives me an Error 17 message and wont boot any further. Until I install Debian things work fine.

I've read on other posts and through a search on Google that this is a bios problem, although I've not been technical enough to understand the remedy (if there is one)

I would be intrested to know how you got all three working and your grub configuration.
 
Old 07-27-2004, 11:52 AM   #4
NarutoKun
Member
 
Registered: Jan 2004
Location: Puchong, Selangor, Malaysia
Posts: 38

Rep: Reputation: 15
Sorry for the late reply. Very busy lately. I don't see a reason for debian to corrupt GRUB on your secondary IDE. Just make sure that you don't install a boot loader(GRUB) during installation for debian (I'm assuming you could configure it like redhat, fedora as well as suse). and everything will work out fine. Of course you'd have to configure grub manually in fc2 to boot into debian once it's been installed. But you only need to do this once. Below is a harder/longer method

Refering to your hw configuration

SATA HD (master) running windowsXP
IDE HD (master) running Fedora Core 2
IDE HD (Slave) running Debian Sarge

Ok here's one possible solution:

default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Fedora Core (2.6.6-1.435.2.3)
root (hd0,0)
kernel /vmlinuz-2.6.6-1.435.2.3 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.6-1.435.2.3.img
title Debian
root (hd2,0)
kernel /[DEBIAN KERNEL] ro root=LABEL=/
initrd /[DEBIAN INITRD IMAGE]

title WindowsXP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1

If you'd like to make sure that this works 100% then do this.
Unplug your FC2 hd and do a normal installation for your Debian.
after installation of debian boot up and try to get into debian (assuming you've set Secondary IDE master as pri boot)
copy the grub configuration for debian and shutdown the machine.
Reinsert your primary slave IDE (FC2) and boot up (remember to setup this ide as pri boot)
enter your fc2 and edit your grub.conf and enter the configuration that you've copied ealier. It should be like the one i've highlighted in dark blue above.

Reboot your machine. and congratulations. GUARANTEED 2 work
 
  


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
Suse Boot Error Messages Anmol SUSE / openSUSE 0 01-14-2005 12:12 PM
md boot error messages david.skinner Linux - Software 0 01-04-2005 03:44 PM
Hotplug error messages at boot dhbiker Slackware 2 04-22-2004 01:54 AM
Error messages at boot time ICO Slackware 3 01-30-2004 03:37 AM
ACPI error messages on boot mbarreto Linux - Laptop and Netbook 2 11-26-2003 08:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:16 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
Open Source Consulting | Domain Registration