Systemd-nspawn container
Container creation
as root, create the container folder:
mkdir -p /var/lib/machines/greatos
Extract the filesystem from the archive:
tar xf greatos-2023.07.tar.xz -C /var/lib/machines/greatos/
Boot and enter container
systemd-nspawn -D /var/lib/machines/greatos/ -b
Enter chroot
at least the first time, to upgrade and install some missing stuff
sudo LFS=/var/lib/machines/greatos/ install-great-os -ec
cards upgrade
cards install dialog dbus nano
Set the root passwd
pwconv
passwd
Errors and fixes
Fix a not found sbin/udevadm
If you see the following: /sbin/setup-great-os: line 81: /sbin/udevadm: No such file or directory
You have to change the setup-great-os file from the root host machine:
nano /var/lib/machines/greatos/sbin/setup-great-os
Search and replace /sbin/udevadm with /bin/udevadm