Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
upgrade — operating system upgrade instructionsDESCRIPTION
This document describes how to upgrade an existing Sortix installation to a newer release. The installation(7) manual page covers creating a new installation.Prerequisites
You need to prepare a bootable medium with the new release as described in installation(7). Read all the instructions up to Bootloader Menu and continue with this document.Release .iso Modification
Optionally, you might want to modify a release .iso to meet your custom needs per the instructions in release-iso-modification(7).Bootloader Menu
Pick theupgrade existing installation
option in the bootloader menu to begin the upgrade. This will load a live environment set to automatically run the sysupgrade(8) program.Upgrader
This guide assumes you selected the upgrade option in the bootloader. If not, you can run the installer by running the sysupgrade(8) command.Keyboard Layout
You need to choose the applicable keyboard layout. By default, a standard US keyboard layout is used. You can view a list of keyboard layouts if you wish.Display Resolution
If a driver exists for your graphics card, then you will be asked for your preferred display resolution by chvideomode(1).Installation Search
The upgrader will search for existing Sortix installations by probing local filesystems for /etc/sortix-release. You will be asked which installation you wish to upgrade. Enter the name of the root filesystem device. If none are found, it asks if you want to run sysinstall(8). Filesystems will be repaired by fsck(8) as needed.Confirmation
The upgrader will warn you if it detects you are not following proper upgrade procedure either by downgrading or by skipping a release, neither of which is supported. It will also warn you if it detects an ABI downgrade.Upgrade
The upgrader will take the appropriate actions:- Running any upgrade hooks needed to migrate the installation across incompatible changes.
- Updating the system.
- Updating the ports, installing any new ports, and removing any ports that don't exist anymore or weren't loaded.
- Updating the source code.
- Updating the initrd.
- Updating the bootloader.