PXE: /root/dev에 /dev를 마운트하지 못했습니다.

PXE: /root/dev에 /dev를 마운트하지 못했습니다.

데비안 11을 PXE 부팅하려고 하는데 아주 이상한 문제에 봉착했습니다. 오늘 오전까지 잘 작동했기 때문입니다. 그런 다음 작은 변경을 했습니다(nfs-common을 설치하고 원격 NFS 공유를 마운트하기 위해 /etc/fstab을 변경했습니다).

이제 grub 메뉴가 나타납니다. 메뉴 항목은 다음과 같습니다.

menuentry 'Debian 11' {
  set background_color=black
  linux /debian11/boot/vmlinuz-5.10.0-27-amd64 console=tty0 console=ttyS0 ip=dhcp root=/dev/nfs ro nfsroot=192.168.50.111:/image/debian11,vers=3,nolock panic=60 ipv6.disable=1 rootwait ignore_loglevel
  initrd /debian11/boot/initrd.img-5.10.0-27-amd64
}

커널이 부팅되지만 중간에 패닉이 발생합니다.

[    4.386889] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    4.410676] FS-Cache: Netfs 'nfs' registered for caching
done.
Begin: Running /scripts/nfs-bottom ... done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /dev on /root/dev failed: No such file or directory
done.
mount: mounting /run on /root/run failed: No such file or directory
run-init: can't change directory to '/root': Stale file handle
Target filesystem doesn't have requested /sbin/init.
run-init: can't change directory to '/root': Stale file handle
run-init: can't change directory to '/root': Stale file handle
run-init: can't change directory to '/root': Stale file handle
run-init: can't change directory to '/root': Stale file handle
run-init: can't change directory to '/root': Stale file handle
No init found. Try passing init= bootarg.
Rebooting automatically due to panic= boot argument

이 grub 구성은 잘 작동합니다. 어쨌든 커널이 부팅되기 전에 init-bottom 스크립트가 호출됩니다. 그렇죠? 그렇다면 왜 그렇게 늦게 죽었는가?

관련 정보