CentOS 5 kickstart 在递增的 disc# 文件夹中请求 .discinfo

CentOS 5 kickstart 在递增的 disc# 文件夹中请求 .discinfo

我正在尝试 PXE 启动 CentOS 5 安装,但它在 anaconda start 时挂起且没有错误。我可以在 Web 服务器端看到它一遍又一遍地请求相同的 .discinfo 文件,每次都会增加光盘子文件夹编号,直到我最终关闭机器:

/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc1/.discinfo
Error: ENOENT, no such file or directory '/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc1/.discinfo'
/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc2/.discinfo
Error: ENOENT, no such file or directory '/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc2/.discinfo'
/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc3/.discinfo
Error: ENOENT, no such file or directory '/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc3/.discinfo'
/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc4/.discinfo
Error: ENOENT, no such file or directory '/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc4/.discinfo'
/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc5/.discinfo
Error: ENOENT, no such file or directory '/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc5/.discinfo'
/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc6/.discinfo
Error: ENOENT, no such file or directory '/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc6/.discinfo'
/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc7/.discinfo
Error: ENOENT, no such file or directory '/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc7/.discinfo'
/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc8/.discinfo
Error: ENOENT, no such file or directory '/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc8/.discinfo'
/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc9/.discinfo
Error: ENOENT, no such file or directory '/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc9/.discinfo'
/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc10/.discinfo
Error: ENOENT, no such file or directory '/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc10/.discinfo'
/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc11/.discinfo
Error: ENOENT, no such file or directory '/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc11/.discinfo'
/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc12/.discinfo
Error: ENOENT, no such file or directory '/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc12/.discinfo'
/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc13/.discinfo
Error: ENOENT, no such file or directory '/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc13/.discinfo'
/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc14/.discinfo
Error: ENOENT, no such file or directory '/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc14/.discinfo'
...
/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc1765/.discinfo
Error: ENOENT, no such file or directory '/opt/razor/image/os/zCVSoQsb9BFCSIecae3f2//disc1765/.discinfo'

我已将 kickstart 文件精简到相当小:

install
url --url=http://10.10.30.9:8027/razor/image/os/zCVSoQsb9BFCSIecae3f2
text
lang en_US.UTF-8
keyboard us
rootpw <removed>
network --hostname api3.mydomain.com
firewall --disabled
authconfig --enableshadow
selinux --disabled
timezone --utc America/Los_Angeles
bootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet"
clearpart --all --initlabel
autopart
reboot
%packages --nobase
@core

我正在使用 dnsmasq 分发 DHCP 和 TFTP,并使用 iPXE 来处理安装的启动。这部分似乎进行得很顺利。当它通过加载磁盘控制器驱动程序并启动 anaconda 时,它会挂断。

知道这里可能发生什么事吗?

答案1

我认为安装树设置不正确。 .discinfo描述了 CentOS ISO 的内容。以下是 RHEL5 的等效内容:

# cat .discinfo
1328205744.315196
Red Hat Enterprise Linux Server 5.8
x86_64
1
Server/base
Server/RPMS
Server/pixmaps

.discinfo您能在系统上的任何地方找到名为的文件吗?

相关内容