View Single Post
  #8   (View Single Post)  
Old 30th November 2013
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default

The simplest method is to insert the Compact Flash card in an USB card reader and use an OpenBSD i386 install CD/disk to install to the CF card. You just have to do inspect the dmesg output to figure out which device name the installer is assigning to the CF card.

An example with an old 512MB CF card:

Code:
umass0 at uhub0 port 5 configuration 1 interface 0 "Genesys Logic USB Storage" rev 2.00/93.21 addr 2
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets, initiator 0
sd0 at scsibus3 targ 1 lun 0: <Generic, STORAGE DEVICE, 9321> SCSI0 0/direct removable
sd0: 488MB, 512 bytes/sector, 1000944 sectors
sd1 at scsibus3 targ 1 lun 1: <Generic, STORAGE DEVICE, 9321> SCSI0 0/direct removable
sd2 at scsibus3 targ 1 lun 2: <Generic, STORAGE DEVICE, 9321> SCSI0 0/direct removable
sd3 at scsibus3 targ 1 lun 3: <Generic, STORAGE DEVICE, 9321> SCSI0 0/direct removable
Here it has been detected as sd0.

If during the disk partitioning, you use a DUID (Data Unit Identifier) instead of a disk device name like sd0 it does not matter how the Alix board identifies the CF card.
The /etc/fstab file will then look something like this:
Code:
3a6d4322b09ba067.b none swap sw
3a6d4322b09ba067.a / ffs rw 1 1
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote