Error: grub_is_shim_lock_enabled
, prevents me from using my portable linux m.2 drive on any computer
错误:GRUB_IS_SHIM_LOCK_ENABLED,阻止我在任何计算机上使用我的便携式Linux M.2驱动器
I know that this error appears to prevent unauthorized users from booting your Linux drive on any computer other than yours!
我知道这个错误似乎是为了防止未经授权的用户在除您之外的任何计算机上启动您的Linux驱动器!
the goal I want to reach is :
我想要达到的目标是:
How to make my external m.2 Linux run on any computer, Just plug and run!!!!
Loading Linux Linux-zen...
error: symbol `grub_is_shim_lock_enabled` not found
Loading initial ramdisk
error: symbol `grub_is_shim_lock_enabled` not found
press any key to continue
don't recommend me to do live-boot iso from a USB stick and then do chroot to do:
不建议我从USB棒做live-boot iso,然后做chroot来做:
grub-install --disable-shim-lock
GRUB-INSTALL--DISABLE-shim-lock
also tried :
to install refind and all those help me in rebooting on the main computer, but I want my external m.2 Linux to be directly bootable on any computer (not just mine)!
我也试过了:安装refind,所有这些都可以帮助我在主计算机上重新启动,但我希望我的外部M.2 Linux可以在任何计算机(不仅仅是我的)上直接启动!
also, the errors are regenerated when unplugging my external m.2 Linux from the main machine, It requires me to do chroot reapply refind-install, and change the priority boot drive in bios, such a pain!
另外,当我从主机上拔出外部M.2 Linux时,错误会重新生成,这需要我重新应用chroot重新查找-安装,并在bios中更改优先启动驱动器,这样的痛苦!
更多回答
优秀答案推荐
Looks like a (widening) problem. This thread from summer 2023 shows a couple of bugs filed in support of it, as well as some voodoo from recent followon threads, and most people's workaround: downgrade grub for now until the bug gets addressed.
看起来像是一个(扩大的)问题。这篇2023年夏天的帖子显示了几个支持它的错误,以及最近关注的帖子中的一些巫毒,以及大多数人的解决办法:暂时降低GRUB的级别,直到错误得到解决。
更多回答
我是一名优秀的程序员,十分优秀!