iPXE discussion forum
UEFI + Ubuntu netinstall crashing - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: UEFI + Ubuntu netinstall crashing (/showthread.php?tid=7458)



UEFI + Ubuntu netinstall crashing - AdrianSt - 2014-09-11 17:09

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/dists/trusty/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz
chain http://de.archive.ubuntu.com/ubuntu/dists/trusty/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/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?


RE: UEFI + Ubuntu netinstall crashing - robinsmidsrod - 2015-03-09 11:55

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.