NetBSD upgrade step-by-step

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


 NetBSD/amd64 9.3

 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.


 Thank you for using NetBSD!
                      +----------------------------------+
                      | NetBSD-9.3 Install System        |
                      |                                  |
                      |>a: Upgrade NetBSD on a hard disk |
                      | b: Reboot the computer           |
                      | c: Utility menu                  |
                      | d: Config 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. Do not choose "current system".

 On which disk do you want to upgrade NetBSD?


                             +--------------------+
                             | Available disks    |
                             |                    |
                             | a: current system  |
                             |>b: xbd0 (4.0G)     |
                             | c: xbd1 (1.0G)     |
                             | x: Exit            |
                             +--------------------+













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 optional.  You may choose to install a core set
 (Minimal installation), all of them (Full installation), or a custom group of
 sets (Custom installation).






                        +-----------------------------+
                        | Select your distribution    |
                        |                             |
                        |>a: Full installation        |
                        | b: Installation without X11 |
                        | c: Minimal installation     |
                        | d: Custom installation      |
                        | x: Abandon installation     |
                        +-----------------------------+




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 15, 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/9.3
 b: Binary set directory      /amd64/binary/sets
 c: Source set directory      /source/sets
 d: Exit
>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/9.3//amd64/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
--------------------------------------------------------------------------------
xkb fix:
uid fix:
varrwho fix:
tcpdumpchroot fix:
atf fix:
        (Checking for NetBSD.conf from /.sysinst/etc/atf instead of /.sysinst/ex
ternal/bsd/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:
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-9.3 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.





                           +-----------------------+
                           |>Hit enter to continue |
                           +-----------------------+












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

 NetBSD/amd64 9.3

 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.


 Thank you for using NetBSD!
                      +----------------------------------+
                      | NetBSD-9.3 Install System        |
                      |                                  |
                      | a: Upgrade NetBSD on a hard disk |
                      | b: Reboot the computer           |
                      | c: Utility menu                  |
                      | d: Config menu                   |
                      |>x: Exit Install System           |
                      +----------------------------------+



Continue with "Switch back to normal boot" on the previous page.
Last Modified:Wednesday, 10-Aug-2022 13:35:54 EDT
© Copyright 2010, Public Access Networks Corporation