LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-01-2010, 09:43 PM   #1
wufo
Member
 
Registered: Oct 2004
Posts: 160

Rep: Reputation: 15
using lilo to boot Slackware and puppy linux


I have a question that is really probably a lilo question, but here goes.
Can you use lilo to boot different linuxes on separate hard drives. Like this.

/dev/hda1 - Slackware 13 with lilo in MBR
/dev/hdb1 - Puppy linux

Here is my lilo image area:

# Slackware 13 on hda1
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only
# Puppy 4.2.1
image = /boot/vmlinuz
root = /dev/hdb1
label = Puppy
read-only

Boots Slackware ok, but when booting puppy it screws up and seems to be printing the boot messages for the Slackware kernel on hda1.

Now, how do I tell lilo to find the puppy kernel?

wufo
 
Old 01-01-2010, 10:27 PM   #2
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Did you try:
Quote:
other=/dev/hdb1
label=Puppy
table=/dev/hdb
 
Old 01-01-2010, 10:28 PM   #3
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Make sure you re-run lilo.
 
Old 01-01-2010, 11:22 PM   #4
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
This lilo.conf is not right.
Quote:
# Puppy 4.2.1
image = /boot/vmlinuz
root = /dev/hdb1
label = Puppy
read-only
This will be pointing to the Slackware kernel which is under /boot when you run lilo. This is how I've always setup lilo to multi boot.
First I mount my other linux partition somewhere visible to Slackware when I run lilo. Lets say you mount your Puppy partition to a directory you created /media/Puppy - i.e. in Slackware ..
Code:
su -c "mkdir /media/Puppy"
su -c "mount /dev/hdb1 /media/Puppy"
Then change lilo.conf like so :
Code:
# Puppy 4.2.1
image = /media/Puppy/boot/vmlinuz
root = /dev/hdb1
label = Puppy
read-only
Rerun lilo from Slackware and this should work. There are probably other ways of doing this but this always works for me.
 
Old 01-02-2010, 05:22 PM   #5
wufo
Member
 
Registered: Oct 2004
Posts: 160

Original Poster
Rep: Reputation: 15
Yep , I figured out the

image = /boot/vmlinuz
should be
image = /mnt/hdb1/boot/vmlinuz # the puppy partition slackware mounted

Now it finds and loads the puppy linux kernel, but the the screen blanks and the "caps lock" and "scoll lock" leds on the keyboard start flashing and hangs there.

Checked that puppy partion's /etc/fstab has "/", i.e. root directory, assigned to /dev/sdb1.

So I am stumped again.

Would have left puppy as sda and booted with its grub, but grub complained about the Slackware's ext4 file system.

wufo
 
  


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
how to dual boot windows linux (Slackware 12.1) with lilo richikiki Slackware 2 11-27-2008 01:16 AM
lilo to boot puppy - kernel panic emamarro Linux - Newbie 1 10-18-2008 01:06 PM
Problems in lilo at boot in 2.6.17.1 kernel on Slackware linux 11.0 User Name. Linux - Kernel 3 11-18-2006 10:08 PM
Slackware "freezes" (when BOOTING with LILO) ; Dual-Boot WinXP/Linux BlueSpirit Slackware 39 07-11-2006 06:18 PM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 04:50 PM


All times are GMT -5. The time now is 01:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration