Slackware This Forum is for the discussion of Slackware Linux.
|
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.
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.
|
 |
05-23-2006, 04:57 AM
|
#1
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
|
boot loader (grub - slackware)
Hello,
I have XP/fedora core 5 /slackware
I installed slackware 10.2 but decieded to not to install
lilo. Now I need to edit fedora's grub.conf to include slackware.
Something's not working
My grub.conf
default=0
timeout=5
splash blablablablabal
hiddenmenu
title Fedora
root (hd0,2)
kernel /boot/vmllinuz-2........ ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2....img
title windows
rootnoverify (hd0,0)
chainloader +1
title slackware
rootnoverify (hd0,5)
kernel /boot/vmlinuz-ide-2.4.31 ro root=LABEL=/1 rhgb quiet
initrd ?????????????????????????????
I edited the slackware entry but something is wrong.
I don't know if the kernel line is correct, and have
no idea what to put in the initrd line.
the files in my /boot directory:
config -> config-ide-2.4.31
config-ide-2.4.31
diag1.img
System.map -> System.map-ide-2.4.31
vmlinuz -> vmlinuz-ide-2.4.31
vmlinuz-ide-2.4.31
So the grub loader works ok for xp and fedora, I can't boot slackware, obviously because of that entry in grub.conf
When I boot into fedora I can mount slackware partition and access the data, so everything seems to be ok with slackware itself.
thanks
|
|
|
05-23-2006, 05:41 AM
|
#2
|
Member
Registered: Dec 2005
Location: Brasov, Romania
Distribution: Slackware, Bluewhite64
Posts: 49
Rep:
|
Hi. I think the correct lines would be something like:
title Slackware
root (hd0,5)
kernel /boot/vmlinuz-ide-2.4.31 root=/dev/hda6 ro
You should not need initrd, unless you use filesystems like reiserfs, xfs..
The "/dev/hda6" which I wrote above is just a guess of mine from (hd0,5). You should replace that with your apropiate entry  . This configuration works, at least for me  .
Last edited by bit128_linux; 05-23-2006 at 05:50 AM.
|
|
|
05-23-2006, 06:32 AM
|
#3
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Original Poster
|
thanks,
when i come back from work, I wil try it
|
|
|
05-24-2006, 07:52 AM
|
#4
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Original Poster
|
thanks, it works fine
|
|
|
06-11-2006, 03:34 AM
|
#5
|
LQ Newbie
Registered: Jan 2006
Location: Long Beach
Distribution: Fedora Core 3, Ubuntu, Hopefully Slack soon
Posts: 2
Rep:
|
And the search feature works again! Thanks bit128! I haven't been able to boot into my slackware partition for months! I was also trying to needlessly pass it an initrd file and an init= line on the kernal line and it panicked every time. It wasn't a particularly knawing problem as I dual boot with Fedora so I hadn't really tried to fix it until tonight. And now it works! Thanks!
|
|
|
06-11-2006, 05:17 AM
|
#6
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,340
|
Folks, you would do well to do some reading and seek to understand the difference in grub command lines.
Particularly if you intend to stray from Fedora/Redhat.
|
|
|
06-11-2006, 05:45 AM
|
#7
|
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526
Rep:
|
Second syg00ś comment...
Learning to properly edit the grub.conf file opens whole new worlds.
Bob
|
|
|
All times are GMT -5. The time now is 04:48 AM.
|
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
|
|