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-5.1.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-5.1.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/5.1.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/5.1.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 the following output. The failed fixes (gid and uid) are due to missing users new in NetBSD 5. Please see the NetBSD install document if you'd like to fix this manually. Press ENTER to continue.
Status: Command failed
Command: /usr/sbin/postinstall -s /.sysinst -d / fix
Hit enter to continue
--------------------------------------------------------------------------------
Removed obsolete file /bin/systrace
Removed obsolete file /lib/libc.so.12.149
Removed obsolete file /lib/libedit.so.2.10
Removed obsolete file /lib/libkvm.so.5.2
Removed obsolete file /lib/libm.so.0.5
Removed obsolete file /lib/libprop.so.0.5
Removed obsolete file /lib/libutil.so.7.11
Removed obsolete file /usr/lib/libbz2.so.1.0
Removed obsolete link /usr/lib/libc.so.12.149
Removed obsolete file /usr/lib/libcurses.so.6.1
Removed obsolete link /usr/lib/libedit.so.2.10
Removed obsolete link /usr/lib/libkvm.so.5.2
Removed obsolete link /usr/lib/libm.so.0.5
Removed obsolete link /usr/lib/libprop.so.0.5
Removed obsolete file /usr/lib/libpthread.so.0.6
Removed obsolete link /usr/lib/libutil.so.7.11
postinstall fixes passed: bluetooth defaults envsys hosts iscsi makedev motd mtr
ee named pam periodic pf postfix rc ssh wscons x11 varrwho obsolete
postinstall fixes failed: gid uid
Near the end of the upgrade process, you may get a screen which looks like this. This happens if the file /dev/MAKEDEV.local is too old. Since "local" devices are made at the end of the process, you can ignore this error and just press ENTER.
Status: Command failed
Command: /bin/sh MAKEDEV all
Hit enter to continue
--------------------------------------------------------------------------------
mtree: unknown keyword `unknown'
mtree: failed at line 1223 of the specification
If the install was successful, you should see this screen. Press ENTER.
The upgrade to NetBSD-5.1.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-5.1.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-5.0 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:Wednesday, 30-Jan-2013 12:14:14 EST
© Copyright 2010, Public Access Networks Corporation