CONFIGURE LILO FOR MORE THAN 3 OS IN SALIX

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
ajaykumar.mysore
Posts: 21
Joined: 24. Sep 2009, 06:24

CONFIGURE LILO FOR MORE THAN 3 OS IN SALIX

Post by ajaykumar.mysore »

Hi,
I am currently using Windows and Zenwalk in my system.
And I installed Salix in My system. But I need to configure Lilo such that all the three operating systems keep on working in the boot menu.

So please any one suggest me the solution for this..

Thank you
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: CONFIGURE LILO FOR MORE THAN 3 OS IN SALIX

Post by Akuna »

Hi Ajay,

This is a digest of my answer to you on the mailing list, It will be more accessible here in case others have the same question:
We will be providing a gui tool to facilitate this process soon, but in the meanwhile, you must edit your /etc/lilo.conf file as root,

At the bottom of the file you will find a section that looks something like this:

# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda5
label = Salix
read-only
# Linux bootable partition config ends

Copy it & paste it below then edit & replace with the specifics of your other distro:

# Linux bootable partition config begins
image = /path_to_mounted_other_distro/boot/vmlinuz
root = /dev/partition_holding_other_distro
label = Other_distro_label
read-only
# Linux bootable partition config ends

Save your modification & execute:

lilo -v

Reboot, your other distro should be available now.

PS:
One last thing, sometimes, depending on the distro, an initrd is used for booting as well, so you might first want to double-check the boot directory of your other distro, if that is the case, then you will have to add an extra line of this type in the other distro section of /etc/lilo.conf:

# Linux bootable partition config begins
image = /path_to_mounted_other_distro/boot/vmlinuz
initrd = /path_to_mounted_other_distro/boot/initrd.whatever_the_extension-is
root = /dev/partition_holding_third_distro
label = Other_distro_label
read-only
# Linux bootable partition config ends

PPS:
You obviously have to repeat this operation for every one of your extra distro that do not show up.
And don't forget to execute lilo -v, as root after each modification of /etc/lilo.conf

:)
Image
What really matters is where you are going, not where you come from.
Post Reply