HyperEnclave / hyperenclave

An Open and Cross-platform Trusted Execution Environment.
Apache License 2.0
130 stars 15 forks source link

Errors on updating grub configuration #4

Closed jt0129 closed 10 months ago

jt0129 commented 10 months ago

修改/etc/default/grub后,执行sudo update-grub出现该报错。

cz-chenzhou commented 10 months ago

This means command no5lvl isn't found. You should append the configurations for GRUB_CMDLINE_LINUX to the double quotes. For example, the old configurations is GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8", after update, the configurations should be GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8 memmap=4G\\\$0x100000000 intel_iommu=off intremap=off no5lvl"

jt0129 commented 10 months ago

Oh thanks, I appended the configurations after the double quotes before, now I move the configurations into the double quotes and it runs. Appreciate for your help~