Linux - SoftwareThis 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.
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 have added mandrake linux, just to try it, and the time I have spent on it has been editing the grub.conf in my redhat to get it to boot. (win98SE also on this hard drive)(mandrake is only one that wont boot with grub.)
I finally read on another site , after searching and searching, trying many iterations and carefully checking spelling tortuously, that the correct way is to load the second linux distro on one HD by chainloading. Don't specify the /boot/vmlinuz and so forth treat it like windows. Just list root location.
Is that what has worked for others? It seems like I would have seen that around here. Never saw anything like that mentioned anywhere else.
I have currently:
kernel /vmlinuz ro root=/dev/hda7 hdc=ide-scsi
(that gets me an error 15 file not found.)
kernel /boot/vmlinuz ....
gets me partway, it loads some, then gets to INIT and says "kernel panic"
hum - if it gets that far then i am thinking this is not due to GRUB - you may wnat to make the initrd.img image - this snippet from a kernel PET here has info that may help:
13. If you use LILO for a bootloader skip this section and go to the end.. Okay for GRUB we need to edit the file /boot/grub/grub.conf and create an initrd.img file. To create this file issue the command mkinitrd initrd-kernel.version.img kernel.version and example would be mkinitrd initrd-2.4.17.img 2.4.17, this command must be issued after make modules_install. The resulting file should be placed in the boot directory you have choosen to place your new kernel, e.g. /boot245. Now to edit /boot/grub/grub.conf. This file is read by by the bootloader upon bootup, therefore you do not need to run any commands after you edit the file. Here is an original grub.conf file for a Red Hat 7.2 system.
So right now you have Win98, RedHat, and Mandrake installed, but you can only get Win98 and Redhat to boot from Grub.
I don't believe Linux can be "chain loaded", by the definition of the Grub "chainloader" command. I would advise copying the RedHat stanza in your menu.lst file, pasting it back into the menu.lst file as a Mandrake stanza, and then modifying the entries for the exact hard drive locations of your Mandrake files (i.e., hdb, hdb1, etc).
Please post the entire contents of your current /boot/grub/menu.lst file.
Boot to RH and mount your Mandy partition somewhere sensible, like /mnt/mandy. Copy the Mandy kernel image over from the Mandy boot dir to the RH boot dir, for example cp /mnt/mandy/boot/vmlinuz /boot/mandykernel. Then in your Grub file, have something like:
You can chainload linux. Just install mandrake's boot loader (grub or lilo) into its root ' / ' partition. Then enter these lines into the grub config file:
It will boot up into either grub or lilo. Then you can boot into mandrake.
Thymox, your idea might work if the complete path is given. It has to do with the root command. It not only sets where grub will look for its files, it can also be used as part of the path to a file. In this case, the kernel and initrd paths will look like this when expanded:
So, grub will look for these files on partition hd0,6 ( hda7 ). Not red hat's partition.
For yours to work, the partition where the /boot directory is located will have to be entered in the kernel and initrd lines. Let's say red hat's /boot directory is on hda2 ( hd0,1 ). So, it will look like this: