Boot a PC104 from Sandisk Compact Flash

Michael Marriott Michael.Marriott at BlackSunTechnologies.com
Wed Sep 4 05:21:01 CEST 2002


I am trying to get my PC104 to boot from 256 SanDisk Compact Flash Card.
I have a 7GB HDD connected loaded with Redhat 7.2.
I can boot from the HDD and CDROM.
The HDD is /dev/hd0
the CF is /dev/hd1
I tried to build a Linux file system on the CF by mounting it at /mnt/CF and
transferring all the appropriate files and directories. I guesse that's
OK...
I am using GRUB to choose between HDD or CF boot.
I copied /boot/grub/grub.conf to /mnt/cf/boot/grub and edited appropriately

Currently the PC104 boots from flash (/dev/hdc1) (but the GRUB choices only
come up if the HDD is connected). The crash comes when init tries to mount
/hdc1.

I don't know why the system mounts / on /dev/hda4 when this is not what I
setup in /etc/fstab

My current thinking is that I cannot simply copy initrd to my new "root file
system" because this has information in it about where to find the root file
system. Is this correct?
Can anyone shed some light on what I am doing wrong??

Michael Marriott




More information about the coreboot mailing list