LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Lilo.conf (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-conf-677576/)

msrpower 10-19-2008 09:46 AM

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.

jerrydr 10-19-2008 09:57 AM

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


msrpower 10-19-2008 11:33 AM

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.


jerrydr 10-19-2008 11:20 PM

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


All times are GMT -5. The time now is 08:52 PM.