Changes between Version 67 and Version 68 of NanoBSD


Ignore:
Timestamp:
Aug 13, 2009, 8:08:44 AM (16 years ago)
Author:
huub
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NanoBSD

    v67 v68  
    8080
    8181
    82 == C. Fetch node configuration onto image ==
     82== C. Fetch node configuration onto image, write to CF disk or remotely update ==
    8383
    8484
     
    8989The script is connecting to the [http://svn.wirelessleiden.nl/svn/node-config/genesis/nodes/ Wireless Leiden 'genesis' database]. Pick your situation!
    9090
    91     a. New image: Put full image on flash disk (minimum 1 GB)
     91    a. New image: Put full image on compact flash disk (attach a card reader/writer with a CF disk of minimum 1 GB)
    9292    {{{
    9393    $ dd bs=64k if=/usr/obj/nanobsd.wleiden/_.disk.full of=/dev/da0
    9494    }}}
    9595    (assuming {{{/dev/da0}}} is your compact flash entry; this takes about 15 minutes)
    96     a. Existing image: Put partial image on slice (slice 2)
     96    a. Existing image: Put partial image on slice (slice 2) (attach a card reader/writer with a CF disk of minimum 1 GB)
    9797    {{{
    9898    $ dd bs=64k if=/usr/obj/nanobsd.wleiden/_.disk.image of=/dev/da0s2
    9999    }}}
    100     a. Existing image remote update (slice 2)
     100    a. Existing image remote update (slice 2) (network connection to machine 172.x.y.z required)
     101
     102    For remotely updating an existing configuration use:
    101103    {{{
    102     $ gzip -c /usr/obj/nanobsd.wleiden/_.disk.image | ssh root@192.168.4.100 'gzip | sh /tools/updatep2'
     104    dd if=/usr/obj/nanobsd.wleiden/_.disk.image bs=10k | ssh root@172.x.y.z /tools/updatep2
    103105    }}}
     106 
     107   You may adjust the block size to make the transfer more efficient (additionally ssh -C is possible) and you can use Ctrl-T to check progress.
     108 
    104109
    105  == D. All done! ==
    106  Place the image in the new machine and boot it up, you should be good to go!
     110 == D. All done! Load the machine ==
     111 Place the new CF disk in the machine and boot it up (existing nodes: just reboot), you should be good to go!
    107112
    108113 Note. For next nodes you can skip the build and go directly for step C, or take a look at development if you have to rebuild the image (after small changes).
    109114 
    110 = Development =
     115== E. Applying Updates ==
    111116 For small changes there is a shortcut in the build (to save you some coffee ;-)). Pick the situation applicable
    112117 1. First lets pump it's source to the latest version
     
    132137    $ sh /usr/src/tools/tools/nanobsd/nanobsd.sh -b -c /root/nanobsd/cfg/nanobsd.wleiden
    133138    }}}
     139
     140= Development =
    134141
    135142== Light based packages suggestions ==