How can I support other distros in LILO with its Kernel ?
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.
Yes I have one now and I use it until now, but I'll format it again to test another distro on it.
My lilo.conf is generated by Slackware setup tools, I keep quotation marks in file for feature changes and for learning.
Why have an entry in lilo.conf for /dev/hda2 when there's nothing in it? And if you have a distro installed there, what is it? Why have it indicating the Slackware kernel on another partition? Weird ideas!
Why have an entry in lilo.conf for /dev/hda2 when there's nothing in it? And if you have a distro installed there, what is it? Why have it indicating the Slackware kernel on another partition? Weird ideas!
Weird indeed. I don't understand why he adds unnecessary characters, entries into a working lilo.conf.
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
Quote:
Originally Posted by alMubarmij
Unfortunately, LILO accepted it, but when I boot it failed and returned to LILO menu, and when I pressed it again it booted with Slackware menu also !
I assume four conditions:
1. Your Slackware's LILO is installed on /dev/hda.
2. Your other Linux LILO is installed on /dev/hda2.
3. You used other = /dev/hda2 section in Slackware's lilo.conf.
4. You configured and installed properly other Linux lilo.conf.
If your Slackware's LILO menu switches you back to Slackware's LILO menu there are two possibilities:
1. You used in Slackware command such as lilo -b /dev/hda2 and in result on /dev/hda2 is installed Slackware's LILO instead of other Linux LILO.
2. Your other Linux lilo.conf is configured improperly.
Now you have two possibilities:
1. Run other Linux using Slackware's CD-ROM or chroot to other Linux, then check if in other Linux lilo.conf is entry boot = /dev/hda2, next run in other Linux simple lilo command, and finally come back to Slackware and run lilo command once again.
2. If it will fail publish here your other Linux lilo.conf.
I suggest you read it. The examples may look different on the top but the stanzas for booting the kernels were no different back then when it came to telling lilo where to look for root file systems and kernels
This is not rocket science but you have to understand how to address other kernels and root directories. I just did it again yesterday, I let the slack installer write the lilo.conf and after booting into the new install I added another stanza to the lilo.conf so I could boot another install that was already on the box. I have edited out everything that is unnecessary to this conversation and pasted it in below.
Note that the installation was on /dev/hda10 so lilo was written and run from the root directory on /dev/hda10. That means when I was running the slackware install on /dev/hda10 I had to address the kernel image on the second install with a full address like this: image = /mnt/hda2/boot/vmlinuz and make sure that root was correct like this: root = /dev/hda
Personally I have never used "other = " for a linux install in a lilo.conf although it seems to be the way when dual booting at least with windows.
Once again I suggest you read my web page if not mine then the other ones you listed... and perhaps remove anything that is unnecesary from your lilo.conf to avoid confusion for yourself as well as anyone on this thread trying to help you.
Last edited by justwantin; 02-17-2009 at 02:01 PM.
Reason: tyops
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
I use two machines with two system partitions on each of them plus one partition for data and one partition for swap. On the first machine I installed twice Slackware 12.2 (sometimes I use the other partition for some other Linuces, for example Ubuntu, openSUSE, or Fedora). On the second machine I installed Windows XP and Slackware 12.2.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.