Files
lotherk b654bf74a2 docs: add The Makronix Guide and its four installed forms
One DocBook source in docs/guide produces the manual pages, one HTML
file, the PDF and an MCDE information library.  The guide follows the
structure of The NetBSD Guide, describes Makronix 0.99.10
(Camouflage), and has its own chapters for MCDE, the Information
Manager and the display.

The forms are installed by the release:

  /usr/share/doc/makronix/makronix-guide.html
  /usr/share/doc/makronix/makronix-guide.pdf
  /usr/share/doc/makronix/infolib/makronix.dti/   (base-sys-share)
  /usr/share/man/man7/makronix-guide*.7           (man-reference-man)
  /etc/dt/config/Xsession.d/0000makronix          (etc-sys-etc)
  /etc/dt/infolib/en_US.UTF-8/makronix.dti        (symlink)

The information library is built with MCDE's dtdocbook2infolib from a
small Lua writer for the CDE DocBook SGML dialect; tools/test-tools.sh
runs docs/guide/check.sh on the installed copies and proves that a
missing manual page falls red.
2026-11-15 21:21:49 +00:00

131 lines
5.8 KiB
XML

<!-- License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree. -->
<chapter id="before-install">
<title>Before You Install</title>
<para>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.</para>
<sect1 id="before-hardware">
<title>The machine</title>
<para>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.</para>
<para>The USB image starts on UEFI machines and, through the protective
MBR, on BIOS-only machines. A Mac needs its firmware boot menu: hold
<literal>Option</literal> while the machine starts and choose the stick.
The DVD and the CDs start through the normal firmware boot order.</para>
</sect1>
<sect1 id="before-media">
<title>The media</title>
<para>A Makronix release is more than one image:</para>
<itemizedlist>
<listitem><para>the <emphasis>USB image</emphasis> or the
<emphasis>DVD</emphasis>, which carry the system and the
<quote>makronix</quote> set;</para></listitem>
<listitem><para><emphasis>CD 1</emphasis>, which carries the system
and starts the installer;</para></listitem>
<listitem><para><emphasis>CD 2</emphasis>, which carries the
<quote>makronix</quote> set (the desktop and its programs);</para></listitem>
<listitem><para><emphasis>CD 3</emphasis>, which carries the binary
packages (Firefox, Thunderbird, QEMU, the games).</para></listitem>
</itemizedlist>
<para>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
<command>make sourcesets</command>; the installed system can also fetch
it later.</para>
</sect1>
<sect1 id="before-usb">
<title>Writing a USB stick</title>
<para>Write the image to the whole device, not to a partition. On
NetBSD, find the device with <citerefentry><refentrytitle>dmesg</refentrytitle><manvolnum>8</manvolnum></citerefentry>
after inserting the stick; it is usually
<filename>/dev/rsd0d</filename>.</para>
<screen># dd if=Makronix-0.99.10-amd64-install.img of=/dev/rsd0d bs=1m conv=sync</screen>
<para>On Linux the same operation is:</para>
<screen># dd if=Makronix-0.99.10-amd64-install.img of=/dev/sdX bs=4M conv=fsync status=progress</screen>
<para>Replace <filename>/dev/sdX</filename> with the stick, and check
the device name twice: <command>dd</command> 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.</para>
</sect1>
<sect1 id="before-answers">
<title>The answers the installer needs</title>
<para>The simple installation asks for the following. Write them down
before you start; the installer does not go back once it has begun.</para>
<variablelist>
<varlistentry>
<term>The disk</term>
<listitem><para>The whole disk that will hold Makronix. Every
partition on it is destroyed.</para></listitem>
</varlistentry>
<varlistentry>
<term>Encryption</term>
<listitem><para>Whether the disk is encrypted with
<citerefentry><refentrytitle>cgd</refentrytitle><manvolnum>4</manvolnum></citerefentry>,
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.</para></listitem>
</varlistentry>
<varlistentry>
<term>The computer's name</term>
<listitem><para>A short host name, without spaces or dots. The
local network name becomes
<replaceable>name</replaceable><filename>.local</filename>.</para></listitem>
</varlistentry>
<varlistentry>
<term>The network</term>
<listitem><para>Ethernet with DHCP, or a Wi-Fi network and its
passphrase. The installer configures the interface and enables
<citerefentry><refentrytitle>dhcpcd</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para></listitem>
</varlistentry>
<varlistentry>
<term>The time zone</term>
<listitem><para>The zone of the place the machine is in, for
example <filename>Europe/Berlin</filename>.</para></listitem>
</varlistentry>
<varlistentry>
<term>The administrator's password</term>
<listitem><para>The password of <username>root</username>. It is
used with <command>su</command>.</para></listitem>
</varlistentry>
<varlistentry>
<term>Your account</term>
<listitem><para>A user name, a full name and a password. The
account is put in the groups that a desktop user needs: wheel (for
<command>su</command>), operator, staff, users, dialer (serial
ports), games and wsrc (the source tree).</para></listitem>
</varlistentry>
</variablelist>
</sect1>
<sect1 id="before-backup">
<title>Back up, then begin</title>
<para>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.</para>
</sect1>
</chapter>