Title: question about bootable flash

I recently started a brand new embedded linux project, and I'm stuck on getting the compact flash to boot.

Basically we're using a single board computer (jumptec etx-mgr) and it has a compact flash slot wired to the master of the secondary IDE port.  the BIOS lets you choose which IDE devices boot first. 

I temporarily for development purposes hooked up an IDE hard disk to this system and managed to get redhat 7.1 installed on it.  I want to make the flash bootable, so I can boot linux of the flash and remove the hard drive.  I use LEM which is a linux embedded distribution and created all the required directories on the flash disk partition.

I managed to trash the hard drive by using Lilo, I suppose I'm using it incorrectly but I don't really see how....lilo is supposed to copy the lilo boot loader to the drive I specify in lilo.conf, but all it does is cause lilo to halt regardless if I set the bios to boot from the flash or the hard disk.  The only way to fix it is to use a rescue disk and re run lilo but change the lilo.conf file boot parameter from /dev/hdc to /dev/hda

The primary hard drive is /dev/hda and the primary bootable partition on it is /dev/hda5
and the flash is /dev/hdc and it has one 32 meg partition /dev/hdc1

This is what i used which made neither flash nor nard drive bootable anymore until i used a rescue disk!

boot="/dev/hdc"
map=/boot/map
install=/boot/boot.b
prompt
timeout="50"
message=/boot/message
linear
default=linux

image="/boot/vmlinuz-2.4.2-2"
        label="linux"
        read-only
        root="/dev/hda5"

image="/boot/linuzembed"
        label="EmbedC"
        root="/dev/hdc1"
        read-only




**This electronic mail message has been scanned by Trend Micro's Interscan Viruswall 
and is free of viruses***

Reply via email to