為什麼無法 PXE 啟動 Ubuntu 桌面版本?

為什麼無法 PXE 啟動 Ubuntu 桌面版本?

我在用皮匠PXE 啟動 Ubuntu 18.04 Server 版本。然而,PXE 啟動 Ubuntu 桌面映像似乎是不可能的。是什麼造成了這種差異?是否可以使 Ubuntu 18.04 桌面版透過 PXE 啟動運作?

答案1

我可以確認可以使用以下設定透過 PXE 啟動 18.04 桌面:

  • tftpd-hpa
  • nfs-kernel-server
  • lighttpd
  • ipxe

以下是我用於 PXE 引導的 iPXE 指令:

#!ipxe

set server_ip <PXE server IP>

:start
menu Please choose an operating system to install
item --gap Ubuntu Live
item 16.04 Ubuntu 16.04LTS Live Boot
item 18.04 Ubuntu 18.04LTS Live Boot
...
:18.04
kernel installroot/Ubuntu/18.04/amd64/vmlinuz boot=casper netboot=nfs nfsroot=${server_ip}:/srv/pxe/installroot/Ubuntu/18.04/amd64 initrd=initrd.gz toram
initrd installroot/Ubuntu/18.04/amd64/initrd.gz
boot || goto failed

您遇到的問題可能更針對 Cobbler。請澄清您的問題或發布您遇到的錯誤。

相關內容