Note: it was hard for me to choose the best LQ forum, due to fact this question involves at least 2 different forums, but here's a shot.
I am setting up an embedded system (EBX form factor, Advantech PCM-9562D, a nice ATOM based 5.75"x8" SBC) to run Ubuntu 10.04LTS. The PCM-9562D is BIOS enabled to boot from a CF card.
I have now:
-- I'm initially working on a PC running WinXP Pro running Ubuntu 10.04LTS, as a VMWare Player guest OS instance. My first goal is simply to put an existing Ubuntu ISO directly on this CF card, then put this CF card in the PCM-9562D, and try to boot from that.. but I'm not certain what the best sequence of steps is to do that.
-- I started with a 16Gb blank CF card (shipped with FAT32) mounted via a SanDisk USB adaptor, which mounts fine under Ubuntu.
-- Note: On the host PC, I currently don't have my Ubuntu VM guest on the network, but after an initial try and failure using a bridged network connection via my inside-the-office 10.0.0.x LAN, I've put that off as a separate issue for now.
-- I have a Ubuntu 10.04LTS ISO file available on a filesystem visible from my Ubuntu VMware guest session.
-- Within Ubuntu, I used the Disk Utility to delete the CF card's shipped FAT32, and (a) created a 2Gb swap partition, then (b) created a 1 Gb boot partition, and (c) created a ext3 (root)partition using the rest of the 13Gb. I do suspect I may be doing this in the wrong order. I'll be a bit spoiled by working on earlier embedded systems that already came with Linux on the boot media
--I now have the CF card mounted and visible under the PC's VMware Ubuntu session, mounted as /media/root like this:
Is the best way to copy the Ubuntu ISO I have (on an Ubuntu mounted filesystem /wrk/, to use dd something like this:
dd ibs=10240 obs=10240 if=/wrk/Ubuntu-10.04.1-desktop-i386.iso of=/dev/sdb3
My plan would then be to unmount CF card from the PC's Ubuntu session, mount it in the embedded PCM-9562D single board computers CF slot, reboot the SBC into the Ubuntu install mode, and then try to re-configure it to install on the (same) CF card..
Any tips on if this is right or if there is a better way would be welcome. TIA.