Installation
$ git clone https://git.sr.ht/~strahinja/galeb
Installation is quite straightforward: adjust lib/env.sh
, then run the
numbered scripts, 01-*
to 05-*
. This will leave you with a directory $GR
(by default, $HOME/galeb-root
) containing the files of the root filesystem,
and a compressed raw disk image made from those files.
02-chroot.sh
needs to be run with root privileges, which you will be warned
about if you try to execute it as a regular user. Other than that, just pay
attention to on-screen prompts and messages. See BOOTING and
“Things to do after booting” below for information on what
to do next.
Note: Files in the created directory $GR
are configured for a system
booted from a USB medium. You should adjust files like /etc/fstab
and
/etc/rc.conf
if you don't intend on using the raw disk image, and wish to
install the files directly (for example, with rsync(1)).
Prebuilt boot image
Bootstrap scripts (01-*
… 05-*
) produce a boot image, which is planned to be
available to download separately. The boot image contains the compiled packages
in binary form in /pkg
, intended to be used on the x86_64 architecture. When
booting from this prebuilt boot image, you can login as the user
“root” with a password “root” (in contrast, you will be
prompted to set a root password if you build from source).
Things to do after booting
Create regular user accounts with useradd(8).
rsync files from the boot USB flash to the prepared hard disk partitions and adjust the configuration files.
Continuing from this, /etc/fstab needs special attention for filesystems to be properly mounted. If you used PARTUUID, double check if the PARTUUIDs match the ones for the partitions on the hard disk!
Setup UEFI entries for booting from hard disk (see BOOTING).
After rebooting from hard disk, install more software from source or using the package manager mkpk(8).