Before You Install
An installation replaces what is on the disk you choose. Read this
chapter with the machine in front of you, and do not start until the data
you need is somewhere else.
The machine
amd64 is the platform this release is tested on. The USB image is
10 GiB; give the system at least 12 GiB, and considerably more if you
want the source set on the same disk. A machine with 2 GiB of memory
runs the installer and the desktop; 4 GiB or more make the desktop
comfortable.
The USB image starts on UEFI machines and, through the protective
MBR, on BIOS-only machines. A Mac needs its firmware boot menu: hold
Option while the machine starts and choose the stick.
The DVD and the CDs start through the normal firmware boot order.
The media
A Makronix release is more than one image:
the USB image or the
DVD, which carry the system and the
makronix
set;
CD 1, which carries the system
and starts the installer;
CD 2, which carries the
makronix
set (the desktop and its programs);
CD 3, which carries the binary
packages (Firefox, Thunderbird, QEMU, the games).
The installer asks for the next CD when it needs one. A DVD or a
USB stick carries everything and asks for nothing. The source set is on
the DVD and on the USB image when it was built with
make sourcesets; the installed system can also fetch
it later.
Writing a USB stick
Write the image to the whole device, not to a partition. On
NetBSD, find the device with dmesg8
after inserting the stick; it is usually
/dev/rsd0d.
# dd if=Makronix-0.99.10-amd64-install.img of=/dev/rsd0d bs=1m conv=sync
On Linux the same operation is:
# dd if=Makronix-0.99.10-amd64-install.img of=/dev/sdX bs=4M conv=fsync status=progress
Replace /dev/sdX with the stick, and check
the device name twice: dd does not ask. Afterwards,
compare the checksum of the image with the one published next to it.
A stick that reads back differently at every attempt is defective; the
installer will fail in ways that look like software bugs.
The answers the installer needs
The simple installation asks for the following. Write them down
before you start; the installer does not go back once it has begun.
The disk
The whole disk that will hold Makronix. Every
partition on it is destroyed.
Encryption
Whether the disk is encrypted with
cgd4,
and the passphrase. The passphrase is asked for at every boot and
cannot be recovered. A long sentence you can type is better than a
short password.
The computer's name
A short host name, without spaces or dots. The
local network name becomes
name.local.
The network
Ethernet with DHCP, or a Wi-Fi network and its
passphrase. The installer configures the interface and enables
dhcpcd8.
The time zone
The zone of the place the machine is in, for
example Europe/Berlin.
The administrator's password
The password of root. It is
used with su.
Your account
A user name, a full name and a password. The
account is put in the groups that a desktop user needs: wheel (for
su), operator, staff, users, dialer (serial
ports), games and wsrc (the source tree).
Back up, then begin
Copy the files you need to another machine or an external disk.
An installation does not offer to preserve a partition that it is about
to overwrite. If the machine has another operating system, decide
before the installation whether it is to survive; the full installation
way can keep it, the simple way uses the whole disk.