Skip to content

Conversation

@bcressey
Copy link
Contributor

Issue number:
Related: bottlerocket-os/twoliter#625

Description of changes:
Patch GRUB to replace the first argument on the kernel command line from the default:

  BOOT_IMAGE=(hdX,gptY)/vmlinuz

With a predictable value that doesn't depend on the boot device:

  BOOT_IMAGE=/vmlinuz

Testing done:
Verified that variants still boot, and that the kernel command line has the expected constant value:

SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1 SYSTEMD_DEFAULT_MOUNT_RATE_LIMIT_BURST=25 BOOT_IMAGE=/vmlinuz console=tty1

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Patch GRUB to replace the first argument on the kernel command line
from the default:
  BOOT_IMAGE=(hdX,gptY)/vmlinuz

With a predictable value that doesn't depend on the boot device:
  BOOT_IMAGE=/vmlinuz

Signed-off-by: Ben Cressey <[email protected]>
@bcressey bcressey requested review from jpculp and yeazelm December 19, 2025 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants