Changes between Version 124 and Version 125 of NanoBSD


Ignore:
Timestamp:
Feb 26, 2010, 2:34:04 PM (15 years ago)
Author:
huub
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NanoBSD

    v124 v125  
    177177   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.
    178178
    179    WARNING: in case of a remote update from 7.2 to 8.0 you also have to run the new configuration script (/tools/wl-config) because the configuration file rc.node.local is now rc.conf.local and interface configuration statements are quite different. If you do not adjust the configuration the interfaces will not be configured after reboot and you will not be able to reach the node!
     179   <b>WARNING</b>: in case of a remote update from 7.2 to 8.0 you must scp the new rc.conf.local to the node before reboot because the interface configuration statements are quite different. If you do not adjust the configuration before reboot the interfaces will not be configured after reboot and you will not be able to reach the node!(see F.4 below)
    180180 
    181181== D. Check the cf card and apply last minute changes ==
     
    197197If you cannot mount the partitions, take a fresh cf card and start again with writing the image.
    198198
    199  D.2 apply wi-driver hack, if applicable
    200 
    201 If you are using wi-drivers in master mode (hostap) you may have to adjust the rc.node.local file on /dev/da0s3. There is a bug in the wi-driver: the channel is always set to 1. You can set the correct channel by adding a line to rc.node.local like:
    202 {{{
    203 ifconfig_wi0_alias0="channel {channel number}"
    204 }}}
    205 
    206  D.3 adjust lvrouted conf
     199 D.2 adjust lvrouted conf
    207200If the node has a /28 subnet that should be routable modify the /conf/base/etc/rc.conf file:
    208201{{{
     
    224217 $ svn up /root/nanobsd
    225218 }}}
    226  2. Set your favorite root password to be used in the image
     219 2. Set your favorite root password to be used in the image - if different from the password defined in your setup file (see A.4 above):
    227220 {{{
    228221 $ setenv CFG_ROOT_PASSWORD `dd if=/dev/random bs=10k count=10 | & tr -cd '[a-zA-Z0-9]' | cut -c -15`; echo $CFG_ROOT_PASSWORD
     
    242235    $ sh /usr/src/tools/tools/nanobsd/nanobsd.sh -b -c /root/nanobsd/cfg/nanobsd.wleiden
    243236    }}}
     237    a. ONLY different configuration
     238    {{{
     239    $ /root/nanobsd/tools/config-image.sh
     240    }}}
     241 4. Upgrading from 7.2 to 8.0 is tricky because the interface configuration statements have changed. You have to update the config file on slice 3 as well in this case.
     242    Mount the image as memory disk:
     243    {{{
     244    mdconfig -a -t vnode -f /usr/obj/nanobsd.wleiden/_.disk.full
     245    mount /dev/md0s1a /mnt
     246    }}}
     247    and apply changes to lvrouted flags in rc.conf if needed, see D.2 above
     248    {{{
     249    umount /mnt
     250    Mount the configuration slice:
     251    {{{
     252    mount /dev/md0s3 /mnt
     253    }}}
     254    scp the rc.conf.local file to the /cfg directory on the node running the old 7.2 configuration
     255    {{{
     256    umount /mnt
     257    mdconfig -d -u 0
     258    }}}
     259   
    244260
    245261= G, Development =