diff options
| author | xengineering <me@xengineering.eu> | 2026-01-27 20:10:47 +0100 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2026-01-27 20:10:47 +0100 |
| commit | 1b9f78e959b7a4e7dd7ed57fec83ad523d2034ff (patch) | |
| tree | 295dd9eaa28981c2c74478b8dd1689a46ce8f8f5 /content/articles | |
| parent | 865086a8b7bbfc34b0015e497a99cee589441cb9 (diff) | |
| download | website-1b9f78e959b7a4e7dd7ed57fec83ad523d2034ff.tar website-1b9f78e959b7a4e7dd7ed57fec83ad523d2034ff.tar.zst website-1b9f78e959b7a4e7dd7ed57fec83ad523d2034ff.zip | |
This was not set because it cannot be set in a chroot (see Arch Wiki
about [systemd-resolved][1] section 2.1 DNS).
[1]: https://wiki.archlinux.org/title/Systemd-resolved
Diffstat (limited to 'content/articles')
| -rw-r--r-- | content/articles/arch-installation.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/content/articles/arch-installation.md b/content/articles/arch-installation.md index ae54ef3..53d776f 100644 --- a/content/articles/arch-installation.md +++ b/content/articles/arch-installation.md @@ -150,6 +150,13 @@ to describe which filesystems should be mounted where during boot. genfstab -L /mnt | tee /mnt/etc/fstab ``` +Before switching to the new system one setting regarding name resolution needs +to be done from outside. + +``` +ln -sf ../run/systemd/resolve/stub-resolv.conf /mnt/etc/resolv.conf +``` + Without actual booting a change root (`chroot`) command is used to use the new system already. @@ -176,7 +183,6 @@ DHCP=yes' > /etc/systemd/network/auto.network systemctl enable nftables.service systemctl enable systemd-networkd.service systemctl enable systemd-resolved.service -ln -sf ../run/systemd/resolve/stub-resolv.conf /etc/resolv.conf systemctl enable iwd.service systemctl enable systemd-timesyncd.service ``` |
