On Fri, Oct 10, 2025, at 9:07 PM, Chris Adams wrote:
> Once upon a time, Chris Murphy <[email protected]> said:
>> On Fri, Oct 10, 2025, at 2:02 PM, Chris Adams wrote:
>> > Yep, I got bit by this once when I did updates and then something (don't
>> > know what) happened that caused the grub2.cfg update (pre BLS) to still
>> > be in the XFS log.  The system would just boot to a grub prompt... I was
>> > on a trip and sitting in a hotel room (so no access to another system, a
>> > rescue USB drive, etc.), and basically hadn't had to mess much with boot
>> > loaders in a long time, so didn't really remember any GRUB2 commands.  I
>> > eventually puzzled out enough to get the system booted, but it was a bit
>> > of a pain.
>> 
>> Unintuitively, booting with rd.break=pre-mount and then merely mounting the 
>> xfs boot volume and then rebooting would have fixed it. Log replay would 
>> have happened on mount, making the grub.cfg appear in the metadata that GRUB 
>> can read.
>
> That requires remembering how to boot from the GRUB2 command-line, what
> the necessary kernel arguments were, etc.  Once I got past that, I could
> boot normally, I didn't need to do anything extra.

Oh right, the menu was empty, grub> prompt. So you'd have to manually type in 
linux command with grub device notation path to kernel, and initrd, and then 
boot it. Most of this is done with ls command, to see what's on all the 
partitions if you don't know which one is boot. But anyway, USB stick to the 
rescue.

My periodic problem is Lenovo firmware likes to occasionally remove efi boot 
entries. And the firmware boot manager doesn't won't read the internal drive 
system partition to create a boot list. It only shows Fedora as a boot entry if 
it's in NVRAM. And it ignores the fallback bootloaders in EFI/BOOT. So no 
matter what I need to keep a USB stick on hand.

I've been told this is spec as intended and thus not a bug. But if that's true, 
then it's a UEFI spec design flaw. Only removable drives have the ESP read and 
bootable options enumerated? What?


-- 
Chris Murphy
-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to