Please forgive me if this can be answered by RTFM. That trick
has failed me.
I have been attempting to configure Lilo to boot Linux or DOS.
The usual sort of arrangement. By setting the active boot flags with
fdisk (dos or linux), I can arrange for DOS or Lilo to boot.
Using a stanza like
other = /dev/hda2
table = /dev/hda
label = hda2-lilo
Lilo will boot itself. Not useful, but it shows Lilo can pickup the
boot sector of a partition. After some experimenting and installing
Lilo on any spare partition, I can boot lilo from another copy of
itself in every way I have tried. But I can only boot DOS using a DOS
MBR and active partition.
Can anyone explain? Thanks,
John
--------------------------------------------------------------------------- My various partitions are: /dev/hda with a DOS fdisk /MBR or with a lilo The BIOS reports the disk as: The lilos have been installed with variants of this lilo.conf file: boot = /dev/hda <- varies linux fdisk says: Disk /dev/hda: 64 heads, 63 sectors, 827 cylinders Device Boot Begin Start End Blocks Id System
Further details:
/dev/hda1 Dos partition 100M
/dev/hda2 Linux - with lilo in boot sector
/dev/hda3 swap
/dev/hda4 Linux - with lilo in boot sector
also
/dev/fd0 Lilo
LBA Mode 4, 1707MB
compact
vga = normal # force sane state
root = current # use "current" root
message = /etc/lilo.mess.hda <- varies
map = /boot/map.hda <- varies
prompt
image = /vmlinuz
label = linux
other = /dev/hda
label = hda
other = /dev/hda1
table = /dev/hda
label = hda1-dos
other = /dev/hda2
table = /dev/hda
label = hda2-lilo
other = /dev/hda4
table = /dev/hda
label = hda4-lilo
other = /dev/fd0
label = floppy
prompt:> /sbin/fdisk -l
Units = cylinders of 4032 * 512 bytes
/dev/hda1 1 1 51 102784+ 6 DOS 16-bit >=32M
/dev/hda2 * 52 52 255 411264 83 Linux native
/dev/hda3 256 256 306 102816 82 Linux swap
/dev/hda4 307 307 827 1050336 83 Linux native
The number of cylinders for this disk is set to 1027.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)