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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-06-2005, 08:23 AM
|
#1
|
|
Senior Member
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020
Rep:
|
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
Code:
config diag1.img System.map vmlinuz
config-ide-2.4.29 README.initrd System.map-ide-2.4.29 vmlinuz-ide-2.4.29
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.
regards
|
|
|
|
08-06-2005, 08:54 AM
|
#2
|
|
Member
Registered: Mar 2005
Distribution: Suse 9.3, Kubuntu Hoary, Slackware 10.1
Posts: 66
Rep:
|
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. 
|
|
|
|
08-06-2005, 09:21 AM
|
#3
|
|
Senior Member
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020
Original Poster
Rep:
|
it all worked man!!!
Quote:
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 numbe
|
i had slackware on a single partition only.
thanks buddy
|
|
|
|
08-06-2005, 09:23 AM
|
#4
|
|
Senior Member
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020
Original Poster
Rep:
|
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
|
|
|
|
08-06-2005, 09:28 AM
|
#5
|
|
Senior Member
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020
Original Poster
Rep:
|
Can someone tell me what does "root=LABEL=/" signifies here.....???
Quote:
|
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
|
regards
|
|
|
|
08-06-2005, 09:36 AM
|
#6
|
|
Member
Registered: Mar 2005
Distribution: Suse 9.3, Kubuntu Hoary, Slackware 10.1
Posts: 66
Rep:
|
Glad to hear it worked.  I don't know about root=LABEL=/ though.
|
|
|
|
08-06-2005, 09:46 AM
|
#7
|
|
Senior Member
Registered: Jun 2004
Location: Chicago
Distribution: Arch64,Slackware64 -current
Posts: 1,134
Rep:
|
root=LABEL=/ is just the name for your root partition. If you look at /etc/fstab it will tell you that LABEL=/ is mounted on /
Tux,
Last edited by tuxrules; 08-06-2005 at 09:47 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:43 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|