Okay, so I can successfully install linux on a flash card and upon booting everything is flawless. BUT, if I try to repeat the process (which I will describe below) then when I reboot lilo will emit the infamous L 01 01 01 01 01 01 ... error.
I have tried everything I could possibly think of but for whatever reason, I require a brand spankin' new flash card for it to work. Once I've performed the first "burn", I can't repeat it.
Here are the details for building the flash card (target) on a host machine:64MB flash card plugged into primary ide (/dev/hda)
- fdisk /dev/hda in the fdisk program, all existing partitions are deleted and a new primary partition is created at partition 1. the default start cylinder (1) is used. the default end cylinder (in my case, 499) is used. the partition is made bootable. the results are written to the flash.
- ext2 filesystem is created on the partition
- mount /dev/hda1 /mnt
- files are copied over.
- remove the flash card and install in target system.
- boot target machine. all is well.
repeat this process and then the aforementioned error is emitted.
what is going on? I have tried numerous things, like fussing with the lilo.conf file. i've tried dd if=/dev/zero of=/dev/hda1 bs=512 count=1