NetBSD upgrade step-by-step

On the console, run the program "sysinst" to start the NetBSD installer.
Select your desired language for the installation messages:

 NetBSD/amd64 10.0

 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.



                +---------------------------------------------+
                |>a: Installation messages in English         |
                | b: Installation auf Deutsch                 |
                | c: Mensajes de instalacion en castellano    |
                | d: Messages d'installation en fran.ais      |
                | e: Komunikaty instalacyjne w jezyku polskim |
                +---------------------------------------------+






Select "Upgrade NetBSD on a hard disk":

 NetBSD/amd64 10.0

 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-10.0 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, let's 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: xbd0 (4.0G)                  |
                      | b: 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 17, processed 0, Next set kern-GENERIC.

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










The upgrade will start and show you the progress. This could take a considerable amount of time.
     Status: Running
    Command: progress -zf /release/10.0//amd64/binary/sets/kern-GENERIC.tar.xz t
ar --chroot -xpf -

--------------------------------------------------------------------------------
 37% |************                       | 10740 KiB    5.19 MiB/s    00:03 ETA



















When updating some of the files in "/etc", the system may produce output similar to the following. Press ENTER to continue.
     Status: Command failed
    Command: /usr/sbin/postinstall -s /.sysinst -d / fix
     Hit enter to continue
--------------------------------------------------------------------------------
        Removed obsolete file /usr/lib/libgomp.so.2.0
        Removed obsolete link /usr/lib/libm.so.0.12
        Removed obsolete link /usr/lib/libprop.so.1.1
        Removed obsolete file /usr/X11R7/lib/libX11.so.7.0
        Removed obsolete file /usr/X11R7/lib/libXfixes.so.4.0
        Removed obsolete file /usr/X11R7/lib/libdrm.so.3.4
        Removed obsolete file /usr/X11R7/lib/libdrm_amdgpu.so.1.0
        Removed obsolete file /usr/X11R7/lib/libdrm_nouveau.so.3.0
        Removed obsolete file /usr/X11R7/lib/libpciaccess.so.0.3
        Removed obsolete file /usr/X11R7/lib/libpixman-1.so.2.2
        Removed obsolete file /usr/lib/i386/libc.so.12.213
        Removed obsolete file /usr/lib/i386/libgomp.so.2.0
        Removed obsolete file /usr/lib/i386/libm.so.0.12
        Removed obsolete file /usr/lib/i386/libprop.so.1.1
postinstall fixes passed: atf autofsconfig blocklist bluetooth catpages ddbonpan
ic defaults dhcpcd dhcpcdrundir envsys fontconfig gpio hosts iscsi makedev manco
nf motd mtree named opensslcertsconf opensslcertsrehash pam periodic pf ptyfsold
nodes pwd_mkdb rc ssh tcpdumpchroot varrwho varshm wscons x11 xkb obsolete
postinstall fixes failed: gid uid

In this example, fixes "gid" and "uid" failed. If you added already added the new "dhcpcd" group and user, the status on the first line should say "Finished" instead.

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

 The upgrade to NetBSD-10.0 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 10.0

 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-10.0 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 to the new boot profile. " on the previous page.
Last Modified:Thursday, 11-Apr-2024 18:24:30 EDT
© Copyright 2010, Public Access Networks Corporation