Re: lilo and moving IDE drives for dual booting?
Michael A. Miller wrote:
> I have a Debian (testing) machine with a single hard drive that
> is the master on the IDE bus. I've chosen to install win98 so
> that I can dual boot. I've installed Win98 on a second hard
> drive that I installed as the IDE master after unplugging the
> original drive. Now what I'd like to do is to put the original
> debian drive in as the IDE slave and install a boot block so that
> I can dual boot between Debian and Win98. As it stands, I can
> boot Debian or win98 by jumper'ing the appropriate drive to the
> IDE master. I'd rather be able to boot either one by selecting
> at the boot prompt.
>
> My current arrangement is hda = Debian with lilo/mbr and hdb =
> Win98. I think that I can dual boot if I can arrange it so that
> hda = Win98 with lilo/mbr and hdb = Debian.
>
I use the following to boot debian from hda and windows from hdb:
/etc/lilo.conf
lba32
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=200
default=2.4.17
image=/boot/vmlinuz-2.4.17c
label=2.4.17
root=/dev/hda7
read-only
other=/dev/hdb1
label=win
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80
table=/dev/hdb
--
David Raeker-Jordan
mailto:rkrjrdn@epix.net
Harrisburg, PA, USA
Reply to: