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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I need help to configure Grub Boot loader.
/dev/sda1 = /boot of Fedora Core 6
/dev/sda2 = / of Fedora Core 6
/dev/sda11 = /boot of OpenSuse 10.2
/dev/sda12 = / of OpenSuse 10.2
/dev/sdb1 = Windows XP
(I also made partitons for /home, /var, /opt... but I don' t think it's relevant in this case)
I use most of the time suse but sometimes need fedora and Windows.
I've read many threads about triple booting but still haven't manage to get grub running. I tried using suse's yast boot loader GUI but still nothing.
Does anyone know how to make this setup work, or perhaps has a link to a tutorial?
Is GRUB installed? If so, do you know what was specified for its root--ie where it will look for its config file.
Can you boot into any of the three OSes?
here is the general form of the two (or three) essential entries in the grub config file (menu.lst AKA grub.conf):
title somelinux root (hdX,Y) points to the location of /boot--where grub will look for a kernel to boot. X=0 for drive 1, Y=0 for partition 1 kernel <path><name> root=dev/hdVW <path> is the path from the partition described in the "root" statement above. If it is the boot /partition, then <path> will be empty. <name> is the name of the kernel file in /boot--typically vmliuz-something. Finally root=....tells the KERNEL where to mount the file system "root"--AKA "/". It has NOTHING to do with the root statement that tells grub where to look for the kernel. initrd <path><name> same logic as for kernel, except <name> is the name of the initrd file
Again, this file must be in the location to which grub is hard-coded to point to when it is installed
Why make it so hard? Install the OS, let it install its GRUB to a floppy and copy the information from the floppy to the "central" GRUB you have on your system. That way you'll never have to make any guesses about partitions or parameters. And once you're done copying, the floppy can be formatted and used for the next OS. I managed to intall no less than 9 OSes that way. One floppy, no headaches.
First of all thank you for your replies and the tutorial.
I booted in Fedora's rescue mode, did grub-install /dev/sda. Now I can boot FC6.
So I had a look at the grub.conf file and tried to edit it manually in order to add OpenSuse and windows:
title Fedora Core (2.6.20-1.2925.fc6)
kernel /vmlinuz-2.6.20-1.2925.fc6 ro root=LABEL=/1 rhgb quiet
title Fedora Core 6 (2.6.18-1.2869.fc6)
kernel /vmlinuz-2.6.18-1.2869.fc6 ro root=LABEL=/1 rhgb quiet
title OpenSuse 10.2 (188.8.131.52)
kernel vmlinux-184.108.40.206-ccj47-default.gz ro root=/dev/sda12
title Windows XP
(for some reason Fedora recognizes the windows disk as disk 3, but this is irrelevant)
Whenever Windows is not on the first disk, it needs to be mapped. I have (or rather had) Windows on the second disk so GRUB looked like this:
map (hd0) (hd1)
map (hd1) (hd0)
As for openSuse, I really don't see why GRUB should locate it in the fourth partition when your fist post states it is in partition 11/12. You would need this instead:
thanks for the update,
I look into that in a couple of hours, I really need to go to bed right now .
@ jay73 I used gparted to view my partitions and /dev/sda11 is the fourth partition on my system. I think the problem is that I didn't wrote initrd's file type: for instance for fedora .img for suse gzip
Thanks again to both of you
Yes, alright, hda11 may physically be the fourth partition; but that doesn't mean GRUB is as smart as to verify the actual order of your partitions. Both Gparted and GRUB rely on the partition table; and if that one says that Suse is on hda11, then it is partition number 11. I may be wrong, but if your Suse still refuses to boot, I think you should go back to my previous post.