NAME
installation — operating system installation instructionsDESCRIPTION
This document describes how to install Sortix on a computer from a cdrom release. Please read it through carefully before beginning the installation so you know what to expect and things you need to keep in mind. The upgrade(7) manual page covers upgrading an existing installation.Prerequisites
- A sortix-x.y-arch.iso release for your architecture.
- A cdrom onto which the release has been burned, or USB portable storage onto which the release has been placed at the first byte and onwards.
- A computer meeting the system requirements.
System Requirements
- 32-bit x86 CPU with SSE (i686 release), or 64-bit x86 CPU (x86_64 release).
- 1 GiB RAM (recommended) to run iso live environment (including installer) with all ports loaded, or significantly less if unimportant ports are not loaded. An installation on a harddisk will require very little RAM to run after installation.
- ATA or AHCI harddisk with at least 1 GiB of unpartitioned space.
- BIOS firmware, or UEFI firmware in legacy mode.
- PS/2 keyboard/mouse firmware emulation to use those devices.
- If you wish to dual boot, you need an existing operating system with a multiboot compliant bootloader such as GRUB.
Preparation
Read this document through before beginning the installation. The installation process is designed to be reasonable, but you need to patient and in an emotionally stable place. It is important you understand the current limitations of the system and carefully consider whether you want to go through with the installation at this time.Qemu
Virtual machines are a well-supported installation target. For instance, to prepare a 1 GiB harddisk and install the operating system onto it, run something like:qemu-img create sortix.raw 1G qemu-system-x86_64 -enable-kvm -m 1024 -vga std -cdrom sortix.iso \ -drive file=sortix.raw,format=raw
Bootloader Menu
Booting the release will present you with a GRUB bootloader menu. You have three primary options:- Running a fully-featured temporary live environment.
- Running the operating system installer (sysinstall(8)).
- Upgrading an existing installation to this release (sysupgrade(8)).
Installer
This guide assumes you selected the operating system installation option in the bootloader. If not, you can run the installer by running the sysinstall(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. This layout is then loaded and the preference will be stored in kblayout(5).Display Resolution
If a driver exists for your graphics card, then you will be asked for your preferred display resolution by chvideomode(1). The display will then use this resolution and your preference will be stored in videomode(5).Bootloader
The kernel(7) is a multiboot compatible binary that can be loaded by any multiboot specification compatible bootloader such as GRUB. You need to use such a bootloader to boot the operating system. You will be offered the choice of installing GRUB as the bootloader. Note however that this GRUB is not able to detect other operating systems and you will have to configure it manually if you wish to use it in a dual boot scheme. The answer will default to yes if no existing partitions are found, and will default to no if some are found.Partitioning
You will now need to set up a partition for the root filesystem and other filesystems you wish to use. The installer will give you instructions and run the disked(8) partitioning program. You can view its man page by typing man and you can view this man page by typing man 7 installation.Installation
The installer will show its installation intentions ask you to confirm the installation. If you answer yes, then the installation will begin.Configuration
After the installation is complete, a bare system is installed but it lacks crucial configuration files and it will refuse to start when booted.Hostname
You will be asked for the hostname of the new system which be stored in hostname(5). This question is skipped if the file already exits.Root
You will be asked for the root password. A root account is made in passwd(5) and group(5). This question is skipped if the root account already exists.Users
You will be asked in a loop if you wish to make another user. Answer no when you are done. Otherwise enter the name of the new account. If you wish to create an account by the name ofno
then simply add a space in front as leading spaces are trimmed.