我正在尝试用PXE服务器启动Cosmic
在挂载live.iso文件并将内容复制到NFS文件夹后,我将casper/vmlinuz和casper/initrd复制到tftp服务器。
NFS文件夹由一个可靠的服务器(nfs-内核- server 1.2.8)共享,导出如下所示:
/home/nfs 192.168.0.0/16(ro,async,no_subtree_check)
下面是PXE配置:
LABEL cosmic
MENU LABEL Ubuntu 18.10 x64
KERNEL cosmic/vmlinuz
APPEND initrd=cosmic/initrd file=cosmic/ubuntu.seed boot=casper netboot=nfs nfsroot=192.168.0.3:/home/nfs/cosmic locale=fr_FR bootkbd=fr console-setup/layoutcode=fr
不幸的是,在引导期间,会出现一些挂载错误,并且引导进程切换到紧急模式(点击ctrl+d)。
journalctl -xb向我显示错误:
Failed to mount Huge Pages File System.
Failed to mount Kernel Debug File system.
Failed to mount POSIX Message Queue File System.
Failed to mount Kernel Configuration File system.
Failed to mount FUSE Control File system.
Failed to mount /tmp.
Failed to start Set console font and keymap.
这台PXE服务器启动仿生,Xenial,可靠,.同样的方式没有问题
发布于 2018-12-20 06:42:31
只需将systemd.mask=tmp.mount
添加到附加行中,它就会工作。
发布于 2019-03-13 00:25:21
“只要将systemd.mask=tmp.mount添加到附加行中,它就会工作。”
这对我来说很管用。
在解决了这个问题之后,它又出现了另一个问题。如果使用来自PXE服务器的源来安装OS。找到了一些失败的信息。‘’grub efi-amd64 64-签名‘包未能安装到/target/。如果没有GRUB引导程序,已安装的系统将无法启动。但是,如果通过互联网使用Ubuntu,它将完成安装OS,而不会有失败的消息。
https://askubuntu.com/questions/1087421
复制相似问题