SlackwareThis 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.
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.
I installed Slackware 12.2 to my third partition but told it not to install LILO as I prefer to use Grub for everything and there was no Grub option. I therefore now want to hook up Grub manually, but on checking the contents of Slackware's /boot directory, I find there are a LARGE number of kernels/images/whatnot in there and I don't know which to tell Grub to point to.
Can some kind soul therefore post the Slackware section of their Grub menu.lst file?
Many thanks,
CC.
If you look carefully in /boot
you'll see a symbolic link vmlinuz
that's the current kernel used
so in grub you should point to /boot/vmlinuz
so if slackware is on your 3rd partition
(I'll assume you have a sata or scsi disk, otherwise
replace sda by hda)
you entry in /boot/grub/menu.lst could be something like
title slackware (whatever you want for the title)
root (hd0,2)
kernel /boot/vmlinuz root=/dev/sda3 ro vga=791
title Linux on (/dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 ro vga=normal
for the (hd0,0) it must be hd never sd, grub uses hd for everything. The first number is the HDD starting at 0 as the first, and the second number is the partition starting at 0 as the first. So if you did (hd1,5) you would be booting HDD 2 (sdb/hdb) partition 6 (sdb6/hdb6).
title Linux on (/dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 ro vga=normal
for the (hd0,0) it must be hd never sd, grub uses hd for everything. The first number is the HDD starting at 0 as the first, and the second number is the partition starting at 0 as the first. So if you did (hd1,5) you would be booting HDD 2 (sdb/hdb) partition 6 (sdb6/hdb6).
Okay, thanks guys. It's working fine now. My own guess was pretty close, but no cigar! It's got to dead right after all.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.