I have a really old hard drive with DOS and Linux partitions with LILO as the boot loader. I want a clone of this hard drive that works exactly like the original.
I made a clone using Knoppix and dd_rescue. When I plug in the newly cloned drive, the LILO boot loader stops at "LI" meaning LILO failed at that point.
Is this because I need to actually run the LILO command on the LILO partition on the new hard drive before it will work? If so, how do I do that from a live CD?
Update:
Booted from Knoppix live CD:
I don't know what "open /dev/hda: Device not configured" is telling me.
grub
but you can just uselilo
instead. The main idea is setting up achroot
environment. – terdon Oct 03 '13 at 20:13dev/sdX
and lili.conf is still pointing to/dev/hda
. If you boot a live cd and runlilo
from achroot
environment as I describe in my linked answer, it should work. – terdon Oct 03 '13 at 21:12sudo fdisk -l
, the exact commands you used to make thechroot
environment and the contents of yourlilo.conf
. – terdon Oct 03 '13 at 21:30