LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-21-2006, 08:33 PM   #1
drkmessiah
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Rep: Reputation: 0
Adding Sabayon to Slackware's lilo config file.


I have my computer's hard drives set up in the following manner.


hda = cdrom drive.
hdb = windowsxp
sda = lilo installed by slackware 11 in the mbr
sda1 = / slackware
sda2 = swap
sda3 = /home
sdb = grub installed by sabayon in sdb's MBR
sdb1 = / sabayon 3.1 root directory
sbd2 = swap
sdb3 = /home

I have the computer's bios setup so that it boots to sda. What should I put in slackwares lilo.conf file so that it will boot sabayon which uses Grub to boot.
 
Old 11-22-2006, 01:38 AM   #2
truthfatal
Member
 
Registered: Mar 2005
Location: Winnipeg, MB
Distribution: Raspbian, Debian, Slackware, OS X
Posts: 443
Blog Entries: 9

Rep: Reputation: 32
Why not just use lilo to boot Sabayon? Though I suppose you could use lilo to chainload grub and then have grub load Sabayon. It just seems to me like extra work.


This should load sabayon if you're not using an initrd. if you do need an initrd, if you need an initrd be sure to use the /boot/README.initrd in the slack boot dir.
Code:
image = /boot/vmlinuz
  root = /dev/sdb1
  label = Sabayon
  read-only
that should search /dev/sdb1 for /boot/vmlinuz and boot it.
 
Old 11-22-2006, 04:24 PM   #3
drkmessiah
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Original Poster
Rep: Reputation: 0
That's the way my lilo config looks currently.

# linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sdb1
label=sabayon
read-only # Non-UMDOS filesystems should be mounted read only for checking
# Linux bootable partition config ends


I'm just wondering if, since I'm using lilo to boot sabayon, I need to make and initrd file for it. and if so can I use slackware's mkinitrd program.

I have noticed something else as well. Since setting up slackwares initrd file windows no longer boots. The windows section of my lilo looks like this.



# Windows bootable partition config begins
other = /dev/hdb1
label = winxp
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/hdb
# windows botable partiotion config ends.

I've read quite a few sites and everything seems to be as it should. I don't know why windows is no longer booting.
 
Old 11-23-2006, 10:13 AM   #4
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Rep: Reputation: 75
My experience with lilo is that lilo.config must have a path which works when you actually reinstall lilo.

In other words. If you are reinstalling lilo from your slackware installation

image = /boot/vmlinuz
root = /dev/sdb1
label=sabayon

will not work because /boot/vmlinuz is your slackware kernel not your sabayon kernel.

You need something like this. Fist mouth the sabayon boot partition

eg

mount /dev/sdb1 /mnt/sabayon

Then lilo.config should have

image = /mnt/sabayon/boot/vmlinuz
root = /dev/sdb1
label=sabayon
 
  


Reply



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
Error output with LILO while updating my lilo.config adilturbo Linux - General 4 10-17-2006 04:10 PM
Where is My LILO config file kept? Stevetgn Linux - Newbie 2 07-21-2004 11:32 AM
where is lilo config file? versaulis Linux - Software 4 12-04-2003 02:57 PM
LILO / lilo.conf - can't change the config clearh20 Linux - Newbie 14 06-05-2003 09:20 PM
Lan Config file / internet config file Raven_X_Neo Linux - Networking 1 10-30-2002 01:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:01 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
Open Source Consulting | Domain Registration