LinuxQuestions.org
Register a domain and help support LQ
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 10-19-2008, 10:46 AM   #1
msrpower
LQ Newbie
 
Registered: Mar 2006
Posts: 26

Rep: Reputation: 15
Lilo.conf


Hi,

I have Slackware installed on /dev/sdb1 and Arch installed on /dev/sdb3.

My lilo.conf is like that:

Code:
other = /dev/sda1
  label = Windows
  table = /dev/sda
# Windows bootable partition config ends

# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sdb1
  label = Slackware
  read-only
# Linux bootable partition config ends

# Linux bootable partition config begins
image = /boot/vmlinuz26
  root = /dev/sdb3
  label = Arch
  read-only
# Linux bootable partition config ends
When I type lilo, it returns the following error message :

Code:
Warning: LBA32 addressing assumed
Warning: The boot sector and map file are on different disks.
Added Windows *
Added Slackware
Fatal: open /boot/vmlinuz26: No such file or directory
But i`m sure thet vmlinuz26 is located at /dev/sdb3/boot
I think it searches for vmlinuz26 in /dev/sdb1...

How must be the correct configuration file for it ?

Thanks in advance.
 
Old 10-19-2008, 10:57 AM   #2
jerrydr
LQ Newbie
 
Registered: Nov 2006
Location: Pahrump, NV
Distribution: SuSE, Slackware
Posts: 15

Rep: Reputation: 0
RE: lilo config across partitions

You need to mount your other Linux partitions and change lilo.conf image lines to reflect the current path. Example:
Code:
image = /media/suse11/boot/vmlinuz-2.6.25.16-0.1-default
    label = openSUSE_11
    append = " resume=/dev/sdc1 splash=silent showopts"
    initrd = /media/suse11/boot/initrd-2.6.25.16-0.1-default
    root = /dev/disk/by-id/scsi-SATA_ST3500320AS_5QM12P5M-part7
    vga = 0x346
 
Old 10-19-2008, 12:33 PM   #3
msrpower
LQ Newbie
 
Registered: Mar 2006
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks, but it still results a warning...

Code:
# Windows bootable partition config begins
other = /dev/sda1
  label = Windows
  table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sdb1
  label = Slackware
  read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /mnt/tmp/boot/vmlinuz26
  root = /dev/sdb3
  label = Arch
  read-only
# Linux bootable partition config ends
Code:
Warning: LBA32 addressing assumed
Warning: The boot sector and map file are on different disks.
Added Windows *
Added Slackware
Added Arch
2 warnings were issued.
 
Old 10-20-2008, 12:20 AM   #4
jerrydr
LQ Newbie
 
Registered: Nov 2006
Location: Pahrump, NV
Distribution: SuSE, Slackware
Posts: 15

Rep: Reputation: 0
lilo eror

I get the same error but it seems to work. I've never searched for info on the map file warning.
 
  


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
Cent OS install on an Optiplex 320... installed lilo... need help with lilo.conf hcervan Linux - Newbie 7 01-18-2008 09:07 AM
Is lilo.conf file format is same for grub.conf? Chundo Linux - Newbie 1 01-30-2006 07:21 PM
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 04:15 AM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 09:22 PM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 04:53 PM


All times are GMT -5. The time now is 06:27 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