Write Image
- Build Machine
- release.sh Instructions
- image.sh Instructions
- Customization
- Write Image
- Post Installation
- Known Issues
| Project Status Please note that this project is no longer active. If you are interested in taking over the code base please let me know. |
Overview
Finally the image must be written to the compact flash card. A low level utility, such as dd, is required to copy the image onto the card.
Depending on the support of your compact flash writer under OpenBSD it maybe necessary to write your image under Linux or Windows.
The soekris.img file is created in /root/greenfrog/image.
Writing the image under OpenBSD
To write the image under OpenBSD to sd0, as root type:
cd /root/greenfrog/image
dd if=soekris.img of=/dev/rsd0c bs=SECTORSIZE count=SECTORCOUNT
The SECTORSIZE and SECTORCOUNT must come from the image.sh script. Simply run it without any parameters and it will spit out it's variables.
Writing the image under Linux
To write the image under linux to sd0, as root type:
dd if=soekris.img of=/dev/sd0a bs=512
Writing the image under Windows
There are some windows tools that ship with all linux and OpenBSD cdroms, these should be suitable to install the image, please refer to the instructions on the readme files for instructions on how to use them.
Backing up an existing image
To back up an existing compact flash card, perform the same dd in reverse. Make sure to use the same parameters used to create the disk image:
dd if=/dev/rsd0c of=backup-soekris.img bs=SECTORSIZE count=SECTORCOUNT
The SECTORSIZE and SECTORCOUNT must come from the image.sh script. Simply run it without any parameters and it will spit out it's variables.
Done! Please also see Post Installation or Known Issues.