hello,
i have one hard drive with linux & windows installed on it
and another drive with a fresh installation of openbsd.
on the first hard drive (which linux recognize as /dev/hda) i've got lilo to handle the booting.
the content of lilo.conf is:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
vga = normal
# End LILO global section
# DOS bootable partition config begins
other = /dev/hda1
label = DOS
table = /dev/hda
# DOS bootable partition config ends
# Linux bootable partition config begins
image = /vmlinuz
root = /dev/hda3
label = Linux
read-only
# Linux bootable partition config ends
when i add:
Code:
# Linux bootable partition config ends
other = /dev/hdb1
label = OpenBSD
table = /dev/hdb
and try to update the mbr i get this error:
Code:
root@singularity:/home/socket#: lilo
Added DOS *
Added Linux
Fatal: open /dev/hdb1: No such device or address
when i set other=/dev/hdb i get this error:
Code:
root@singularity:/home/socket#: lilo
Added DOS *
Added Linux
Fatal: First sector of /dev/hdb doesn't have a valid boot signature
any idea what am i doing wrong ?
here's an output of `fdisk -l` from the linux
Code:
root@singularity:/home/socket#: fdisk -l
Disk /dev/hda: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1795 14418306 c W95 FAT32 (LBA)
/dev/hda2 1796 1826 249007+ 82 Linux swap
/dev/hda3 1827 2434 4883760 83 Linux
Disk /dev/hdb: 40.0 GB, 40020664320 bytes
16 heads, 63 sectors/track, 77545 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
16 partitions:
# start end size fstype [fsize bsize cpg]
a: 1 19765 19765 4.2BSD 2048 16384 328
b: 19766 77545 57780 swap
c: 1 77545 77545 unused 0 0