ValdikSS / Super-UEFIinSecureBoot-Disk

Super UEFIinSecureBoot Disk: Boot any OS or .efi file without disabling UEFI Secure Boot
734 stars 112 forks source link

Can i overwrite existing grub2 with this to disable secure boot? #7

Closed neigga closed 3 years ago

neigga commented 4 years ago

i have pre-installed ubuntu partition with full root/physical access. can i overwrite existing grub2 files with these to disable secureboot?

ValdikSS commented 4 years ago

Yes, you can probably rename your original bootx64.efi or grubx64.efi to grubx64_real.efi, then copy bootx64.efi and grubx64.efi from the disk, and it should work. But why would you want that? It's easier to either disable Secure Boot or disable validation in Shim (using mokutil --disable-validation).