-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-10.0
-
lorax-40.5.12-1.el10
-
No
-
Moderate
-
image-builder-1
-
10
-
None
-
False
-
False
-
-
None
-
None
-
Pass
-
RegressionOnly
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
I modified a RHEL-10.0 ISO image using mkksiso tool, which included modifying the parameters on kernel command line. When I booted the ISO mounted as a USB disk device in a VM, the parameters were unchanged.
Examination of the resulting ISO showed that there are two GRUB configuration files - first one on the main ISO9660 filesystem and a second one on a separate EFI boot partition, and only the first one was modified as expected. In my understanding, when booting from a USB device, the UEFI firmware actually boots using the content of the EFI boot partition, as opposed to booting from a CD-ROM device (doesn't matter if the machine uses UEFI or BIOS).
This problem is not present with RHEL-9 boot ISOs, even though they also contain an EFI boot partition and the GRUB configuration file on the boot partition doesn't get modified either.
Moreover, I found out that the original RHEL-10 boot ISO contains three partitions, however the resulting one after modification by mkksiso contains only two. The purpose of the third partition is unknown to me nevertheless, and I'm not sure if its removal has some negative effect, as I didn't perceive any, at least with x86_64 architecture.
What is the impact of this issue to you?
The missing modification to kernel command line parameters in USB+UEFI mode breaks some of our tests that rely on this functionality.
Please provide the package NVR for which the bug is seen:
lorax-40.5.11-1.el10.x86_64
How reproducible is this bug?:
100%
Steps to reproduce
- get RHEL-10 boot ISO
touch test.ks mkksiso -c "testparam" -r "rd.live.check" test.ks boot.iso boot-modified.iso losetup -f --show boot-modified.iso partprobe /dev/loop0 mkdir /mnt/iso-boot mount /dev/loop0p2 /mnt/iso-boot grep linuxefi /mnt/iso-boot/EFI/BOOT/grub.cfg
- Examine the output.
- Prepare a VM in UEFI with the ISO image made available as a USB disk device, simulating installation from a USB flash drive.
- Boot into GRUB menu from the USB device and inspect the boot entries.
Expected results
The boot entries are modified as defined by the mkksiso parameters (in the same way as grub.cfg in the ISO9660 filesystem), the modified kernel command line is used for booting.
Actual results
The boot entries on the EFI boot partition are not modified and thus the original ones are used for booting.
- is cloned by
-
RHEL-83208 [mkksiso] Kernel command line modifcations are not present when booting from USB in UEFI mode
-
- Release Pending
-
- links to
-
RHBA-2025:148028 lorax update