LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 06-12-2005, 05:53 PM   #1
Menestrel
Member
 
Registered: Oct 2003
Location: Bucharest
Distribution: Debian Sarge, Slackware Current, Ubuntu
Posts: 183

Rep: Reputation: 30
Lilo.conf when using Slackware and Debian


I can't seem to figure out what to write in lilo.conf in order to get both Debian and Slackware working

Here is the setup:

/dev/hda1 = /boot (For Slackware)
/dev/hda2 = WindowsXP
/dev/hda3 = / (For Slackware)
/dev/hda4 = Extended
/dev/hda5 = Linux Swap
/dev/hda6 = Data partition (raiserfs)
/dev/hda7 = Data partition (NTFS)
/dev/hda8 = / (For Debian)

My boot manager is lilo.
I consider Slackware my primary operating system.
What should I write in lilo.conf in order to be able to also boot in Debian ?
 
Old 06-12-2005, 08:26 PM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
Well, since you're asking about your lilo.conf file, posting your current lilo.conf file might be of some help don't you think?
 
Old 06-13-2005, 02:08 AM   #3
Menestrel
Member
 
Registered: Oct 2003
Location: Bucharest
Distribution: Debian Sarge, Slackware Current, Ubuntu
Posts: 183

Original Poster
Rep: Reputation: 30
Here is my lilo.conf file


# LILO configuration file
#
# Start LILO global section
#append="hdd=ide-scsi root=/dev/hda3"
#pentru kernel 2.6
append="root=/dev/hda3"
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
timeout = 150
default = Linux2.6.10

image = /boot/vmlinuz-ide-2.4.26
root = /dev/hda3
label = Linux2.4.26
read-only # Non-UMSDOS filesystems should be mounted read-only for checking

image = /boot/vmlinuz-ide-2.6.10
root = /dev/hda3
label = Linux2.6.10
initrd="/boot/initrd"
append="splash=silent"
vga=787
read-only

# pathetic tries to start Debian ....

#image = /boot/vmlinuz-debian
# root = /dev/hda8
# label = Debian
# initrd="/boot/initrd"
# append="splash=silent"
# vga=787
read-only

#other = /dev/hda8
# root = /dev/hda8
# label = Debian
# initrd="/boot/initrd"
# append="splash=silent"
# vga=787
# read-only

# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hda2
label = WindowsXP
table = /dev/hda
# Windows bootable partition config ends
 
Old 06-13-2005, 08:42 PM   #4
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
Ok, that's a start. I'm assuming the Debian lines aren't commented out when you are trying to use this?

When you uncomment them, and then run lilo, do you get any error messages?
 
Old 06-14-2005, 01:50 AM   #5
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 37
In Slackware:

Make a directory "debian" in /mnt

Add this to your (Slackware) lilo.conf:
Code:
image =/mnt/debian/boot/vmlinuz-debian
 root = /dev/hda8
 label = Debian
 initrd="/mnt/debian/boot/initrd"
 append="splash=silent"
 vga=787
read-only
Run "lilo" as root

I've used your examples for image name (vmlinuz-debian) and initrd name (initrd). Make sure theses are the actual names in /mnt/debian/boot
 
Old 06-14-2005, 05:53 PM   #6
Menestrel
Member
 
Registered: Oct 2003
Location: Bucharest
Distribution: Debian Sarge, Slackware Current, Ubuntu
Posts: 183

Original Poster
Rep: Reputation: 30
Thumbs up

Thanks mdg, that did the trick
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 04:15 AM
[debian]lilo.conf hylke Linux - Newbie 14 04-13-2004 12:19 PM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 04:53 PM
lilo.conf help needed on Slackware 9/PII 350. Sulli Linux - Software 4 08-14-2003 10:34 AM
lilo.conf setup in slackware? BmxFace Slackware 6 07-05-2003 01:46 AM


All times are GMT -5. The time now is 09:06 AM.

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