LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-11-2004, 06:21 AM   #1
MasterOfTheWind
Member
 
Registered: Jul 2004
Distribution: Arch, Debian sid, Kubuntu, Slackware 11
Posts: 324

Rep: Reputation: 30
How do I configure LILO for 2 linux partitions?


Hi,
I've got 2 distros installed on two separate partitions on one harddisk + I have a common partition for /home on another harddisk. Here is a list over partitions:

hde:
hde1 - MDK10.0 (/)
hde5 - swap (common for both distros)
hde6 - Slackware10.0 (/)
hde7 - currently empty

hdf:
hdf1 - /home (common for both distros)

Now, how do I configure LILO to boot Slack? Everything is ok with mdk (booting fine etc.), but I just can't get slack to boot. Can anyone please send some kind of general configuration for that?

(yeah, I know, kind of wrong to go from mdk to slack, but I just wanted to give it a try )
 
Old 08-11-2004, 06:39 AM   #2
barisdemiray
Member
 
Registered: Sep 2003
Location: Ankara/Turkey
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
Re: How do I configure LILO for 2 linux partitions?

Quote:
Originally posted by MasterOfTheWind
Hi,
I've got 2 distros installed on two separate partitions on one harddisk + I have a common partition for /home on another harddisk. Here is a list over partitions:

hde:
hde1 - MDK10.0 (/)
hde5 - swap (common for both distros)
hde6 - Slackware10.0 (/)
hde7 - currently empty

hdf:
hdf1 - /home (common for both distros)

Now, how do I configure LILO to boot Slack? Everything is ok with mdk (booting fine etc.), but I just can't get slack to boot. Can anyone please send some kind of general configuration for that?

(yeah, I know, kind of wrong to go from mdk to slack, but I just wanted to give it a try )
Did you add swap and /home partition to your /etc/fstab file at Slackware / partition? Or what does it mean "I just can't get slack to boot"? What happens when you try? Is there any errors? May be you should post your MDK's lilo.conf file thus we could find out whether there is a mistake and narrow down the possibilities.

Last edited by barisdemiray; 08-11-2004 at 06:40 AM.
 
Old 08-11-2004, 07:34 AM   #3
MasterOfTheWind
Member
 
Registered: Jul 2004
Distribution: Arch, Debian sid, Kubuntu, Slackware 11
Posts: 324

Original Poster
Rep: Reputation: 30
Well, I have somehow fixed the problem with booting now, but I had to copy the contents of /boot directory from hde6 (slack'sroot dir) to mdk native /boot, so now slack's vmlinuz (and other files from slack's /boot) are placed in /boot/slack/. Is there any other way to do this?

this is what my /etc/lilo.conf looks like:

# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

boot=/dev/hde
map=/boot/map
default="Mandrake10.0"
keytable=/boot/no-latin1.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
vga=791
disk=/dev/hde bios=0x80
image=/boot/vmlinuz
label="Mandrake10.0"
root=/dev/hde1
initrd=/boot/initrd.img
append="devfs=mount acpi=ht splash=silent"
vga=788
read-only
image=/boot/slack/vmlinuz
label="Slackware10.0"
root=/dev/hde6
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hde1
initrd=/boot/initrd.img
append="devfs=mount splash=silent acpi=ht"
read-only
other=/dev/fd0
label="floppy"
unsafe
image=/boot/vmlinuz
label="failsafe"
root=/dev/hde1
initrd=/boot/initrd.img
append="failsafe splash=silent acpi=ht devfs=nomount"
read-only

But now I get kernel panic when Slackware boots. It says something like couldn't "mount vfs" and before that I get errors about the system not finding /sbin/insmod.old... I'm really confused

NB! by the way, when I installed slack I was told that coreutils couldn't be installed (!). I had to extract the contents of the tarball manually from the dvd to the correct folders on hde6
 
Old 08-11-2004, 07:45 AM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
>> Is there any other way to do this? <<

The other way would be to mount Slack's root partiion to a mount point in Mandrake, set up the correct details in Mandrake's lilo.conf (taking into account the mounted nature of Slack's root partition) then run /sbin/lilo from Mandrake - a quick search here should bring up threads showing that method.
 
Old 08-12-2004, 02:58 PM   #5
MasterOfTheWind
Member
 
Registered: Jul 2004
Distribution: Arch, Debian sid, Kubuntu, Slackware 11
Posts: 324

Original Poster
Rep: Reputation: 30
thanx, i'll try
 
  


Reply


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
Can't configure Lilo to boot multiple Linux partitions SlackwareInAZ Slackware 11 09-10-2005 02:04 PM
lilo - partitions broken ebil Linux - Software 3 11-02-2004 10:04 PM
configure lilo to use two different /boot partitions TheOneAndOnlySM Linux - Software 4 05-23-2004 09:31 PM
Will LILO handle 15 partitions? dufferin Slackware 15 12-01-2003 01:45 PM
Three O/S's, Partitions, and Lilo jbboulder Linux - Newbie 2 11-28-2001 03:05 PM


All times are GMT -5. The time now is 01:56 PM.

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