インストール先で起動してインストーラからルートファイルシステムを取り出しておこう。
# lsblk
するとsdb1に居そう。
# mount -'o ro /dev/sdb1 /mnt
# cp -p /mnt/arch/x68_64/airootfs.sfs /root/
# umount /mnt
# mount -o ro -t squashfs /root/airootfs.sfs /mnt
resolv.confに関係しそうなファイルを探す…ってsymlinkなん
# ls -l /mnt/etc/resolv.conf
lrwxrwxrwx … /mnt/etc/resolv.conf -> /run/systemd/resolve/stub-resolv.conf
resolveサービスを動かすのかな?
# iwctl station wlan0 connect <SSID>
# ls -l /etc/resolv.conf
-rw-r--r-- … /etc/resolv.conf
何も書かれてないのができちゃった。インストーラを起動して様子を見てみよう。
Network Name Resolutionのサービスが起動しているように見える。シンボリックリンクは上記の通り。内容は、
nameserver 127.0.0.53
options edns0 trust-ad
search .
# systemctl status
すると下記の.serviceが走ってるみたい
ModemManager
dbus
iwd
polkit
sshd
systemd-homed
systemd-journald
systemd-logind
systemd-networkd
systemd-resolvd
systemd-time-wait-sync
systemd-timesyncd
systemd-udevd
systemd-userdbd