LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-18-2005, 03:37 AM   #1
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Rep: Reputation: 31
Quadruple boot


Hi!

I have a computer with 4 OS'es (Debian 3.1, Fedora 4, Windows XP and LFS 6.0). Everything is going fine, but GRUB which I installed from Fedora doesn't boot anything else than Fedora. When I choose Debian, it says something like "file not found". I have added Debian to fstab, rewritten grub.conf (to boot the kernel) but it still won't work!

Any ideas???
Thanks!
 
Old 06-18-2005, 04:37 AM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Can you post a fdisk output and the grub.conf file here.?
 
Old 06-18-2005, 04:50 AM   #3
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Original Poster
Rep: Reputation: 31
Here's my grub.conf:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,1)
# kernel /boot/vmlinuz-version ro root=/dev/hda2
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,1)
kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.11-1.1369_FC4.img
title Debian 3.1 (Sarge)
root (hd1,0)
kernel /media/debian/boot/vmlinuz-2.4.27-2-386
initrd /media/debian/boot/initrd.img-2.4.27-2-386
title Windows XP
rootnoverify (hd0,0)
chainloader +1
title LFS
root (hd0,3)
kernel /media/lfs/boot/lfskernel-2.6.8.1
 
Old 06-18-2005, 06:15 AM   #4
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Original Poster
Rep: Reputation: 31
Fdisk /dev/hda

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2484 19952698+ 7 HPFS/NTFS
/dev/hda2 2485 8712 50026410 83 Linux
/dev/hda4 * 8713 9729 8169052+ 83 Linux


fdisk /dev/hdc

Disk /dev/hdc: 20.5 GB, 20520493056 bytes
255 heads, 63 sectors/track, 2494 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 2432 19535008+ 83 Linux
/dev/hdc2 2433 2494 498015 82 Linux swap / Solaris
 
Old 06-18-2005, 11:50 AM   #5
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
title Windows XP
rootnoverify (hd0,0)

Windows XP on the first partition of the primary master.

title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,1)

Fedora on the second partition of the primary master.

fdisk shows two other Linux partitions. /dev/hda4 & /dev/hdc1
hda4 would be (hd0,3)
hdc1 would be (hd2,0)

But your Grub entry is
title Debian 3.1 (Sarge)
root (hd1,0)

Debian on the first partition of the primary slave. You did not list a primary slave. Only a secondary master (hdc).

I'm new to GRUB, that's what I see.

Last edited by 2damncommon; 06-18-2005 at 11:57 AM.
 
Old 06-19-2005, 03:49 AM   #6
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Original Poster
Rep: Reputation: 31
Hi!

This is what I get when I boot the Debian entry on hd2,0

Code:
Booting command-list

root (hd2,0)
Error 21: Selected disk does not exist

Press any key to continue...
And this is what I get when I boot the Debian entry from hd1,0

Code:
Booting command-list

root (hd 1,0)
Filesystem is ext2fs, partitiontype 0x83
kernel /media/debian/boot/vmlinuz-2.4.27-2-386

Error 15: File not found
Press any key to continue...
Any ideas???

 
Old 06-19-2005, 04:08 AM   #7
kimx
Member
 
Registered: Dec 2004
Location: Denmark
Distribution: Yoper 2.2, Source Mage, Ubuntu 5.04, Slackware 10.1
Posts: 70

Rep: Reputation: 16
Perhaps you could try this:
Code:
root(hd1,0)
kernel /boot/vmlinuz-2.4.27-2-386
since you've just told grub that you debian partition is root
 
Old 06-19-2005, 05:21 AM   #8
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Original Poster
Rep: Reputation: 31
Hi!

Now I've sorted out the boot process, but when the kernel boots I get this message:

Code:
Journalled Block Device driver loaded
pivot_root: No such file or directory
/sbin/init 432: Cannot open dev/console: No such file or directory
And then I get the famous line:
Code:
Kernel panic: Attempted to kill init
 
Old 06-19-2005, 11:42 AM   #9
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Quote:
root (hd2,0)
Error 21: Selected disk does not exist
So GRUB counts only installed drives. Rereading the GRUB docs quickly I don't really see that stated.
Obviously it is so.
Sorry about the goose chase.
 
Old 06-20-2005, 05:16 AM   #10
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 296

Rep: Reputation: 31
I have a multiboot PC with FreeBSD, Centos4, Fedora 3, and XP.
grub is the bootloader installed by Centos 4.
At the kernel line on Fedora 3 I added ro root=/dev/hda*
Where * is the / partition for that distro ie root=/dev/hda8.
It works for me no problems.
 
  


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
from dual boot to triple and quadruple boot theory_prof Linux - Newbie 10 10-06-2005 01:28 PM
on my way to quadruple boot titanium_geek LinuxQuestions.org Member Success Stories 6 06-21-2005 06:53 PM
Quadruple Boot Linux lvieira Linux - Newbie 10 05-24-2004 09:33 AM
Quadruple Boot on Two HDD okleydo Linux - Hardware 2 11-05-2003 05:01 AM
quadruple boot! glock19 Linux - General 2 09-07-2001 03:31 AM

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

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