[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Installing lilo on second hard disk



Basically I am trying to copy everything over to my second hard disk and
then set up to make this the boot device.  I know how to change the boot
device in my bios.

The problem seems to be getting lilo on the second hardisk.  What I
tried was this:
Edited the /hd2/etc/lilo.conf and changed the following:
boot=/dev/ide/host0/bus1/target0/lun0/part1
root=/dev/ide/host0/bus1/target0/lun0/part5
install=/hd2/boot/boot.b
map=/hd2/boot/map

Nb. bus1 is the second harddisk

Then I tried running
/sbin/lilo -C /hd2/etc/lilo.conf
but it gives the following errors:
Warning: /dev/ide/host0/bus1/target0/lun0/part1 is not on the first disk
Added Linux *
Skipping /vmlinuz.old
Fatal: creat /boot/boot.1601: Read-only file system

Note that I have my current /boot (first HD) mounted ro in case I stuff
something.

If I try booting from the second hard disk, it does nothing.  It doesn't
even come up with the mbr or lilo on the screen.

So then I tried this:
/sbin/lilo -C /hd2/etc/lilo.conf -i /hd2/boot/boot.b -s /hd2/boot/boot.1601
it gives the following output:
Ignoring entry 'install'
Warning: /dev/ide/host0/bus1/target0/lun0/part1 is not on the first disk
Added Linux *
Skipping /vmlinuz.old

But still it won't boot from the second HD - no mbr or lilo messages
when trying to boot.

How do you install lilo on the second hard disk?

Thanks for any suggestions
Mark.



Reply to: