How can I use LILO to boot Solaris/x86 on the primary slave ATAPI?

How can I use LILO to boot Solaris/x86 on the primary slave ATAPI?


Basically, the Linux LILO boot loader is used to fool Solaris into
thinking the slave is the master and vice versa
by remapping the BIOS drive numbers
(with the map-drive and to lines)
Here's an example entry in a /etc/lilo.conf file:


# /etc/lilo.conf
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50

other=/dev/hdb1
label=Solaris
table=/dev/hdb
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80


(use /dev/hdc instead of /dev/hdb if your second drive is the secondary
ATAPI master instead of the primary ATAPI slave drive)
For more information, see the Linux HOWTOs and LILO User Guide.


[Thanks to David Uhring and Loran Marjanski]





Home
FAQ