Changes between Version 67 and Version 68 of NanoBSD
- Timestamp:
- Aug 13, 2009, 8:08:44 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NanoBSD
v67 v68 80 80 81 81 82 == C. Fetch node configuration onto image ==82 == C. Fetch node configuration onto image, write to CF disk or remotely update == 83 83 84 84 … … 89 89 The script is connecting to the [http://svn.wirelessleiden.nl/svn/node-config/genesis/nodes/ Wireless Leiden 'genesis' database]. Pick your situation! 90 90 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) 92 92 {{{ 93 93 $ dd bs=64k if=/usr/obj/nanobsd.wleiden/_.disk.full of=/dev/da0 94 94 }}} 95 95 (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) 97 97 {{{ 98 98 $ dd bs=64k if=/usr/obj/nanobsd.wleiden/_.disk.image of=/dev/da0s2 99 99 }}} 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: 101 103 {{{ 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 103 105 }}} 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 104 109 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! 107 112 108 113 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). 109 114 110 = Development=115 == E. Applying Updates == 111 116 For small changes there is a shortcut in the build (to save you some coffee ;-)). Pick the situation applicable 112 117 1. First lets pump it's source to the latest version … … 132 137 $ sh /usr/src/tools/tools/nanobsd/nanobsd.sh -b -c /root/nanobsd/cfg/nanobsd.wleiden 133 138 }}} 139 140 = Development = 134 141 135 142 == Light based packages suggestions ==