Update 2: The Fedora
grub2-common package has been updated to fix the bug, so this problem should no longer occur for anyone regardless of install date. The below fix steps are no longer necessary, but make sure you update your packages to get the fix.
Update: The latest install images (dated 202308291436 or newer) are now fixed and will no longer trigger this problem.
Users who installed earlier still need to perform the fix below.
There is a major bug due to an interaction between the Fedora grub2-common package and the way Kiwi builds our images. All existing users are at risk.
If your system is unbootable (hangs on boot after the U-Boot screen), reboot and break into the u-boot prompt, then type the following series of commands (assuming you have a standard Fedora Asahi install and it is the first/single Linux install on your system, adjust partition numbers 4 and 5 to your EFI and boot partition indices otherwise):
fatrm nvme 0:4 EFI/fedora/grub.cfg bootflow scan clear set root=hd0,5 set prefix=(hd0,5)/grub2 normal $prefix/grubenv blscfg normal $prefix/grubenv
Select the latest kernel from the GRUB menu (may not be the first), then once booted run these Linux commands to fix your system permanently and reboot again.
sudo dnf upgrade sudo dnf reinstall -y grub2-common sudo grub2-mkconfig -o /boot/grub2/grub.cfg
New users are still broken and must run the above commands at this time. We’re trying to get this fixed in future images/packages.
Also, this is a good time to remind everyone running older installs to switch to kernel-16k if you have not already done so.