pxe装机 提示
NFS over TCP not available from 10.11.97.5
done.
Unable to find a live file system on the network
需要修改 tftp中的grub.cfg文件
set default=0
set timeout=3
set color_normal=white/black
set color_highlight=black/light-gray
menuentry "Install Kylin-Desktop" {
linux ${root}/casper/vmlinuz boot=casper only-ubiquity locale=zh_CN splash audit=0 ethdevice-timeout=60 ip=dhcp netboot=nfs nfsroot=172.16.41.1:/opt/nfs/x86_64 security=
initrd ${root}/casper/initrd.lz
}
需要在grub中加入参数 ip=dhcp
参考资料
https://askubuntu.com/questions/1228405/ubuntu-20-04-lts-does-not-boot-up-using-pxe-and-nfs
I just found that a new parameter ip=dhcp is needed since 19.10
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1848018