iPXE discussion forum

Full Version: UEFI + Ubuntu netinstall crashing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

It seems there is a problem with loading a kernel/initrd for ubuntu's netinstall while using UEFI on VMWare Workstation 10/Lenovo T440s (current build from GIT). Using a regular BIOS everything works fine with the following iPXE part:

:ubuntu-trusty-amd64
initrd http://de.archive.ubuntu.com/ubuntu/dist.../initrd.gz
chain http://de.archive.ubuntu.com/ubuntu/dist...md64/linux fb=false
boot || goto failed
goto start

iPXE loads the initrd and the kernel and then it crashes at:
VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Someone else hit that problem as well?
You need to add initrd=initrd.gz to the kernel command line. This is a requirement of the UEFI environment and using iPXE. On legacy BIOS that additional parameter does nothing, so you can have it set in both environments.
Reference URL's