Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
So, I already had slackware installed on one parition (/dev/hdb2) of my hard drive and windows on the other (/dev/hdb1) and I had set up lilo to dual boot nicely. Now, I've installed gentoo on the partition that used to contain windows, and I'm not sure what I should put in the gentoo section of /etc/lilo.conf (residing on my slack partition).
Help much appreciated!
L.
first info: where is lilo installed? i suppose that you are running lilo from slack, so what you need to do is the following:
1. mount your gentoo system somewhere : mount /dev/hdb1 /gentoo - add the partition info to fstab in your slackware system.
2. find where is gentoo kernel: 99% /boot
3. add that to lilo.conf from SLACKWARE in your gentoo section:
Code:
root=/gentoo/boot/kernel-blah-blah
you need to fill with the correct nameof your kernel file....
you don't need to mount. the important part is adding the correct entry to your fstab file.
mountinng is just a way of checking if slack can "see" your gentoo partition.
Originally posted by enemorales Sorry, but I want to know: Don't you need to mount? Will lilo be happy if it cannot "see" the gentoo kernel when run?
hi there,
you don't mount manually, i mean. you add to fstab and make it mount at boot time.
only then you will be able to run direct from lilo the gentoo kernel.
Actually Slackie that's backwards. Lilo just needs to be able to see all the kernels you'd like to be able to boot when you run lilo. I assume what people were saying before, tho I've never tried it, is that if you refence a partition lilo can't see when it's run, it'll try to mount it itself, which is why it needs to be in fstab. I've mounted partitions by hand without any trouble in the past, except that it makes your lilo.conf a little confusing to read at times.
With respect to grub, it does have some nice features, but it left me severely stranded when I deleted the partition with grub.conf on it. Lilo would still have let me boot all the other partitions. And it is possible to make lilo look just as pretty as grub.
With respect to grub, it does have some nice features, but it left me severely stranded when I deleted the partition with grub.conf on it.
How come? You should still have been able to boot from Grub's command line. .
But it's more the fact that grub lives on /boot that makes me like it for a multi-boot - it means I can change it no matter what distro I happen to ahve booted into.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.