Ubuntu netboot installation crashes

kickstartpxe-bootubuntu-14.04

I have a dhcp server running PXE, and a client I need to install ubuntu on through PXE.

I managed to get the installer working. it goes through the installation fine with the help of a kickstart file, but suddenly stops at the "installing the system", and says that it encountered an error. I have no idea what causes this, or how to fix it. any help?

the error is this generic failure, that doesn't give me anything to go on:

                             [!!] 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

my kickstart file looks like this:

#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

to install the PXE server i used this guide, to the letter
https://help.ubuntu.com/community/PXEInstallServer

Best Answer

It looks like it's an error occurring on all newer versions of ubuntu. The newer Ubuntu versions use something called squashfs, during installation, but the PXE server doesn't inform were the .squashfs file is, so the installation fails.

to solve it, just add the following to a preseed file

d-i live-installer/net-image string http://path/to/installation/filesystem.squashfs