1.运行终端,输入命令:
sudo
fdisk
-l
找到linux所在的盘符,例如/dev/sdaX
2.获取root权限
3.mount
mount –bind /proc /mnt/proc mount –bind /dev /mnt/dev mount –bind /sys /mnt/sys
4.输入命令:
grub-
install
--root-directory=
/mnt
/dev/sda
1.运行终端,输入命令:
sudo
fdisk
-l
找到linux所在的盘符,例如/dev/sdaX
2.获取root权限
3.mount
mount –bind /proc /mnt/proc mount –bind /dev /mnt/dev mount –bind /sys /mnt/sys
4.输入命令:
grub-
install
--root-directory=
/mnt
/dev/sda