- 使用U盘进入引导界面 按C
-
grub>set root=(hd1,gtp10) grub>ls / this to see boot grub> ls /boot/ you can see vmlinz-3.16.0-4-amd64 initrd.img-3.16.0-4-amd64
-
grub>linux /boot/vmlinz-3.16.0-4-amd64 root=/dev/sda10
-
grub> initrd /boot/initrd.img-3.16.0-4-amd64
-
grub> boot
Now you can boot debian8.4
- # grub-install
This command line show error
- # mount
to see /boot/EFI on /dev/sdax
-
# mount /dev/sdax /mnt
-
# mv /mnt/EFI/debian /root
-
# grub-install
-
# update-grub
-
# efibootmgr
-
# reboot
https://wiki.archlinux.org/index.php/GRUB
时间: 2024-12-17 01:05:14