lilo.conf for boot from hda and sda?
Hi,
It would be nice if someone could help me on this:
I have suse-6.3 om my hda and debian-2.2 on my sda. My bios supports
booting from either one, by changing boot order. However, it would be
very convenient to boot the other Linux version without changing the
bios settings!
Curreent status is:
- Booting debian from hda have been working as long as I had only one target
at the sda disk (slink, and nor pormpt etc). Now the boot hangs at LI!!
- Booting suse from sda cannot be tried due to errors in finding a
valid boot image, see below.
Anyone who have gone through this before? The suse 6.3 installation
did not cover this case. Also reading the lilo and lilo.conf man-pages
did not give sufficient info to resolve this issu (at least not for me).
On hda/suse / is mounted on hda6 and /boot on hda1.
On sda/debian / is mounted on sda1.
For lilo.conf files and info see below.
hda/suse63:
++++++++++++++++++++++++++++++++++++++++++++++++++
The lilo.conf for hda is shown below:
boot = /dev/hda
default = suse63
prompt
timeout=50
read-only
image = /boot/vmlinuz
root = /dev/hda6
label = suse63
other = /dev/sda1
table = /dev/sda
loader = /boot/chain.b
label = debian
lilo -v:
LILO version 21, Copyright 1992-1998 Werner Almesberger
Reading boot sector from /dev/hda6
Merging with /boot/boot.b
Boot image: /vmlinuz
added suse63 *
added debian
sda/debian:
++++++++++++++++++++++++++++++++++++++++++++++++++
The lilo.conf for sda is shown below:
boot=/dev/sda1
install=/boot/boot.b
map=/boot/map
vga=normal
delay=20
disk=/dev/sda
bios = 0x80
disk=/dev/hda
bios = 0x81
prompt
default=potato
timeout=50
image=/vmlinuz
root=/dev/sda1
label=potato
read-only
#image=/vmlinuz.old
image=/boot/vmlinuz-2.0.36
label=slink
read-only
# This is not accepted by lilo:
other = /dev/hda6
table = /dev/hda
loader = /boot/chain.b
label = suse
read-only
lilo -v:
LILO version 21, Copyright 1992-1998 Werner Almesberger
Reading boot sector from /dev/sda1
Merging with /boot/boot.b
Boot image: /vmlinuz
Added potato *
Boot image: /boot/vmlinuz-2.0.36
Added slink
Boot other: /dev/hda6, on /dev/hda, loader /boot/chain.b
First sector of /dev/hda6 doesn't have a valid boot signature
svante.signell@telia.com
Reply to: