PXE:在 /root/dev 上安装 /dev 失败

PXE:在 /root/dev 上安装 /dev 失败

我正在尝试 PXE 启动 Debian 11,但遇到了一个非常奇怪的问题;很奇怪,因为直到今天早些时候它都运行良好。然后我做了一个小更改(安装了 nfs-common 并在 /etc/fstab 中进行了更改以挂载远程 NFS 共享)。

现在 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 脚本,是吗?那么为什么它死得这么晚呢?

相关内容