> I thought perhaps I should just do lilo -b /dev/hdb -r /mnt but I think
> that -b is analogous to the boot keyword in lilo.conf. Or will this just
> work automagically ? i.e. boot = /dev/hda tells lilo what numbers to poke
> where, and it figures out where the disk is from the -r ?
That won't work like you want. You'll end up with a boot loader
on the backup disk that contains the 'physical' location of
the /boot/map file on the main disk. That won't necessarily
be the same as the backup disk.
I can't think of a right way to do his with LILO. I've got
a similar seup on my home machine (rsync to a backup disk
every night), but I'll be pulling out the RH install CDs to
get LILO sorted if I have to do a disk swap.
GRUB should be able to handle this no problem, since it
doesn't record sector numbers like LILO does. Not much help
for you though...
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!