- remove grub
apt purge --allow-remove-essential grub2-common grub-pc-bin grub-pc grub-gfxpayload-lists grub-efi-amd64-bin grub-efi-amd64-signed grub-common os-prober shim-signed libfreetype6
apt-get autoremove --purge
rm -rf /boot/grub/
rm -rf /boot/efi/EFI/ubuntu
- make sure it's not installed back
- edit
/etc/apt/apt.conf.d/01autoremove
- edit
- add
"grub*";
at the end of theNever-MarkAuto-Sections
section