How do I remove duplicates from the boot menu?

When installing bazzite on a dual boot config I forgot to enroll the key the first time so I deleted the partition and installed again but now I have 2 entries for bazzite on grub, they both boot to the same place so I would like to get rid of one, is it possible?
5 Replies
Peteydog
Peteydog4w ago
By default there should be 2 entries in the grub menu: ...ostree:0 ...ostree:1 If there are more than that there's a ujust command that regenerates the grub config, which may fix your issue
Dmarinas3283
Dmarinas32834w ago
Rpm-ostree cleanup -r if the newest version is working correctly
Bacon
BaconOP4w ago
Oh, it`s supposed to have 2 entries of ostree? I was thinking i did something wrong during the install process
Peteydog
Peteydog4w ago
the 2 entries exist so that if something happens to ostree:0 (the current boot) you can easily reboot to something that worked previously (ostree:1)
LordFalconBridge
Side note: you didn't really have to reinstall if you forgot to enroll the secure boot key Should've run
ujust enroll secure-boot-key
ujust enroll secure-boot-key
after bazzite install in thr terminal.

Did you find this page helpful?