lorrin的个人博客分享 http://blog.sciencenet.cn/u/lorrin

博文

ubuntu启动菜单恢复步骤

已有 1896 次阅读 2015-3-19 09:53 |个人分类:电脑知识|系统分类:科普集锦| 电脑知识

平时常用windows和ubuntu两个系统,有时候会重装windows操作系统会导致grub菜单没有,修复过程如下:

1. 用ubuntu安装盘启动

2. sudo -i

3. fdisk -l

找到ubuntu boot所在区,比如sda4

4. mkdir /mnt/temp

mount /dev/sda4 /mnt/temp

5. sudo grub-install --root-directory=/mnt/temp /dev/sda

6.重启

7. 终端输入: sudo update-grup

大功告成



https://blog.sciencenet.cn/blog-105615-875530.html

上一篇:基于cuda的深度学习资料记录
下一篇:ubuntu14.04安装gtx980 cuda
收藏 IP: 210.27.11.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-23 13:21

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部