Double entry fix errors out in the ujust script (Bazzite GNOME Desktop Unstable)

Now this could be just unstable f41 image being well unstable but when using the ujust configure-grub and picking the Fix double ostree entry option this appears in the terminal
~
❯ ujust configure-grub
Grub menu configuration
Grub menu is set to: Hidden
find: ‘/usr/lib/ostree-boot/efi/EFI/fedora/’: No such file or directory
install: missing destination file operand after '/boot/efi/EFI/fedora/'
Try 'install --help' for more information.
Generating grub configuration file ...
Adding boot menu entry for UEFI Firmware Settings ...
done
~
❯ ujust configure-grub
Grub menu configuration
Grub menu is set to: Hidden
find: ‘/usr/lib/ostree-boot/efi/EFI/fedora/’: No such file or directory
install: missing destination file operand after '/boot/efi/EFI/fedora/'
Try 'install --help' for more information.
Generating grub configuration file ...
Adding boot menu entry for UEFI Firmware Settings ...
done
again this could be unstable being unstable and its not the biggest deal since I have grub hidden rpm-ostree status:
~
❯ rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:unstable
Digest: sha256:873f9862d460780387c2458df9739c6a6bb3bbd9676460070dba3501315d681c
Version: unstable-41.20241022 (2024-10-22T14:30:40Z)
LayeredPackages: edk2-ovmf libvirt qemu virt-manager

ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:stable
Digest: sha256:cdc448e1818b0f44e0fd0882fe0bf590b408259395da457cf15bebd209224b2c
Version: 40.20241020 (2024-10-21T05:01:41Z)
LayeredPackages: edk2-ovmf libvirt qemu virt-manager
~
❯ rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:unstable
Digest: sha256:873f9862d460780387c2458df9739c6a6bb3bbd9676460070dba3501315d681c
Version: unstable-41.20241022 (2024-10-22T14:30:40Z)
LayeredPackages: edk2-ovmf libvirt qemu virt-manager

ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:stable
Digest: sha256:cdc448e1818b0f44e0fd0882fe0bf590b408259395da457cf15bebd209224b2c
Version: 40.20241020 (2024-10-21T05:01:41Z)
LayeredPackages: edk2-ovmf libvirt qemu virt-manager
6 Replies
wolfyreload
wolfyreload2mo ago
I can reproduce on bazzite-gnome-nvidia:unstable-41.20241022, going to rebase on stable and test there
Max
MaxOP2mo ago
going to check on stable as well This error does not appear in stable build
wolfyreload
wolfyreload2mo ago
Thanks for checking 🙂 next thing to check is if the script changed recently and see if there is a pull request out to fix it.
Max
MaxOP2mo ago
You're welcome its always conveient I can go back and forth between stable and unstable to troubleshoot stuff
wolfyreload
wolfyreload2mo ago
Yeah it's something I really love about Bazzite. I still have my first install from March because I can actually rollback rather than re-install when there are issues
Krin
Krin2mo ago
These errors:
find: ‘/usr/lib/ostree-boot/efi/EFI/fedora/’: No such file or directory
install: missing destination file operand after '/boot/efi/EFI/fedora/'
Try 'install --help' for more information.
find: ‘/usr/lib/ostree-boot/efi/EFI/fedora/’: No such file or directory
install: missing destination file operand after '/boot/efi/EFI/fedora/'
Try 'install --help' for more information.
Come from /usr/sbin/grub2-switch-to-blscfg. There's some Silverblue discussions about how 41 broke this script in the process of doing a bunch of other stuff. https://github.com/fedora-silverblue/issue-tracker/issues/120 You can be very dangerous and if you're absolutely certain you're using EFI bypass that script. I would consider having a live USB on hand and backup the /etc/grub.cfg and /etc/grub-efi.cfg before running these commands.
sudo touch /boot/grub2/.grub2-blscfg-supported
ujust regenerate-grub
sudo touch /boot/grub2/.grub2-blscfg-supported
ujust regenerate-grub
Sauce: Been slamming my head against this for a few days and just finally fixed my own double entries in grub. ^_^
Want results from more Discord servers?
Add your server