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 

  • 相关阅读:
    在ASP.NET MVC中使用DropDownList引用。呵呵。
    获取泛型对象
    Tomcat JVM 初始化加大内存
    Tomcat6.0 连接池的配置
    @ResponseBody与Ajax
    c3po数据库连接池中取出连接
    SpringMVC
    JQuery发送Ajax请求
    Java生成验证码
    Spring初学
  • 原文地址:https://www.cnblogs.com/-210843013/p/5456403.html
Copyright © 2011-2022 走看看