NetBSD upgrade step-by-step

On the console, run the program "sysinst" to start the NetBSD installer.
Select "Upgrade NetBSD on a hard disk":

 Welcome to sysinst, the NetBSD-7.1 system installation tool.  This
 menu-driven tool is designed to help you install NetBSD to a hard disk, or
 upgrade an existing NetBSD system, with a minimum of work.
 In the following menus type the reference letter (a, b, c, ...) to select an
 item, or type CTRL+N/CTRL+P to select the next/previous item.
 The arrow keys and Page-up/Page-down may also work.
 Activate the current selection from the menu by typing the enter key.

 If you booted from a floppy, you may now remove the disk.

 Thank you for using NetBSD!

                     +-----------------------------------+
                     | NetBSD-7.1 Install System         |
                     |                                   |
                     |>a: Upgrade NetBSD on a hard disk  |
                     | b: Reboot the computer            |
                     | c: Utility menu                   |
                     | x: Exit Install System            |
                     +-----------------------------------+




Choose "Yes" to confirm your selection:

 Ok, lets upgrade NetBSD on your hard disk.  As always, this will change
 information on your hard disk.  You should have made a full backup before
 this procedure!  Do you really want to upgrade NetBSD?  (This is your last
 warning before this procedure starts modifying your disks.)





                               +---------------+
                               | yes or no?    |
                               |               |
                               | a: No         |
                               |>b: Yes        |
                               +---------------+









This screen will ask you which virtual disk you want to upgrade. You'll need to know the disk number of your NetBSD installation. The number after each "xbd" corresponds to the disk number on the "Disks" tab on config.panix.com.

 On which disk do you want to install NetBSD?


                             +--------------------+
                             | Available disks    |
                             |                    |
                             |>a: xbd0            |
                             | b: xbd1            |
                             +--------------------+















Choose "Full installation" as that is what Panix installs NetBSD on a V-Colo:

 The NetBSD distribution is broken into a collection of distribution sets.
 There are some basic sets that are needed by all installations and there are
 some other sets that are not needed by all installations.  You may choose to
 install a core set (Minimal installation), all of them (Full installation) or
 you select from the optional distribution sets.






                        +-----------------------------+
                        | Select your distribution    |
                        |                             |
                        |>a: Full installation        |
                        | b: Minimal installation     |
                        | c: Custom installation      |
                        +-----------------------------+






It will ask you how you'd like to see the progress of the upgrade. Choose "Progress bar (recommended)". The other options are untested.

 Okay, the first part of the procedure is finished.  Sysinst has written a
 disklabel to the target disk, and fsck'ed the new partitions you specified
 for the target disk.

 The next step is to fetch and unpack the distribution filesets.

 During the extraction process, what do you want to see as each file is
 extracted?



                    +-------------------------------------+
                    | Select set extraction verbosity     |
                    |                                     |
                    |>a: Progress bar (recommended)       |
                    | b: Silent                           |
                    | c: Verbose file name listing (slow) |
                    +-------------------------------------+






It will ask where the distribution sets are located. Choose "Local directory".

 Your disk is now ready for installing the kernel and the distribution sets.
 As noted in your INSTALL notes, you have several options.  For ftp or nfs,
 you must be connected to a network with access to the proper machines.

 Sets selected 14, processed 0, Next set kern-GENERIC.

                          +-------------------------+
                          | Install from            |
                          |                         |
                          |>a: Local directory      |
                          | b: Skip set             |
                          | c: Skip set group       |
                          | d: Abandon installation |
                          +-------------------------+










The screen shows the default values for the location of the distribution sets. The values are already correct for a V-Colo upgrade. Just select "Continue".

 Enter the already-mounted local directory where the distribution is located.
 Remember, the directory should contain the .tgz files.

 a: Base directory            release/7.1
 b: Set directory             /i386/binary/sets
>x: Continue


















The upgrade will start and show you the progress. This could take a considerable amount of time.
     Status: Running
    Command: progress -zf /release/7.1//i386/binary/sets/base.tgz tar --chroot -
xhepf -

--------------------------------------------------------------------------------
  3% |*                                  |  2949 KiB    1.43 MiB/s    00:49 ETA



















When updating some of the files in "/etc", the system may produce output similar to the following. Press ENTER to continue.
     Status: Finished
    Command: /usr/sbin/postinstall -s /.sysinst -d / fix
     Hit enter to continue
--------------------------------------------------------------------------------
atf fix:
(Checking for NetBSD.conf from /.sysinst/etc/atf instead of /.sysinst/external/b
sd/atf/etc/atf)
(Checking for atf-run.hooks from /.sysinst/etc/atf instead of /.sysinst/external
/bsd/atf/dist/tools/sample)
catpages fix:
manconf fix:
ptyfsoldnodes fix:
Removed legacy device node /dev/ptyp0
Removed legacy device node /dev/ptyp1
Removed legacy device node /dev/ttyp0
Removed legacy device node /dev/ttyp1
varshm fix:
obsolete fix:
postinstall fixes passed: bluetooth ddbonpanic defaults dhcpcd dhcpcdrundir envs
ys fontconfig gid gpio hosts iscsi makedev motd mtree named pam periodic pf pwd_
mkdb rc ssh wscons x11 xkb uid varrwho tcpdumpchroot atf catpages manconf ptyfso
ldnodes varshm obsolete
postinstall fixes failed:


If the install was successful, you should see this screen. Press ENTER.

 The upgrade to NetBSD-7.1 is now complete.  You will now need to follow
 the instructions in the INSTALL document as to what you need to do to get
 your system reconfigured for your situation.  Remember to (re)read the
 afterboot(8) manpage as it may contain new items since your last upgrade.

 At a minimum, you must edit rc.conf for your local environment and change
 rc_configured=NO to rc_configured=YES or reboots will stop at single-user,
 and copy back the password files (taking into account new system accounts
 that may have been created for this release) if you were using local password
 files.
                           +-----------------------+
                           |>Hit enter to continue |
                           +-----------------------+











The initial screen is displayed again. Select "Exit Install System" to exit the installer.

 Welcome to sysinst, the NetBSD-7.1 system installation tool.  This
 menu-driven tool is designed to help you install NetBSD to a hard disk, or
 upgrade an existing NetBSD system, with a minimum of work.
 In the following menus type the reference letter (a, b, c, ...) to select an
 item, or type CTRL+N/CTRL+P to select the next/previous item.
 The arrow keys and Page-up/Page-down may also work.
 Activate the current selection from the menu by typing the enter key.

 If you booted from a floppy, you may now remove the disk.

 Thank you for using NetBSD!

                     +-----------------------------------+
                     | NetBSD Install System             |
                     |                                   |
                     | a: Upgrade NetBSD on a hard disk  |
                     | b: Reboot the computer            |
                     | c: Utility menu                   |
                     |>x: Exit Install System            |
                     +-----------------------------------+



Continue with "Switch back to normal boot" on the previous page.
Last Modified:Tuesday, 17-Oct-2017 23:26:44 EDT
© Copyright 2010, Public Access Networks Corporation