在我的ltsp构建客户端-arch i386运行良好之后,由于某些原因tftpd没有安装,就没有/var/lib/tftpboot文件夹。
所以我不得不手动安装tftpd。DHCP运行良好,但它找不到pxelinux.0文件(它只是不存在)。
这是我的DHCP服务器。
authoritative;
subnet 10.10.10.0 netmask 255.255.255.0 {
range 10.10.10.20 10.10.10.250;
option domain-name "example.net";
option domain-name-servers 10.10.10.1;
option broadcast-address 10.10.10.255;
option routers 10.10.10.1;
option subnet-mask 255.255.255.0;
option root-path "/opt/ltsp/i386";
if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
filename "/ltsp/i386/pxelinux.0";
} else {
filename "/ltsp/i386/nbi.img";
}
}客户端机器表示:
PXE-T01: File not found
PXE-E3B: TFTP Error - File Not Found
PXE-MOF: Exiting Intel PXE ROM.问题:如何生成pxelinux.0文件和/或nbi.img文件?虽然在/opt/ltsp/i 386/ for /i386中有图像,但我不确定该映像是用来做什么的。
TFTP服务器运行于: /usr/sbin/in.tftpd --侦听--用户tftp --地址0.0.0:69-安全/var/lib/tftpboot
/var/lib/tftpboot文件夹为空。
或者另一个问题。如何再次生成pxelinux.0和nbi.img文件?
发布于 2011-07-09 12:23:49
PXE引导来自xinetd或其他超级服务器中指定的tftp目录的父目录。这是我的:
[root@sl6 dhcp]# more /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware printers, \
# and to start the installation process for some operating systems.
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /var/lib/tftpboot
per_source = 11
cps = 100 2
flags = IPv4
}因此,要么需要更改服务器arg路径,使其指向图像的位置,要么将图像移动到此处:
/var/lib/tftpboot/ltsp/i386/images/pxelinux.0
/var/lib/tftpboot/ltsp/i386/images/i386.img发布于 2011-07-12 08:54:15
我已经将/opt/ltsp/i 386/boot文件夹中的内容复制到/var/lib/tftpboot/ltsp/i 386。现在一切都很好
https://serverfault.com/questions/288573
复制相似问题