Linux on more than one PC104 won't boot



Help!

I have a port of Debian Sarge running from compact flash on a PC104
board. Everything is great. But now my boss wants to support another
PC104 board that maps the compact flash to a different ide interface.
So first board the CF is on IDE0,1(/dev/hdb), the second board is
mapped to IDE1,0 (/dev/hdc).

How can I use the same distribution (same CF card) on both boards
without editing the boot=/dev/hdb1 and fstab entry's. There must be a
way to detect what drive is the first in the system (hdb or hdc) and
tell grub or fstab to use that instead.

If I could solve the fstab problem at least I could edit the boot
parameter in grub and be able to boot the CF card on a different PC
without first modifying the card.

thanks for your help.

David Tucker

.



Relevant Pages

  • Re: How to load a CEPC image to a Compact Flash
    ... Dave Heil wrote: ... >> from a boot floppy, which calls 'loadcepc' to get the OS image over ... >> What is the procedure for loading a CEPC image to a Compact Flash ... >> card so the PC104 can boot from this flash card? ...
    (microsoft.public.windowsce.platbuilder)
  • Formatting difficulties
    ... I have come across a compact flash which seems unable to boot XPe. ... format C: with NTFS, quick ... This leads me to come to the conclusion that this card either cannot ...
    (microsoft.public.windowsxp.embedded)
  • Re: embedded motherboard boot from flash
    ... > I can't get it to boot from Compact Flash. ... > The Compact Flash adaptor bears the label CFDISK.1C IDE/CompactFlash Adaptor. ... > If the CF card is on the primary IDE channel, then it gets further, but then says "PRESS ...
    (comp.os.linux.embedded)
  • Re: CF card detection in WinCE 5.0
    ... I've been trying to use a Compact Flash for some time, ... operation (no ATAPI driver, ... It's an ATA Flash card? ... It's connected to the PCMCIA controller? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Unable to boot from a XPe NTFS CF
    ... I'm using a Compact Flash. ... you will need to format the card under Windows XP pro ... This assumes that the card is ID'd ... the SDI2HD to make sure it was a NTFS partition and active. ...
    (microsoft.public.windowsxp.embedded)