diff options
author | xengineering <me@xengineering.eu> | 2025-10-15 20:04:48 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2025-10-15 20:04:48 +0200 |
commit | 6b365ca625f5e726df97f47ce8ef45566d09e6bd (patch) | |
tree | 52abd0bb12341f483eb54755efd229b422b86297 | |
parent | 2fb9455afd7bf87b8d53d8ea64faee439447f50f (diff) | |
download | website-6b365ca625f5e726df97f47ce8ef45566d09e6bd.tar website-6b365ca625f5e726df97f47ce8ef45566d09e6bd.tar.zst website-6b365ca625f5e726df97f47ce8ef45566d09e6bd.zip |
articles: arch-installation: Enable serial console
This allows to use the final system with Qemu's `-nographic` option.
This is more convenient since no keyboard layout has to be configured
and text can be copied and pasted.
-rw-r--r-- | content/articles/arch-installation.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/content/articles/arch-installation.md b/content/articles/arch-installation.md index 3fe154c..f8059a8 100644 --- a/content/articles/arch-installation.md +++ b/content/articles/arch-installation.md @@ -177,7 +177,7 @@ cp /usr/lib/syslinux/bios/*.c32 /boot/syslinux/ extlinux --install /boot/syslinux dd bs=440 count=1 conv=notrunc if=/usr/lib/syslinux/bios/gptmbr.bin of=/dev/vda cp /usr/share/syslinux/syslinux.cfg /boot/syslinux/ -sed -i 's|root=/dev/sda3 rw|cryptdevice=/dev/disk/by-label/CRYPTO_ROOT:root root=/dev/mapper/root rw|g' /boot/syslinux/syslinux.cfg +sed -i 's|root=/dev/sda3 rw|cryptdevice=/dev/disk/by-label/CRYPTO_ROOT:root root=/dev/mapper/root console=ttyS0 rw|g' /boot/syslinux/syslinux.cfg ``` The initial RAM filesystem (`initramfs`) is configured and created to ensure @@ -220,11 +220,11 @@ qemu-system-x86_64 \ -m 4G \ -nic user,model=virtio \ -drive file=archlinux.qcow2,media=disk,if=virtio \ - -smp cpus=4 + -smp cpus=4 \ + -nographic ``` -The username and password is based on this guide `root`. Using it with the -`-nographic` option is not yet possible. +The username and password is based on this guide `root`. If the new system is booted the second partition containing the LUKS container and `ROOT` BTRFS partition can be extended to the full possible size. |