Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UEFI & Ubuntu netinstall crashing
2014-09-12, 10:45
Post: #1
UEFI & Ubuntu netinstall crashing
Hi there,

I've tried launching Ubuntu's netinstall (precise/amd64) through iPXE and UEFI.
Sadly it crashes saying it cannot find the root block device.
Disabling UEFI and using BIOS it launches just fine.
The same happens with Fedora's netinstall.

Code:
VFS: cannot open root device "(null)" or unknown-block(0,0): error -6

I used these settings:
Code:
: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

:install_fedora
initrd http://ftp.uni-kl.de/pub/linux/fedora/linux/releases/20/Fedora/x86_64/os/images/pxeboot/initrd.img
chain http://ftp.uni-kl.de/pub/linux/fedora/linux/releases/20/Fedora/x86_64/os/images/pxeboot/vmlinuz inst.repo=http://ftp.uni-kl.de/pub/linux/fedora/linux/releases/20/Fedora/x86_64/os/
boot || goto failed
goto start
Find all posts by this user
Quote this message in a reply
2014-09-16, 16:35
Post: #2
RE: UEFI & Ubuntu netinstall crashing
(2014-09-12 10:45)AdrianSt Wrote:  
Code:
: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

:install_fedora
initrd http://ftp.uni-kl.de/pub/linux/fedora/linux/releases/20/Fedora/x86_64/os/images/pxeboot/initrd.img
chain http://ftp.uni-kl.de/pub/linux/fedora/linux/releases/20/Fedora/x86_64/os/images/pxeboot/vmlinuz inst.repo=http://ftp.uni-kl.de/pub/linux/fedora/linux/releases/20/Fedora/x86_64/os/
boot || goto failed
goto start

Under UEFI, kernels (currently) need to be told the name of the initrd file. Try adding "initrd=initrd.gz" to the Ubuntu kernel command line, and "initrd=initrd.img" to the Fedora kernel command line.

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
2014-09-16, 16:52
Post: #3
RE: UEFI & Ubuntu netinstall crashing
Thanks, that did the trick.

By the way, wimboot is awesome. Thanks to your brilliant work I can now operate a hybrid UEFI/iPXE Server without relying on Microsoft's horrible WDS PXE implementation for Windows rollout.
Find all posts by this user
Quote this message in a reply
2015-10-01, 08:28
Post: #4
RE: UEFI & Ubuntu netinstall crashing

Hi, I am trying boot RHEL 6 OS. My code is shown as below. It is giving exec format error with error 2e008081.

initrd http://x.x.x.x/cobbler/ks_mirror/RHEL6U6...initrd.img
chain http://x.x.x.x/cobbler/ks_mirror/RHEL6U6...ux/vmlinuz initrd=initrd.img ks=http://172.20.10.5/ks_mirror/RHEL6U6x64/rhel6u6x64.cfg network ksdevice=${netX/mac}
boot

Please let me know How can I proceed..

Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 4 Guest(s)