I have a dual boot Windows 10 + Ubuntu 18.04, I wanted to install Centos 7 which I did. That broke my Ubuntu boot!
- I deleted Centos 7 (partitions), deleted
/boot/efi/EFI/centosfolder/bootis in a different partition
- Ran
grub-mkconfig -O /boot/grub/grub.cfg - It keeps generating using
linux, initrdinstead oflinuxefi, initrdefi.
Why?
FYI, my secure boot is disabled in the bios.
I'd like to just delete the whole /boot/efi partition and reinstall grub and the config. Is that possible? How about windows 10's boot?
I wish grub's information was much cleaner, it's so confusing.
Sources: * Modify GRUB permanently
linuxefi, initrdefi, why I can't boot ubuntu saying it can't findlinux and initrd? And why I can finally boot ubuntu if I replace withlinuxefi? – None Sep 21 '19 at 22:02grub-pc or what, I'm using grub installed by default with Ubuntu and onlygrub-mkconfig. – None Sep 21 '19 at 22:03/boot/efi/EFI/ubuntu. Why didn't you delete/boot/efi/EFI/centos. Seems you just killed Ubuntu's bootloader. I'd recommend to make use of boot-repair to reinstall Ubuntu's grub. Do not delete the/boot/efi-partition, it would destroy WIndows bootloader as well. – mook765 Sep 21 '19 at 22:35/boot/efi/EFI/centosfolder. After usingboot-repair, it worked. I wonder what boot-repair does more thangrub-mkconfigandgrub-install. Thanks! – None Sep 21 '19 at 23:01