I use rEFInd for dual-boot with Windows 10 on my PC and I want to remove GRUB because I don't use it and OS boots from rEFInd directly, without GRUB (after rEFInd installation, I removed ubuntu
directory from /boot/efi/EFI
).
Can I do this safely? If so, how?
Сurrent contents of my /boot/efi/EFI
:
maxim@ProBook:~$ sudo ls /boot/efi/EFI
Boot Microsoft refind tools
Installed GRUB packages:
maxim@ProBook:~$ dpkg -l | grep grub
ii grub-common 2.02~beta2-36+elementary11+r2~ubuntu0.4.1 amd64 GRand Unified Bootloader (common files)
ii grub-efi-amd64 2.02~beta2-36+elementary11+r2~ubuntu0.4.1 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version)
ii grub-efi-amd64-bin 2.02~beta2-36+elementary11+r2~ubuntu0.4.1 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 binaries)
ii grub-efi-amd64-signed 1.66.2+elementary11~ubuntu0.4.1+2.02~beta2-36ubuntu3 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version, signed)
ii grub2-common 2.02~beta2-36+elementary11+r2~ubuntu0.4.1 amd64 GRand Unified Bootloader (common files for version 2)
Thank you in advance!
ubiquity
installer with the--no-bootloader
flag to skip grub:ubiquity --no-bootloader
. Linked answer is for ubuntu 12, also works well on ubuntu 18. This skips installingshim-signed
so third-party DKMS modules/drivers (nvidia etcetera) require manual signing for secure boot usingkmodsign
of/lib/modules/x.y.z/updates/dkms/*.ko
(also after each update). – Joel Purra May 06 '19 at 11:31