Flashdist binary images

These images are ready to write to disk or flash. The root password on all images is "root".

If an image is not large enough for your flash, you can use growimg.sh to resize it.

Each image tries to come up as 192.168.1.1 on sis0 (or 192.168.1.1 on vr0 for the GEODE images.)

64MB flashdist images of OpenBSD/i386 4.2-current [kernel 2007/12/05 userland 2007/12/04]:

32MB flashdist images of OpenBSD/i386 4.2-current [kernel 2007/12/05 userland 2007/12/04]:

64MB flashdist images of OpenBSD/amd64 4.2-current [kernel 2007/12/04 userland 2007/12/04]:

To resize a disk image, figure out the Cyls/Heads/Sectors values from your new media, and run growimg.sh.

This is an example for a 1GB CF with 1986 cyls, 16 heads, 63 sectors:

gzip -d flashimg-20071205.GENERIC.console.gz
./growimg.sh 1986 16 63 flashimg-20071205.GENERIC.console

Now you can modify it or write it to disk.

To modify (change rc, change boot.conf, change kernel, install nsh, etc) just use vnconfig:

gzip -d flashimg-20071205.NET45xx.com0-19200
vnconfig svnd0 flashimg-20071205.NET45xx.com0-19200
mount /dev/svnd0a /mnt
cd /mnt/etc
vi rc
cp /local/nsh/nsh /mnt/bin/nsh
mkdir -p /mnt/usr/local/bin
cp /local/nsh/save-ro.sh /mnt/usr/local/bin/save.sh
chmod 0755 /mnt/usr/local/bin/save.sh
umount /mnt
vnconfig -u svnd0

To use, just uncompress if you haven't already done so, and write to flash (assuming your flash device is sd2):

gzip -d flashimg-20071205.NET45xx.com0-19200
dd if=flashimg-20071205.NET45xx.com0-19200 of=/dev/sd2c bs=126b