我正在我的电脑上安装 kali linux。在安装install the grub boot loader on a hard disk. 我正在尝试使用 grub 作为引导加载程序安装 kali linux,但该步骤失败了。
Error: GRUB installation failed.
The 'grub-pc' package failed to install into /target/. Without the GRUB boot loader, the installed system will not boot.
Run Code Online (Sandbox Code Playgroud)
我使用了可启动的随身碟。
类似 grub 安装失败的错误消息。我该怎么办 ?
我用 kali linux 制作了一个 rufus usb insatller。然后手动安装,安装系统后,我一直在安装 grub 引导负载
Grub installation failed
the grub-pc package failed to install into /target without the GRUB boot loader this installed system will not boot
Run Code Online (Sandbox Code Playgroud)
然后我选择执行一个shell,
mount --bind /dev /target/dev
mount --bind /dev/pts /target/dev/pts
mount --bind /proc /target/proc
mount --bind /sys /target/sys
chroot /target /bin/bash
root@kali:/# apt-get install grub-pc
reading package list done
building package list done
building dependency tree
reading state information done
packege grub-pc is not available ,but is reffered to by anther package this may mean that the package is missing, has been obsoloted or is only available from another source
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
103982 次 |
| 最近记录: |