我读到除了使用Linux Foundation 的 PreLoader或Linux Foundation 的 Secure Boot System使用 shim 和签名的 GRUB 二进制文件进行安全启动之外,还有另一种方法,但我该如何使用它?
/boot/efi/并且至少包含一个名为EFI. 从平台角度(您的计算机)来看,此文件夹\EFI\处于启动阶段。( /media/my_efi_system_partition/EFI= \EFI\)\EFI\BOOT\loader.efi. 一些像gummiboot这样的加载器需要正确配置。\EFI\BOOT\bootx64.efi并HashTool.efi在同一目录下。您可以在Rod Smith 的网站上找到更详细的解释。
如果您仔细按照说明操作并启用了安全启动,您应该在下次启动时看到以下屏幕,这些屏幕会引导您注册未签名加载程序的哈希,否则会破坏信任链。
????????????????????????????????????????????????????????????????????????????????
? Failed to start loader ?
? ?
? It should be called loader.efi (in the current directory) ?
? Please enrol its hash and try again ?
? ?
? I will now execute HashTool for you to do this ?
? ?
? ?
? ?????? ?
? ? OK ? ?
? ?????? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
????????????????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????????????????????
? Select Binary ?
? ?
? The Selected Binary will have its hash Enrolled ?
? This means it will Subsequently Boot with no prompting ?
? Remember to make sure it is a genuine binary before Enroling its hash ?
? ?
? ?
? ??????????????????????? ?
? ? Enroll Hash ? ?
? ? Reboot to UEFI Menu ? ?
? ? Reboot System ? ?
? ? Exit ? ?
? ??????????????????????? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
????????????????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????????????????????
? Select Binary ?
? ?
? The Selected Binary will have its hash Enrolled ?
? This means it will Subsequently Boot with no prompting ?
? Remember to make sure it is a genuine binary before Enroling its hash ?
? ?
? ?
? ???????????????? ?
? ? ../ ? ?
? ? loader.efi ? ?
? ? HashTool.efi ? ?
? ? bootx64.efi ? ?
? ???????????????? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
????????????????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????????????????????
? Enroll this hash into MOK database? ?
? ?
? File: \loader.efi ?
? Hash: 8D1B74227CB2EE6B23B829595B761BAA34D171337F70D44ABF542D5318BDBA08 ?
? ?
? ?
? ?
? ?
? ??????? ?
? ? No ? ?
? ? Yes ? ?
? ??????? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
????????????????????????????????????????????????????????????????????????????????
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
17988 次 |
| 最近记录: |