![]() MODULES="all_video cat chain configfile disk echo \Įxt2 efi_gop efifwsetup efi_uga fat file font gfxmenu gettext gfxterm \ I then used grub-install with a bunch of modules. After some more search and frustration, I realized that grub was unable to load some modules (since they are not signed) needed for booting. However, it was unable to actually boot either linux or windows. Now things were going a little better: grub at least started correctly. After banging my head on the desk for a while, I tried to also sign the grub image: sbsign -key /etc/efikeys/db.key -cert /etc/efikeys/db.crt -output /boot/efi/gentoo/grub圆4.efi grub圆4.efi.back Except that I was still getting the red error message about trying to load unsigned code. I thought that everything should have worked now. sbsign -key /etc/efikeys/db.key -cert /etc/efikeys/db.crt -output /boot/vmlinuz-6.1.2.signed /boot/vmlinuz-6.1.2 I then proceeded to sign my kernel with sbsign using the newly created certificate. Cleared the motherboard keys and uploaded the compound onesĪfter that, I confirmed that the keys were successfully loaded with efi-readvar.I saved the efi keys (PK, PEK, db, dbx).In order to restore my dual booting and keep secure boot on, I followed Sasaki's guide on secure boot. After enabling the latter, my dual booting setup was for naught, and after a red error message I was redirected to windows 11. I then discovered that I could set the secure boot policy to either Other OS (as it already was) or Windows UEFI (which actually checked the microsoft provided signatures, I guess). The fact is, in my motherboard's (asus z370f) bios menu the secure boot option was enabled. After that some apps started complaining that secure boot was not enabled. Recently, I updated windows 10 to windows 11. I boot on the linux drive with grub2, where I can choose either Gentoo or Windows (added by os-prober). I am currently dual booting Gentoo and Windows (on two different disks). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |