我在扩展分区中安装了 Windows 8.1 和 Kali Linux。出于某种原因,我只格式化了安装和重新安装 Windows 的分区。现在它只启动到 Windows 并且不显示 grub。
我正在使用实时 USB 并尝试重新安装 grub:
grub-install --boot-directory=/mnt/boot /dev/sda
Run Code Online (Sandbox Code Playgroud)
并得到错误:
grub-install :command not found
Run Code Online (Sandbox Code Playgroud) grub ×1