我有一台运行PXE的DHCP服务器,并且需要通过PXE安装Ubuntu。
我设法让安装程序工作。 它在kickstart文件的帮助下完成安装,但突然停止在“安装系统”,并说它遇到了错误。 我不知道是什么原因造成的,或者如何解决这个问题。 任何帮助?
错误是这个generics失败,那不给我任何东西继续:
[!!] Install the system Installation step failed an installation step failed. you can try to run the failing item again from the menu, for skip it and choose something else. the failing step is: Install the system
我的kickstart文件如下所示:
#Generated by Kickstart Configurator #platform=x86 #System language lang en_US #Language modules to install langsupport en_US #System keyboard keyboard dk #System mouse mouse #System timezone timezone Europe/Copenhagen #Root password rootpw SecretPass #Initial user user local --fullname "Local Admin" --password SecredPass #Reboot after installation reboot #Use text mode install text #Install OS instead of upgrade install #Use Web installation url --url http://172.16.0.6/ubuntu14.10 #System bootloader configuration bootloader --location=mbr #Clear the Master Boot Record zerombr yes #Partition clearing information clearpart --all --initlabel #Disk partitioning information part swap --recommended --asprimary --ondisk sda part /boot --fstype ext4 --size 128 --ondisk sda part / --fstype ext3 --size 1 --grow --ondisk sda #System authorization infomation auth --useshadow --enablemd5 --enableldap --enableldapauth --ldapserver ldap://hellerup.mosek.intranet --ldapbasedn dc=hellerup,dc=mosek,dc=intranet #Firewall configuration firewall --disabled #Do not configure the X Window System skipx
要使用本指南安装PXE服务器,请转到https://help.ubuntu.com/community/PXEInstallServer
它看起来像是在所有新版本的Ubuntu上发生的错误。 较新的Ubuntu版本在安装过程中使用了一些名为squashfs的东西,但PXE服务器不会通知.squashfs文件,所以安装失败。
要解决它,只需将以下内容添加到预先设定的文件
di live-installer/net-image string http://path/to/installation/filesystem.squashfs