When I started my computer today, GRUB was blocked by this message :
Ubuntu has been blocked by the current security policy
I'm using a Lenovo Yoga, Ubuntu 18.04 LTS dual-booted with Windows 10. This window didn't let me access to GRUB, even by forcing booting to Ubuntu by accessing the MBR menu (with Fn + F12). My lonely choice was an OK on that message, and the computer booted automatically on Windows 10.
So I disabled Secure boot into BIOS settings, and that solved the previous issue, BUT I would like to solve it inside Ubuntu rather than in BIOS. My BIOS is in UEFI mode.
Yesterday, nothing special done, just update (and I removed Jonathonf python 3.6 PPA, which removed public access with
sudo add-apt-repository -r ppa:jonathonf/python-3.6, because python packages won't let system to update).
What must I change into Ubuntu parameters to avoid this issue? So I could re-enable Secure boot inside BIOS.
How could I solve this issue without disable Secure boot BIOS option?
NB : I tried a solution from this Ubuntu forum link
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get -f install
sudo apt-get install grub-efi-amd64-signed
But after re-enabling it, it didn't work.