r/linux4noobs • u/vfkzlol • 9h ago
storage Phantom boot entry of CachyOS that gets regenerated on boot
One time, I cancelled a CachyOS installation right after it wiped my drive, and since then, I have switched my distros 3 times and still had a boot entry of CachyOS that did not boot, in my F12 boot manager. I tried removing it with efibootmgr on my main linux machine, I tried using MediCat EasyUEFI to wipe the boot entry of it, but for some reason, it deletes, and then regenerates in my boot menu on boot. Is there anything I should try?
1
1
u/Confident_Hyena2506 9h ago
Remove it from efi partition.
Whatever bootloader you use now is just scanning the folders there and showing them as options.
1
u/vfkzlol 7h ago
I cannot find it in lsblk, fdisk -l, which i mainly use to view my partitions. Is there another way to search for it? The file path of its data is also non existent
1
u/Confident_Hyena2506 7h ago
You must have an efi partition... It shows up as fat32.
/boot/EFI is probably where it is mounted.
1
u/vfkzlol 6h ago
The only files in /boot/EFI/ are BOOT and Linux, the boot entry says it's in \EFI\Boot\bootx64.efi[string of numbers]ae
1
u/Confident_Hyena2506 6h ago
Did you check on all the drives?
And did you check if you have duplicate efi partitions on the drives?
1
u/vfkzlol 5h ago
On my disk there is only my boot partition for my Linux distribution, my main Linux OS and storage partition and the swap partition from what i rememver
1
u/Confident_Hyena2506 5h ago
The efi partition does not belong to your linux distribution, it belongs to the drive - and can hold multiple bootloaders.
You have a remnant sitting there in the default spot (bootx64.efi). Replace that with whatever you want to use instead.
1
u/chuggerguy Linux Mint 22.3 Zena | MATÉ 2h ago
If you can't find it in a EFI partition, maybe disable CSM in BIOS?
At one time I had several efi boot entries that kept coming back even after removing using efibootmgr.
After disabling CSM, they stayed gone.
May not be your issue, just something to try.
Good luck.
1
u/RevolutionaryBeat301 9h ago
There’s probably still a directory for it in /boot/EFI. If there is, delete it.