Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322
Rep:
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!
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322
Original Poster
Rep:
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
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.
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322
Original Poster
Rep:
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...
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.