doubt in editing "grub.conf" in multi distro machine
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.
doubt in editing "grub.conf" in multi distro machine
hi there,
i had windows XP and redhat 9
just now i installed slackware 10.1 on my machine, but haven't installed the lilo.conf.
now i'm inside the red hat and have mounted the slackware on "/mnt/slack"
....
now the entries of grub.conf of redhat 9 are
Code:
cat 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,8)
# kernel /boot/vmlinuz-version ro root=/dev/hda9
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,8)/boot/grub/splash.xpm.gz
title Red Hat Linux 9 (2.4.20-8)
root (hd0,8)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20-8.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1
now when i'm looking inside the /boot of slack i'm getting
its for the first time i'm trying to have multi distros.......so from this onwards i'm not pretty sure of doing what.?
but what i doubt is that there is no initrd.....img file in the slackware !!!
....
plz. tell me which file from /boot of slack should i copy into "gurb.conf" of redhat.
I'd like to know how you're going to get it to work since I've planned about installing another distro, or two more, to be precise.
But you don't have to worry about the initrd img file missing, apparently Slackware has everything it needs to boot built into the kernel. You could try adding the following to your Red Hat grub.conf, although I'm certainly not sure about this. It really depends if you have Slackware on a single partition or more, I'm assuming it's on one.
title Slackware 10.1
root (hd[insert the correct one here])
kernel /boot/vmlinuz ro root=/dev/hdaX
Of course, replace X with the correct number. Maybe someone else who knows better should check that out before you try it, although I doubt it's going to fry your hard drive.
Here are the new entries of "grub.conf" of redhat 9
Code:
title Red Hat Linux 9 (2.4.20-8)
root (hd0,8)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20-8.img
title Slackware 10.1
root (hd0,6)
kernel /boot/vmlinuz-ide-2.4.29 ro root=/dev/hda7
title Windows XP
rootnoverify (hd0,0)
chainloader +1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.