197 | | === C.2. Write the correct image to CF (media based on SLC and not MLC flash seem to perform much better)=== |
198 | | ---- |
199 | | ''NOTE:'' '''''_.disk.full''''' is required for '''new CF cards''' as it contains two base system-partitions and one configuration partition. [[BR]] |
200 | | '''''_.disk.image''''' can be used to update one system-partitioin on an '''existing CF card''' |
201 | | ---- |
202 | | |
203 | | a. '''New image to local, fresh CF disk''': Put full image on a fresh compact flash disk using a card reader/writer attached to your buildbot PC. Minimum size of the CF disk is 1 GB. |
204 | | Use the script if you are using a usb connected cf-disk reader/writer: |
205 | | |
206 | | build# $R/tools/write-image.sh |
207 | | |
208 | | or the command line: |
209 | | |
210 | | build# dd bs=64k if=/usr/obj/nanobsd.wleiden-hybrid/_.disk.full of=/dev/da0 |
211 | | |
212 | | (assuming {{{/dev/da0}}} is your compact flash entry; this takes about 15 minutes, check progress by typing Ctrl-T; you may wish to check afterwards with fdisk whether there are three partitions on the disk. You can also mount /dev/da0s1a and /dev/da0s3 and check the configuration) |
213 | | |
214 | | b. '''CF disk with existing image''': Put partial new image on slice (slice 2) of CF disk using a card reader/writer attached to the buildbot PC with the CF disk containing the existing image. |
215 | | |
216 | | build# dd bs=64k if=/usr/obj/nanobsd.wleiden-hybrid/_.disk.image of=/dev/da0s2 |
217 | | |
| 197 | === C.2. Write the correct image to CF === |
| 198 | Tip: Media based on SLC and not MLC flash seem to perform much better |
| 199 | |
| 200 | Write new image to CF disk inserted into an USB card reader [15min]: |
| 201 | build# $R/tools/write-image.sh |