Details
-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
Watchers
-
sst_desktop_firmware_bootloaders
-
ssg_desktop
-
False
-
-
Unspecified
-
If docs needed, set a value
-
Unspecified
Description
Description of problem:
$root is expected to be `hd0,gpt2` on this installation. But during mkconfig, $root is generated as `hd1,gpt2` because of the disorder of disks. I expected the `search` function would return the proper root for me. But `search` does not work if `--hint-baremetal` is added.
- `search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd1,gpt2' XXX` failed.
- `search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint='hd1,gpt2' XXX` worked.
The machine product is Huawei Tecal RH2288H V2-12L.
System boots in Legacy BIOS mode.
Version-Release number of selected component (if applicable):
grub2-pc-2.06-46.el9.x86_64
How reproducible:
Always.
Steps to Reproduce:
1. Edit /boot/grub2/grub.cfg, change `set root='hd0,gpt2'` to `set root='hd1,gpt2'`
2. reboot
Actual results:
The system failed to boot.
Expected results:
The system succeeded to boot.
Additional info:
On another machine of the same machine product, there is similar but different issue:
- `search --no-floppy --fs-uuid --set=root XXX` failed.
- `search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 XXXX` worked.
- `search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-baremetal=ahci0,gpt2 XXXX` failed.
- `search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd1,gpt2' XXXX` worked.
Attachments
Issue Links
- external trackers