Changes between Version 63 and Version 64 of FreeBSD10_Guide


Ignore:
Timestamp:
Aug 29, 2014, 10:47:28 AM (10 years ago)
Author:
huub
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FreeBSD10_Guide

    v63 v64  
    202202
    203203 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{{{
     206parameters extracted from in-core disklabel are: cylinders=1966 heads=16 sectors/track=63 (1008 blks/cyl)
     207Figures below won't work with BIOS for partitions not in cyl 1
     208parameters to be used for BIOS calculations are: cylinders=1966 heads=16 sectors/track=63 (1008 blks/cyl)
     209Media sector size is 512
     210Warning: BIOS sector numbering starts with sector 1
     211Information from DOS bootblock is:
     212The 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
     217The 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
     222The 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
     227The data for partition 4 is: <UNUSED>
     228}}}
    205229
    206230== C. Fetch node configuration onto image, write to CF disk or remotely update ==
    207231
    208 === C.1. Fetch configuration ===
     232=== C.1. Fetch node-configuration ===
    209233 
    210234 build# $R/tools/image config for <HybridNodename>
    211235
    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].
     236The 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/].
    213237
    214238You can inspect the image bij mounting as memory disk:
     
    230254=== C.2. Write the correct image to CF (media based on SLC and not MLC flash seem to perform much better)===
    231255----
    232     ''NOTE:'' '''''_.disk.full''''' is required for '''new CF cards''' as it contains two base systems and one configuration. [[BR]]
    233               '''''_.disk.image''''' on the other hand can be used to update an '''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'''
    234258----
    235259
     
    243267    build# dd bs=64k if=/usr/obj/nanobsd.wleiden-hybrid/_.disk.full of=/dev/da0
    244268     
    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)
    247270
    248271    a. '''Existing image''': Put partial image on slice (slice 2) (attach a card reader/writer with the CF disk containing the existing image)