/boot contains a symlink to itself

See screenshot, is this normal? Safe to remove, or should it just be left alone? For background: I originally was dual booting with Windows on same drive. Wiped the Windows partition out last week and was having a peek to see if I could easily clean out the boot partitions and remove the entry from GRUB without having to do a full reinstall on an empty disk. Noticed this tonight. (Also, appreciate any help or links to decent resources on removing windows from boot/grub).
No description
6 Replies
dreamyuki
dreamyuki•2mo ago
this is normal just leave it as it is
Waffles
WafflesOP•2mo ago
ty
wolfyreload
wolfyreload•2mo ago
With regards to your Windows question. Are you dual booting on the same disk or Bazzite and Windows on seperate drives? You can remove the boot entry for Windows using the efibootmgr tool. Have a look in efibootmgr --help, your commant would look something like sudo efibootmgr --bootnum xxxx --delete-bootnum If you using seperate drives, make sure that you don't have any references to your Windows drives on /etc/fstab and you can just nuke windows using KDE Partition Manager (or gnome disks) If it's on the same drive it's harder. You'd need to boot something with a Live USB (I use Linux Mint), fire up gparted, remove the Windows partition and extend the Bazzite btrfs partition. If you do this, you need to back up anything important as things can go wrong
Waffles
WafflesOP•2mo ago
Thanks, yeah on the same drive. I've already done the gparted step to remove windows part and extend bazzite. And I've done a efibootmgr --delete-bootnum for the windows boot num. I've just got the grub removal steps to go, and whatever else to actually clear windows out of the efi/boot partition. ujust regenerate-grub can still see the windows boot mgr for example.
wolfyreload
wolfyreload•2mo ago
oh ok, so you were sharing an EFI partition with Windows. In that case open up /boot/efi/EFI and you'll see a folder called Microsoft you should be able to remove that it will no longer pick up Windows After that do a ujust regenerate-grub and it should only pick up Bazzite
Waffles
WafflesOP•2mo ago
awesome! thanks 🙂

Did you find this page helpful?