zoukankan      html  css  js  c++  java
  • 关于linux开机进入grub问题的解决方法

    用还是用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 

  • 相关阅读:
    设计模式之三:Abstract Factory(转)
    设计模式之二:adapter模式(转)
    设计模式之一:设计原则(转)
    双链表操作
    单链表操作
    C#-Activex插件操作指南
    积分源码上线
    換友情鏈接
    企业短信群发
    掉了,全掉了。
  • 原文地址:https://www.cnblogs.com/-210843013/p/5456403.html
Copyright © 2011-2022 走看看