- changed status to open
Failing to allocate memory while using UEFI bootloader
When booting using the EFI bootloader I get an error very early in the boot process.
Machines tested on (firmware in EFI mode):
- Dell PowerEdge R510 (128GB ram)
- Intel NUC 10FNK (32GB ram)
Boot media: 8GB USB-A stick
Lightwhale image: lightwhale-2.0.1.efi.img
Image sha256: bf648b99e4adbf34df321b692b4f1542db11a0a430d8f948d1e56eb10c2cc8fd
Details:
Both machines firmware boots in EFI mode. When booting in BIOS mode with the BIOS image (15017518bfb299441c895e3dfc6bc2f1e8baf106b62ca8c616290dd678d03df2 release/lightwhale-2.0.1.bios.iso) everything works just fine. This problem is only seen in EFI mode.
Here is the output from the boot process:
WELCOME TO LIGHTWHALE 2.0.1!
Press ENTER to boot, or F1 for help.
boot:
Loading /lightwhale-kernel... ok
Loading /lightwhale-rootfs…ok
Failed to allocate initramfs memory, bailing out
Booting kernel failed: Bad file number
boot:
Loading /lightwhale-kernel... ok
Loading /lightwhale-rootfs…ok
Failed to allocate initramfs memory, bailing out
Booting kernel failed: Bad file number
boot:
Loading /lightwhale-kernel... ok
Loading /lightwhale-rootfs…ok
Failed to allocate initramfs memory, bailing out
Booting kernel failed: Bad file number
boot:
Loading /lightwhale-kernel... ok
Loading /lightwhale-rootfs…ok
Failed to allocate initramfs memory, bailing out
Booting kernel failed: Bad file number
boot:
Loading /lightwhale-kernel... ok
Loading /lightwhale-rootfs…ok
Failed to allocate memory for kernel boot parameter block, bailing out
Booting kernel failed: Bad file number
<Now it just loops and loops with same message>
Please note that after the 4th try the error message changes.
WORKAROUND: Boot using the BIOS image and put the firmware in BIOS mode. Problem is that many newer machines do not support Legacy BIOS anymore.
So depending on you firmware (if it can go into Legacy mode) this can be either a critical or a blocker status.
Comments (4)
-
-
This appears to be a bug in SYSLINUX. I’ve fought long and hard, but I simply cannot make SYSLINUX work. So I’m changing to the GRUB boot loader for now, but only for the EFI image. This seems to work. I’m in the process of testing this.
-
Fixed. In test.
-
- changed status to resolved
Fixed in 2.1.0 which now sports a multi-boot ISO for both legacy BIOS and EFI.
- Log in to comment