是否可以使用 HTTP(而非 NFS)通过 PXE 启动 Ubuntu 的 LiveCD?

是否可以使用 HTTP(而非 NFS)通过 PXE 启动 Ubuntu 的 LiveCD?

我发现很多博客都解释了如何通过 PXE 启动安装程序。我也成功了。但现在我想启动 LiveCD。我看到很多博客都解释了如何使用 (DHCP+TFTP+)NFS 服务器执行此操作,但我的基础设施只有一个 (DHCP+)HTTP 服务器(后者也用于存储 pxelinux.0、kernel+initrd 文件和 isos 挂载点)。HTTP 中是否有一些内核参数“等同于”NFS 的 netboot=nfs nfsroot=serverIp:/mount/point ...??? 谢谢!!

答案1

是的,我在 Windows 上测试 ubuntu iso 时使用 tftp32 和 freenfs 和 vmware c:\tftpd32\ubuntu\(解压后的 iso)路径 tftp32 c:\tftpd32\ 路径 nfs c:\tftp32\

LABEL Ubuntu linux Install
KERNEL ubuntu/casper/vmlinuz 
APPEND root=/dev/nfs boot=casper only-ubiquity netboot=nfs nfsroot=192.168.0.1:/ubuntu ip=192.168.0.5:192.168.0.1:192.168.0.1:255.255.255.0:linux::none file=preseed/ubuntu.seed initrd=ubuntu/casper/initrd.lz quiet splash locale=ru_RU --

LABEL Ubuntu linux Live Boot
KERNEL ubuntu/casper/vmlinuz 
APPEND root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.1:/ubuntu ip=192.168.0.5:192.168.0.1:192.168.0.1:255.255.255.0:linux::none file=preseed/ubuntu.seed initrd=ubuntu/casper/initrd.lz quiet splash locale=ru_RU --

相关内容