The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to open initramfs
2019-05-10, 08:38 (This post was last modified: 2019-05-10 08:45 by daferret.)
Post: #1
Unable to open initramfs
Hi, I'm having trouble with the initramfs I am using when booting in UEFI. The initramfs works when in legacy but when trying to run on UEFI the system it "failed to open file". Additional info for context: My goal is just to load the ramdisk image and not load to any storage device because I intend to test all storage devices by running destructive tools against them, hope that makes sense :-)

Here are the events leading up to failure:
1) Boot into ipxe with embed script:

echo Will keep trying to get a valid DHCP address before loading the image
echo via http://x.x.x.x/ipxe/ipxe-usbnic.script
ifconf -c dhcp || goto retry
chain http://x.x.x.x/api/ipxe/ipxe-usbnic.script

2) Loads the following from the ipxe-usbnic.script
set mfg_data http://x.x.x.x/data
set mfg_releases http://x.x.x.x/releases
item uut_os Boot the UUT Ramdisk Based OS (the default)

choose --default uut_os --timeout 10000 target && goto ${target}
set default_uut_os ${mfg_data}/uut-os/default
kernel ${default_uut_os}/vmlinuz console=ttyS0,11520 fastboot initrd=${default_uut_os}/initramfs.gz mfg_setup=${mfg_releases}/mfg/default/admin/uut_os/
initrd ${default_uut_os}/initramfs.gz


It looks like it's able to download the images, but when trying to unpack the initramfs.gz it fails. Do I need to modify anything for UEFI? Thanks...any hints would be greatly appreciated.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Unable to open initramfs - daferret - 2019-05-10 08:38

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