| 183 | | |
| 184 | | |
| 185 | | |
| 186 | | |
| 187 | | Note 2: The geometry of the cf card is defined in the nanobsd configuration file $R/cfg/nanobsd.wleiden |
| 188 | | 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: |
| 189 | | {{{ |
| 190 | | parameters extracted from in-core disklabel are: cylinders=1966 heads=16 sectors/track=63 (1008 blks/cyl) |
| 191 | | Figures below won't work with BIOS for partitions not in cyl 1 |
| 192 | | parameters to be used for BIOS calculations are: cylinders=1966 heads=16 sectors/track=63 (1008 blks/cyl) |
| 193 | | Media sector size is 512 |
| 194 | | Warning: BIOS sector numbering starts with sector 1 |
| 195 | | Information from DOS bootblock is: |
| 196 | | The data for partition 1 is: |
| 197 | | sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) |
| 198 | | start 63, size 820449 (400 Meg), flag 80 (active) |
| 199 | | beg: cyl 0/ head 1/ sector 1; |
| 200 | | end: cyl 406/ head 31/ sector 63 |
| 201 | | The data for partition 2 is: |
| 202 | | sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) |
| 203 | | start 820575, size 820449 (400 Meg), flag 0 |
| 204 | | beg: cyl 407/ head 1/ sector 1; |
| 205 | | end: cyl 813/ head 31/ sector 63 |
| 206 | | The data for partition 3 is: |
| 207 | | sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) |
| 208 | | start 1641024, size 10080 (4 Meg), flag 0 |
| 209 | | beg: cyl 814/ head 0/ sector 1; |
| 210 | | end: cyl 818/ head 31/ sector 63 |
| 211 | | The data for partition 4 is: <UNUSED> |
| 212 | | }}} |
| | 183 | Tip: The geometry of a default image is based on a 1GB CF card, changes file:$R/cfg/nanobsd.wleiden |
| | 184 | |