LevitateOS documentation
Base System
Installation steps 6-9: Verify media, extract the system, generate fstab, and inspect the target. See Installation for an overview.
6. Verify Installation Media
base-system checks the target, copies the system with a progress bar, shows the fstab entries (and any lines already in the target's fstab they would replace) and writes them. It reads the target from the disk step, so after disk-plan it needs no arguments. When it says the system is on the disk, go to Configuration. Option 2, by hand: skip base-system and use the commands below. Either way the system is copied, not installed: it has no boot files yet.base-system base-system already checked the media.The live media is already mounted. Verify the system image it installs is there:
ls -la /run/live-rootfs.erofs 7. Extract Base System
base-system already extracted the system.Use recstrap to extract the EROFS image to your mounted root:
recstrap /mnt This extracts the minimal base system: systemd, the userland, kernel modules, sudo, the recipe package manager and, on A/B installations, recab. The rest (NetworkManager, the desktop, Firefox, audio, printing and so on) comes in the next part, installed through Recipe. It checks the target first and the extracted system afterwards, before it reports success.
ls /mnt/bin /mnt/usr /mnt/etc 8. Generate fstab
base-system already wrote the fstab.Use recfstab (like Arch's genfstab) to detect the mounted filesystems and write their fstab entries:
recfstab --write /mnt cat /mnt/etc/fstab You should see entries for / (ext4), /boot (vfat) and, with the default A/B layout, /var (ext4), each with its UUID. Persistent state, shared by both roots, lives on /var. Root B has no entry: it is not mounted.
9. Inspect the New System
system-setup shows the same choices on its own pages.Stay in the live shell. recsetup reads the mounted target and lists the configuration choices it ships: its init system, libc and privilege tool among them.
recsetup inspect --root /mnt --json The system is copied, not installed. Continue from the live shell to Configuration (steps 10-14).