Skip to content

Latest commit

 

History

History
127 lines (84 loc) · 8.47 KB

File metadata and controls

127 lines (84 loc) · 8.47 KB

Getting Started with InterGenOS

Welcome to InterGenOS R001. This guide covers how to verify your download, write the installation media, and what to expect during your first boot, as well as how to keep your new system up to date.

1. Hardware Requirements

InterGenOS is built for modern 64-bit hardware with the following minimum requirements:

  • CPU: x86-64-v2 (Intel Nehalem / AMD Jaguar or newer)
  • RAM: 4GB minimum (the floor InterGen's entry AI tier is built for); 8GB+ recommended for a comfortable desktop, 16GB+ to run the larger local-AI tiers
  • Storage: 32GB minimum (the installer refuses smaller targets); more gives headroom for kernel updates and packages
  • Boot: UEFI, with Secure Boot supported by the firmware. Turn Secure Boot off for the install itself and back on at the first reboot — see the MOK Enrollment step in section 4.

2. Verifying the ISO Image

Before writing the image to a USB drive, verify it. InterGenOS uses a strict "security-only alignment" doctrine; verifying your download is what protects you against a tampered mirror, an interception in transit, or a truncated file.

The image is published with a checksum file, and that checksum file is signed. Verification is therefore two steps, in this order — first prove the checksum file is the project's, then prove the image is the one it names. This is the procedure for every InterGenOS release; substitute the release's own filenames.

1. Get the release public key and check its fingerprint.

The same key is served from the project mirror and from the public keyservers. Fetching it from more than one place and comparing the fingerprint is stronger than fetching it from any single one.

curl -O https://repo.intergenos.org/keys/intergenos-release-key.asc
gpg --import intergenos-release-key.asc

# or, from a keyserver
gpg --keyserver keys.openpgp.org --recv-keys 5597A3E0587B253006D0DD7B8C50826182083050

The fingerprint to compare is the primary key's:

5597 A3E0 587B 2530 06D0  DD7B 8C50 8261 8208 3050

That primary key carries several signing subkeys, and the subkey is what your tools will report as "using RSA key …" when they check a signature. Subkey fingerprints change when a subkey is rotated; the primary fingerprint is the one to compare. The same fingerprint is published in docs/signing-key.md, and the armored key itself is in the repository at docs/signing-key.asc.

2. Download the image, its checksum, and the signature over that checksum.

curl -O https://repo.intergenos.org/iso/intergenos-r001.iso
curl -O https://repo.intergenos.org/iso/intergenos-r001.iso.sha256
curl -O https://repo.intergenos.org/iso/intergenos-r001.iso.sha256.asc

3. Verify the signature on the checksum file, then the image against the checksum.

gpg --export 5597A3E0587B253006D0DD7B8C50826182083050 > release-key.gpg
gpgv --keyring ./release-key.gpg \
     intergenos-r001.iso.sha256.asc intergenos-r001.iso.sha256

sha256sum -c intergenos-r001.iso.sha256

Expect Good signature from "InterGenOS Project Signing Key (primary)" from the first command and intergenos-r001.iso: OK from the second.

Both halves matter, and each answers a different question. The signature proves the checksum file is the project's and was not altered on the mirror or in transit. It says nothing about the file on your disk — hashing the image against that checksum is the step that catches a truncated download or a substituted image.

gpgv is used rather than gpg --verify on purpose: it checks the signature against exactly the keyring you name and nothing else, which is the question you are asking here.

3. Writing the Installation Media

Once verified, write the image to a USB flash drive of at least 16 GB. The R001 image is about 9.7 GiB, so an 8 GB stick cannot hold it.

On Linux/macOS:

# Replace /dev/sdX with your actual USB device. DOUBLE-CHECK THIS.
sudo dd if=intergenos-r001.iso of=/dev/sdX bs=4M status=progress oflag=sync

On Windows: We recommend using Rufus or balenaEtcher in "DD Image" mode.

A successful exit from the write command is not proof the stick holds the image. Read back exactly the image's byte count from the device and hash that:

head -c "$(stat -c %s intergenos-r001.iso)" /dev/sdX | sha256sum

The value it prints must equal the checksum you verified in section 2.

4. Booting and Installation

  1. Insert the USB drive and boot your machine.
  2. Enter your UEFI/BIOS boot menu (often F12, F11, or F8) and select the USB drive.
  3. Turn Secure Boot off in UEFI firmware setup before you install. A Microsoft-signed shim anchors the trust chain; GRUB and the kernel's Unified Kernel Image are signed with a Machine Owner Key (MOK) that Forge generates for your machine during install, and your firmware does not trust that MOK yet — so the install runs with Secure Boot disabled and you turn it back on afterwards to enroll. See the MOK Enrollment step below.
  4. The boot menu offers Install InterGenOS (Graphical) and Install InterGenOS (Text) — Forge ships both a graphical installer and a text (TUI) installer; choose either.
  5. Follow the prompts to partition your disk, set your hostname, and create your user account.
  6. MOK Enrollment: In the installer's Secure Boot enrollment section, set a one-time MOK enrollment password. You choose it; Forge never generates, displays, or logs one, and leaving the field empty skips enrollment. Then, on the first reboot after Forge finishes, turn Secure Boot back on in UEFI firmware setup — that re-enable is what triggers the firmware's MokManager, which prompts you for the password you set and completes enrollment. This is what lets the shim (currently InterGenOS uses Fedora's pre-signed shim while its own Microsoft-signed shim is in review) trust the MOK-signed GRUB and kernel. It also covers any out-of-tree kernel modules (DKMS, e.g. proprietary GPU drivers) you install later. The full walkthrough is in docs/mok-enrollment.md.

(For details on Forge's installer architecture, see the Forge component reference).

5. First Boot

After the installation completes, remove the USB drive and reboot.

If you set a MOK enrollment password, re-enter UEFI firmware setup on this reboot and turn Secure Boot back on before InterGenOS starts. MokManager runs on that boot and asks for the password you set; enter it, choose Reboot, and enrollment is done — once only.

On your very first boot, you log in with the credentials you chose during the Forge install. There is no separate first-boot password prompt — Forge collected the username and password from you during install, root is locked (sudo from your user account is the only path to root), and SSH host keys are generated on first boot.

6. Keeping Your System Secure and Up To Date

Once you're at your desktop, you will use the pkm package manager to pull updates from our canonical mirror at https://repo.intergenos.org/x86_64/current/.

Your first step should be to run:

sudo pkm sync

This simple command automatically fetches the InterGenOS.db index, verifies its cryptographic signature against the bundled release key, and securely refreshes your local package metadata so you can begin installing software.

Then apply any available upgrades with:

sudo pkm upgrade --all

This upgrades your installed packages to the newest signed versions from the refreshed index (pkm sync only refreshes the index; pkm upgrade is what applies updates). A bare pkm upgrade with no package names and no --all refuses to run rather than risk silently mass-modifying the system — pass --all for a full upgrade, or name specific packages (e.g. sudo pkm upgrade firefox) to upgrade only those.

For details on the cryptographic verification your machine performs during every pkm sync, see the Repository Trust Model.

7. Next Steps