fedora-silverblue / issue-tracker

Fedora Silverblue issue tracker
https://fedoraproject.org/atomic-desktops/silverblue/
123 stars 3 forks source link

Failed to write boot loader configuration with Silverblue 41 on Framework 13 #614

Closed alexjg closed 1 week ago

alexjg commented 1 week ago

I’ve just received a brand new DIY Framework 13 and I wanted to give Silverblue a try. I created an install USB using Fedora Mediawriter and started the installation. I used the automatic disk formatting option but ticked the box to encrypt my data and chose a passphrase and then let the installer get on with it.

At some point I received an error that read something like “failed to write boot loader configuration”. I click to let it continue installing but on reboot I got a GRUB error screen.

At first I thought this might be a failure in the hardware, so just to check I created a Fedora Workstation install USB on the same USB stick and installed that using the same options and that worked fine.

This reproduces reliably. I've tried using different USB sticks and I've also encountered the same issue when attempting to install Bluefin. I would love to provide you with some logs but it wasn't immediately obvious to me how to get them off of the device during installation. I'm quite happy to run through the installation again and take photographs of the screen if that would help, just let me know what I should be getting photographs of.

travier commented 1 week ago

This is likely https://github.com/fedora-silverblue/issue-tracker/issues/284 / https://bugzilla.redhat.com/show_bug.cgi?id=1575957.

Make sure to wipe your /boot & /efi partitions before the installation, either via a Live ISO, the console, or in the advanced disk setup option.

alexjg commented 1 week ago

Can you describe what I should do in the advanced disk setup option to achieve this? It sounds like you're suggesting that I manually create the partitions in order to ensure that the /efi and /boot partitions are removed but I'm not sure what partitions I should actually create.

travier commented 1 week ago

You need to make sure they are wiped / reformatted. If you are not dual booting, you can remove all partitions, then use the default layout.

alexjg commented 1 week ago

So I ran the installation again intending to do as you suggest but it looks like the successful installation of Workstation (which was the last thing I did before submitting this issue) has also wiped /efi and /boot partitions because the installation of Silverblue succeeded this time.

Thus, one easy way to fix this particular problem is to install vanilla Workstation, then immediately install Silverblue.

OnyxAzryn commented 1 week ago

I actually just got my new Framework 13 today and tried to install Silverblue as well using automatic partitioning with encryption and faced the same exact issue on a brand new SSD. However, I cannot seem to get passed this problem no matter what I do. I tried formatting the partitions, deleting and recreating them, and even tried to install Workstation then Silverblue, but none of these worked.

travier commented 1 week ago

Please provide logs or at least a screenshot of the error message.