Bugzilla – Bug 1181762
grub2-xen ignores standard /boot/grub/grub.conf location
Last modified: 2024-05-17 09:10:04 UTC
Hello, Although SUSE uses /boot/grub2/grub.cfg path, some distributions might use /boot/grub/grub.cfg (which seems to be the default one). The issue is this file: https://build.opensuse.org/package/view_file/Base:System/grub2/grub2-xen-pv-firmware.cfg?expand=1 It looks for /boot/grub2/grub.cfg or /grub2/grub.cfg but not /boot/grub/grub.cfg or /grub/grub.cfg. If you simply add those entries, it will still not work because this script is provided as a memdisk at (memdisk)/boot/grub/grub.cfg, which might match before the actual local filesystem while looking for grub.cfg. I'm not grub expert but it looks like it should, somehow skip (memdisk) while looking for a grub.cfg file, either changing the logic or changing the memdisk grub.cfg file path. BTW, legacy_configfile does not exists while there is legacycfg.mod but I don't know if they are the same: grub> insmod legacy_configfile error: ../../grub-core/fs/archelp.c:260:file `/boot/grub/x86_64-xen/legacy_configfile.mod' not found.
Bulk-re-assigning to the new bootloader-maintainers@suse.de group.
The fix for the $subject is submitted to openSUSE: https://build.opensuse.org/request/show/1148963 Set resolution to fixed. Thanks a lot for the help & support.
SUSE-RU-2024:0878-1: An update that has two fixes can now be installed. Category: recommended (important) Bug References: 1181762, 1219248 Sources used: Basesystem Module 15-SP5 (src): grub2-2.06-150500.29.19.1 Server Applications Module 15-SP5 (src): grub2-2.06-150500.29.19.1 openSUSE Leap 15.5 (src): grub2-2.06-150500.29.19.1 SUSE Linux Enterprise Micro 5.5 (src): grub2-2.06-150500.29.19.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.