-210843013

用还是用ls (hd0,X)/grub命令查看每个盘里面的内容,

情况一 :如果你是在/boot/grub这个目录下找到的

 

grub rescue>root=(hd0,9)         

grub rescue>prefix=/boot/grub                 //grub路径设置         

grub rescue>set root=(hd0,9)         

grub rescue>set prefix=(hd0,9)/boot/grub

grub rescue>insmod normal                     //启动normal启动

grub rescue>normal

情况二 :如果你是在/grub这个目录下找到的

 

 grub rescue>root=(hd0,9)         

grub rescue>prefix=/grub                         //grub路径设置         

grub rescue>set root=(hd0,9)         

grub rescue>set prefix=(hd0,9)/grub         

grub rescue>insmod normal                   //启动normal启动

grub rescue>normal

之后你就能见到启动项了,然后进入系统。

sudo update-grub

sudo grub-install /dev/sda 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-06-04
  • 2021-06-16
  • 2021-07-13
  • 2022-12-23
  • 2022-01-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-14
  • 2022-12-23
  • 2022-03-15
  • 2021-04-19
  • 2021-11-12
  • 2022-12-23
相关资源
相似解决方案