A line of code is worth a thousand words. Below is some pseudocode and comments guide.
For instance,
/ (mount /dev/nvme1n1p3 /mnt/kiss) [ext4]
/boot (mount /dev/nvme1n1p2 /mnt/kiss/boot) [ext4]
/boot/efi (mount /dev/nvme1n1p1 /mnt/kiss/boot/efi) [fat32]
Currently, you might want to download it from here. Please notice that the "core" versions are not enough for bootstrapping.
curl -fLO https://github.com/glasnostlinux/glasnost/releases/download/2021.10-01/glasnost-chroot-x86_64-2021.10-01.tar.xz
tar --numeric-owner --overwrite -xJf ./glasnost-chroot-x86_64-2021.10-01.tar.xz --directory /mnt/kiss --strip-components=1 2>&1
An example partition mount "load-kiss" and a chroot script "root"
doas load-kiss
doas root /mnt/kiss /bin/ash
Manual kernel configuration might be needed.
cd /var/db/kiss
git clone --recursive https://github.com/kissllm/glasnost.git
cd glasnost
git submodule update --remote --init --recursive
kISS_PATH=/var/db/kiss/glasnost/system kiss p linux
Substitude partition parametes to actual values. One of the following methods[1] might be more convenient for you:
doas efibootmgr -c -d /dev/nvme1n1 -L "KISS Linux (EFI Stub)" -l "\EFI\efistub\vmlinuz.efi" 'root=/dev/nvme1n1p3 ro resume=/dev/nvme1n1p2 tsc=unstable'
doas grub-install --target=x86_64-efi --efi-directory=/boot/efi --boot-directory=/boot --bootloader-id=kiss /dev/nvme1n1
doas /mnt/local/bin/fstab -U -P / >> /etc/fstab
"fstab" is an ash script, you can run it outside chroot
doas /mnt/local/bin/fstab -U -P /mnt/kiss >> /mnt/kiss/etc/fstab
Manually comment out some optional items.
Quit chroot
sync && exit
doas reboot