我在启动VMWaare ESX Classic 4.1的安装时出现问题。 我已经剥离了我的kickstart一点,只是:
accepteula keyboard us auth clearpart --firstdisk --overwritevmfs url --url=10.16.0.1/cblr/ks_mirror/esx-classic-4.1.0-260247 rootpw --iscrypted $1$zZJa3g7g$mD8d.6QgbPku1QovQTAps/ timezone 'US/Pacific' network --addvmportgroup=true --device=vmnic0 --bootproto=dhcp part '/boot' --fstype=ext3 --size=1100 --onfirstdisk part 'none' --fstype=vmkcore --size=110 --onfirstdisk part 'datastore1' --fstype=vmfs3 --size=8920 --grow --onfirstdisk virtualdisk 'esxconsole' --size=7920 --onvmfs='datastore1' part 'swap' --fstype=swap --size=916 --onvirtualdisk='esxconsole' part '/var/log' --fstype=ext3 --size=2000 --onvirtualdisk='esxconsole' part '/' --fstype=ext3 --size=5000 --grow --onvirtualdisk='esxconsole' %post --interpreter=bash
但是,当我尝试在没有其他内核选项的PXE安装过程中使用此kickstart时,出现以下错误:
There was a problem with the Network Device specified on the command line. Error: No NIC found with name bootif
如果我在kickstart中注释掉networking线路,错误将变为:
There was a problem with the Network Device specified on the command line. Error: No NIC found with name eth0
我怎样才能解决这个问题? 谢谢。
您可以尝试将“IPAPPEND 2”添加到您的pxe节。
另外,你确定你正在尝试启动的安装程序中是否存在驱动程序?
你有没有尝试在networking线路中设置--device=eth0 ? 我看着这个:
这是唯一的提到,总是eth0。
编辑:由于OP使用鞋匠,这是重要的一环:
错误来自安装程序试图parsing内核引导命令行BOOTIF = XXX参数。 用cat / proc / cmdline检查引导命令行,看看你用什么引导。 BOOTIF通常由PXE引导程序添加,但也可以在grub.conf中find
编辑:
如果在内核cmdline上设置了“ksdevice =”或“netdevice =”,也会发生这种情况