Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UEFI Network Boot: loop and exec format error
2016-01-07, 23:53 (This post was last modified: 2016-01-08 00:03 by MultimediaMan.)
Post: #7
initrd
Quote:
Code:
:centos65
kernel http://10.10.10.1/installs/centos-65-net/images/pxeboot/vmlinuz initrd=http://10.10.10.1/installs/centos-65-net/images/pxeboot/initrd.img
initrd http://10.10.10.1/installs/centos-65-net/images/pxeboot/initrd.img
boot

You may have a syntax error; if you are invoking the initrd with vmlinuz you need to specify you are using initrd loaded into memory: UEFI is ~really~ picky about explicitly specifying the initrd in the vmlinuz arguments. PCBIOS would "figure it out", but in UEFI, it just craps out and panics the vmlinuz kernel when vmlinuz attempts to locate the initrd.img; vmlinuz doesn't have a network stack yet, so this is crucial.

Amended code:
Code:
:centos65
initrd http://10.10.10.1/installs/centos-65-net/images/pxeboot/initrd.img
kernel http://10.10.10.1/installs/centos-65-net/images/pxeboot/vmlinuz initrd=initrd.img
boot

"Thus far, you have been adrift within the sheltered harbor of my patience..."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
initrd - MultimediaMan - 2016-01-07 23:53
RE: initrd - altsysrq - 2016-01-08, 01:39



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