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've recently installed both Ubuntu and Slackware on my comp.
I installed Ubuntu first, and then Slackware hoping Lilo would be able to let me boot into all 3 OS's... Slack, Ubuntu and Windows.
That never happened, and honestly I dont know enough to even try to mess with the Lilo conf chart... I know that if I screw up I can always fix the Windows MBR and just install linux all over again, I dont have a problem with that... but I've done it too many times, and I'd rather find a smart solution instead.
I tried reinstalling Ubuntu again today, and Grub does show all 3 OS's... but I like Lilo better.
I havent logged into Ubuntu yet, since the last time I installed it, and I still dont know if I have access the my Slackware partition, but I can deff not see Ubuntu on Slackware...
For the lilo; first you need to restore lilo.Do that by booting up from the slackware
cd,login,and mount the slackware / partition.Then restore lilo by running command:
lilo If you're not comfortable in virtual console, then do that above and reboot.Lilo should start up with slack;then from there get back on slackware and read man lilo.conf and it will explain how to add the other OS's.MAKE SURE that after modifying the /etc/lilo.conf file you need to run again command lilo again.If you don't lilo won't be using the newly modified lilo.conf settings.
Oh and just mount the ubuntu partitions you need to see and you're good to go.
You need only set the root= line to point to the correct partitions and make sure that the image= part points to the correct kernel. Then run 'lilo' as root.
I can reinstall lilo, but I still cant mount my ubuntu partition... I've tried everything, and it still wont recognize it.
I dont think I can boot from a partition I cant even see...
*Edit* - I meant, I dont think I can add Ubuntu to Lilo if I'm not able to mount that partition on Slackware... is that possible though? - *Edit*
I've considered just sticking with grub, I found an easy way to manage it, change the countdown, default OS, etc etc... but I still want to be able to mount my ubuntu on Slackware...
As I understand if you want to be able to add Ubuntu to you lilo which is set up from Slackware you are going to have to mount your Ubuntu partition somewhere when you are in slackware.
To do this you need to create a mount point as root eg.
Quote:
mkdir /mnt/ubuntu
then, assuming you know which partition ubuntu is on, mount it
Quote:
mount /dev/sda* /mnt/ubuntu
Then you need to edit lilo.conf so that it contains the relative path to your ubuntu vmlinuz, that is /mnt/ubuntu/boot/vmlinuz before running lilo.
Personally I much prefer grub. All you have to do is find menu.lst and edit that.
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
that won't work (unless ubuntu is in primary partition, even still though it will probably not work). What you could try is
cp the ubuntu kernel to your main slack /boot/
and then start that with a proper root=/dev/sdaX which afaik should work
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.