GitHub

Base System

Installation steps 6-9: Verify media, extract the system, generate fstab, and enter chroot. See Installation for an overview.

6. Verify Installation Media

The live ISO is already mounted. Verify the EROFS image is accessible:

Check for EROFS image
ls -la /media/cdrom/live/filesystem.erofs

7. Extract Base System

Use recstrap to extract the EROFS image to your mounted root:

Extract system to /mnt
recstrap /mnt

This extracts the complete system: kernel, systemd, coreutils, networking, and the recipe package manager.

Verify extraction succeeded
ls /mnt/bin /mnt/usr /mnt/etc

8. Generate fstab

Use recfstab (like Arch's genfstab) to automatically detect mounted filesystems and generate fstab entries:

Generate fstab from current mounts
recfstab /mnt >> /mnt/etc/fstab
Verify the generated fstab
cat /mnt/etc/fstab

You should see entries for / (ext4) and /boot (vfat) with UUIDs.

9. Enter the New System

Use recchroot (like Arch's arch-chroot) to enter the new system. It automatically sets up bind mounts for /dev, /proc, /sys, /run, and EFI variables:

Enter the installed system
recchroot /mnt

You are now inside the new system. Continue to Configuration (steps 10-14).