
我嘗試根據以下方法在 USB 驅動器上安裝 Kali Linux本文。我被困在第五步了。
當我運行這個命令時:
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=kali-grub --boot-directory=/boot --removable --recheck --debug
它會傳回以下錯誤:
grub-install: Error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory
我已經應用了一些找到的解決方案,但該命令未成功運行。
我該如何解決這個問題?