2.1 KiB
How to make rootfs writable
-
Open Citadel terminal
-
Su to root
$ su
-
Remount root as read-write
mount -o remount,rw /
How to change timezone
-
Make rootfs writable
-
Run Setting application in Gnome, change timezone in Details -> Date & Time
How to change Gnome lock screen passwd
-
Open Citadel terminal
-
Generate new password with openssl
$ openssl passwd Password: Verifying - Password: sGYyWXqDuh64g
-
Su to root
$ su
-
Make rootfs writable
mount -o remount,rw /
-
Copy new password hash into /etc/shadow
vim /etc/shadow
How to install image update
-
Open Citadel terminal
-
Su to root
-
Determine if current boot is from rootfsA or rootfsB. Make sure you don't overwrite the currently mounted rootfs partition!
findmnt /
TARGET SOURCE FSTYPE OPTIONS / /dev/mapper/citadel-rootfsA ext2 rw,relatime,errors=continue,user_xattr
-
Locate the rootfs update image you want to install
file /storage/user-data/primary-home/citadel-image-intel-corei7-64.ext2
/storage/user-data/primary-home/citadel-image-intel-corei7-64.ext2: Linux rev 1.0 ext2 filesystem data, UUID=d9dd20e9-9286-4c60-9dc3-37c68e36481c (large files)
-
Write to the correct partition with dd command.
dd if=/storage/user-data/primary-home/citadel-image-intel-corei7-64.ext2 of=/dev/mapper/citadel-rootfsB bs=4M
255+1 records in 255+1 records out 1071823872 bytes (1.1 GB, 1022 MiB) copied, 3.01726 s, 355 MB/s
-
Sync just to be sure everything is flushed to disk, then reboot into new image.
sync
reboot
How to have hardware graphics acceleration for applications
-
Open Citadel terminal
-
Su to root
-
Make rootfs writable
mount -o remount,rw /
-
Enable /dev/dri/renderD128 bind mount in primary.nspawn file
vim /etc/systemd/nspawn/primary.nspawn
How to use Qemu?
-
Open Citadel terminal
-
Su to root
-
Make rootfs writable
mount -o remount,rw /
-
Enable /dev/kvm bind mount in primary.nspawn file
vim /etc/systemd/nspawn/primary.nspawn