Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
I've been using mandrake 9.1 for a few months now, and decided to try slackware too. Problem is, they don't seem to like sharing the same hard drive. I re-installed mandrake and put the boot loader into the first section of the drive, and then installed slackware and put the boot loader in the root partition (hda7), but I can't choose which distro I want to run. Mandrake boots when I restart the computer, but it doesn't have the graphical interface any more, just a logon prompt . I can get into slackware by booting from the cd, but I'd like lilo to give me a choice of distros. Is that possible? Thanks!
I was in the same position as you a few months ago and in my experience it is not possible to boot two different linux distros with lilo. What you need to do is boot into Mandrake, open the mandrake control centre and change the bootloader to grub. Agree to whatever options it offers you and then when it's all done open /boot/grub/menu.lst in a text editor (kate or gedit) and add an entry something like this
Code:
title Slack
root (hd0,8)
kernel /boot/vmlinuz root=/dev/hda9 vga=788
see the way I've got slack on hda9 but grub sees it as (hd0,8)? If it was on hdb4 grub would see that as (hd1,3), always 1 less than you're used to counting. You have to specify root=/wherever it's mounted so the kernel knows where to boot.
I triple boot Mandrake 9.1, Windows XP and Slack 9.1. I use the Mandrake /etc/lilo.conf and have no /etc/lilo.conf in Slackware. When the computer boots I get a graphical login allowing me to choose XP, MDK, Slack ,floppy etc. Slack is the default. Here is my Mandrake /etc/lilo.conf:
I had mandrake installed first so it already had the working lilo.conf, which I altered to accommodate Slack. Presumably your partition numbers may be different, but hopefully this will help you.
I have my Slackware installation mounted in Mandrake at /mnt/sk and my Mandrake mounted in Slack at /mnt/mdk (each noted in the respective /etc/fstab), which enables me to easily access each from the other, and to do this multi-boot business. Beware, however, I do not really know what I am doing - this was a mixture of research, logical deduction and trial and error. Anyway, it works perfectly for me. Good luck
PS - most important that you have no bootloader for Slack.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.