Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-27-2006, 09:14 AM   #1
Registered: Aug 2004
Posts: 433

Rep: Reputation: 30
Dual booting two distros with LILO


I recently installed two slackware based distributions into my computer, first distro into hda3 and second distro to hda2. While installing the second one to hda2, I installed LILO to MBR, overwriting the other distro's LILO.

How can I boot to the one that I've installed to hda3? Sorry that I can't explain this in better way.
Old 05-27-2006, 09:41 AM   #2
Registered: May 2006
Distribution: Slackware
Posts: 46

Rep: Reputation: 15
Edit lilo.conf on the /dev/hda2 partition.

And add the other kernel.


other = /dev/hda3
label = slack-hda3

This is very standard, you can add a lot of others options, but those are optional.
where slack-hda3 is the name that you want to have.
Old 05-27-2006, 10:12 AM   #3
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
You will need to tell lilo where the kernel image is, the easiest way I have found to do this is to mount the other partition, have an entry like this in lilo.conf and re-run lilo with the partition still mounted.

eg from my lilo.conf

image = /mnt/old/boot/vmlinuz
  root = /dev/hdb5
  label = slackold
change the path to the kernel image and root partition accordingly.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual booting two different distros of linux? scuffell Linux - Distributions 15 03-14-2005 10:25 PM
dual boot two linux distros on one hd with lilo darkleaf Linux - Software 11 02-24-2005 11:52 AM
Dual booting 2 Linux Distros? bubble Linux - Newbie 2 11-30-2004 12:54 PM
Dual booting several Linux distros BruceC Linux - Newbie 4 10-29-2004 07:37 PM
dual booting distros evil_lafta Slackware 1 02-15-2003 10:40 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration