foreman icon indicating copy to clipboard operation
foreman copied to clipboard

Fixes #36847 - Use initrd variable for Debian ipxe

Open ekohl opened this issue 1 year ago • 4 comments

Previously the filename was hardcoded, but the OS layer actually provides this filename as a variable. This should match the actual filename on mirrors.

ekohl avatar May 10 '24 13:05 ekohl

This got a bit bigger, but I think this ends up cleaning it up nicely.

ekohl avatar May 13 '24 17:05 ekohl

Revisiting this, I was wondering what if we even need to specify the initrd in the kernel line anyway. We already specify a full URL in a separte initrd command. Could we perhaps drop it? https://ipxe.org/cmd/imgfetch writes:

For older kernels (before Linux 5.7), you will need to add the kernel command-line argument initrd=initrd.magic when booting in UEFI mode.

Debian Buster still ships an older 4.x kernel while Debian Bullseye ships a 5.10 kernel. Any thoughts on what to do? I'm tempted to drop the whole initrd from the kernel line.

ekohl avatar Jul 22 '24 17:07 ekohl

Debian Buster still ships an older 4.x kernel while

Debian buster is EOL since June 30 2024 but:

  • Buster (10): 4.19
  • Ubuntu 18.04 LTS (Bionic Beaver): 4.15
  • Ubuntu 20.04 LTS (Focal Fossa): 5.4
  • RHEL 7 (v7.0): 3.10
  • RHEL 8 (v8.0): 4.18
  • SLES 12 (SP5): 4.12

sbernhard avatar Jul 22 '24 17:07 sbernhard

Note it never used the initrd.magic before so I really question its use. Do you have an ipxe env you test with?

ekohl avatar Jul 22 '24 18:07 ekohl