Changes between Version 63 and Version 64 of FreeBSD10_Guide
- Timestamp:
- Aug 29, 2014, 10:47:28 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FreeBSD10_Guide
v63 v64 202 202 203 203 Note 2: The geometry of the cf card is defined in the nanobsd configuration file $R/cfg/nanobsd.wleiden 204 The 'default' values are for a Peak 1 GB card. They also work on an Alix2D3 board with a 1 GB PCEngines 'blanc' cf card and 1 or 2 GB Transcend cf cards although those geometries are different. There are issues with Soekris boards, depending on the BIOS version. 204 The 'default' values are for a Peak 1 GB card. They also work on an Alix2D3 board with a 1 GB PCEngines 'blanc' cf card and 1 or 2 GB Transcend cf cards although those geometries are different. There are issues with Soekris boards, depending on the BIOS version. The geometry of the cf-disk is as follows: 205 {{{ 206 parameters extracted from in-core disklabel are: cylinders=1966 heads=16 sectors/track=63 (1008 blks/cyl) 207 Figures below won't work with BIOS for partitions not in cyl 1 208 parameters to be used for BIOS calculations are: cylinders=1966 heads=16 sectors/track=63 (1008 blks/cyl) 209 Media sector size is 512 210 Warning: BIOS sector numbering starts with sector 1 211 Information from DOS bootblock is: 212 The data for partition 1 is: 213 sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) 214 start 63, size 820449 (400 Meg), flag 80 (active) 215 beg: cyl 0/ head 1/ sector 1; 216 end: cyl 406/ head 31/ sector 63 217 The data for partition 2 is: 218 sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) 219 start 820575, size 820449 (400 Meg), flag 0 220 beg: cyl 407/ head 1/ sector 1; 221 end: cyl 813/ head 31/ sector 63 222 The data for partition 3 is: 223 sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) 224 start 1641024, size 10080 (4 Meg), flag 0 225 beg: cyl 814/ head 0/ sector 1; 226 end: cyl 818/ head 31/ sector 63 227 The data for partition 4 is: <UNUSED> 228 }}} 205 229 206 230 == C. Fetch node configuration onto image, write to CF disk or remotely update == 207 231 208 === C.1. Fetch configuration ===232 === C.1. Fetch node-configuration === 209 233 210 234 build# $R/tools/image config for <HybridNodename> 211 235 212 The script is connecting to the [http://svn.wirelessleiden.nl/svn/node-config/genesis/nodes/ Wireless Leiden 'genesis' database]. First make sure that the configuration file is up to date by clicking the 'update' button on [http://sunfire.wirelessleiden.nl/wleiden/config/ http://sunfire.wirelessleiden.nl/wleiden/config/] Pick your situation! Note: proxy configurations are [http://sunfire.wirelessleiden.nl/wleiden/config/ here].236 The script is connecting to the [http://svn.wirelessleiden.nl/svn/node-config/genesis/nodes/ Wireless Leiden 'genesis' database]. First make sure that the configuration file is up to date by clicking the 'update' button on [http://sunfire.wirelessleiden.nl/wleiden/config/ http://sunfire.wirelessleiden.nl/wleiden/config/]. 213 237 214 238 You can inspect the image bij mounting as memory disk: … … 230 254 === C.2. Write the correct image to CF (media based on SLC and not MLC flash seem to perform much better)=== 231 255 ---- 232 ''NOTE:'' '''''_.disk.full''''' is required for '''new CF cards''' as it contains two base system s and one configuration. [[BR]]233 '''''_.disk.image''''' on the other hand can be used to updatean '''existing CF card'''256 ''NOTE:'' '''''_.disk.full''''' is required for '''new CF cards''' as it contains two base system-partitions and one configuration partition. [[BR]] 257 '''''_.disk.image''''' can be used to update one system-partitioin on an '''existing CF card''' 234 258 ---- 235 259 … … 243 267 build# dd bs=64k if=/usr/obj/nanobsd.wleiden-hybrid/_.disk.full of=/dev/da0 244 268 245 (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 246 are three partitions on the disk, you can also mount /dev/da0s1a and /dev/da0s3 and check the configuration) 269 (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) 247 270 248 271 a. '''Existing image''': Put partial image on slice (slice 2) (attach a card reader/writer with the CF disk containing the existing image)