Today I have updated my Lenovo Ideapad 330 - 81FL laptop with the latest 7ZCN34WW BIOS and it wiped the Debian Secure Boot entry I have installed. I performed a manual installation using these information sites and a Debian 10 live CD:
https://debamax.com/blog/2019/04/19/an- ... in-debian/
https://cryptsetup-team.pages.debian.ne ... -boot.html
After installing the system with debootstrap, I installed GRUB with this:
Code: Select all
echo "GRUB_ENABLE_CRYPTODISK=y" >>/etc/default/grub
echo "GRUB_DISABLE_OS_PROBER=true" >>/etc/default/grub
update-initramfs -u
grub-install --uefi-secure-boot --target=x86_64-efi --boot-directory=/boot --efi-directory=/boot/efi --bootloader-id=Debian
update-grub
How can I safely re-install the boot UEFI entry for my system? I'm planing to boot with the latest Debian 10 live, mount everything and chroot in order to re-apply the GRUB commands above. Do you see any problem with my strategy?
This situation will definitely happen to other people having laptops with Secure Boot/UEFI setups.