Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
重装GRUB怎么出现这个怎么解决?
Experiences and Insight
1360
views ·
1
replies ·
To
floor
Go
wxldpj
deepin
2016-01-16 00:34
Author
本帖最后由 wxldpj 于 2016-1-15 16:38 编辑
因为之前重装win7把GRUB给破坏了,论坛里找了很多种方法总算是能进入deepin了不容易啊!看到进入界面我都快哭了,(是用windows 系统硬盘安装linuxdeepin)这个教程里恢复 linuxdeepin 方法,按照教程进系统后是要重装GRUB的。但进入deepin 后重装GRUB时出现下面提示:
$ sudo grub-install /dev/sda
Searching for GRUB installation directory ... found: /boot/grub
The file /boot/grub/stage1 not read correctly.
然后在网上找了很多教程说是
编辑/etc/mtab发现/的分区设备不对要修改就行了,我找了半天没找到mtab文件,怎么修改也没说明,
大神出来吧!我被折腾的死去活来的,快崩溃了。
我试着升级系统看看发现
~$ sudo apt-get dist-upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在对升级进行计算... 完成
下列软件包是自动安装的并且现在不需要了:
grub-pc-bin
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
这个是要我卸载的意思吗?
Reply
Like 0
Favorite
View the author
All Replies
MattD
deepin
2016-01-16 01:00
#1
因为你装的是grub-legacy,grub-legacy才会包含stage1,stage1_5这些文件。
需要安装grub2才行:
sudo apt-get install grub2
Copy the Code
然后再继续操作就行。
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More
因为之前重装win7把GRUB给破坏了,论坛里找了很多种方法总算是能进入deepin了不容易啊!看到进入界面我都快哭了,(是用windows 系统硬盘安装linuxdeepin)这个教程里恢复 linuxdeepin 方法,按照教程进系统后是要重装GRUB的。但进入deepin 后重装GRUB时出现下面提示:
$ sudo grub-install /dev/sda
Searching for GRUB installation directory ... found: /boot/grub
The file /boot/grub/stage1 not read correctly.然后在网上找了很多教程说是编辑/etc/mtab发现/的分区设备不对要修改就行了,我找了半天没找到mtab文件,怎么修改也没说明,大神出来吧!我被折腾的死去活来的,快崩溃了。
我试着升级系统看看发现
~$ sudo apt-get dist-upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在对升级进行计算... 完成
下列软件包是自动安装的并且现在不需要了:
grub-pc-bin
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
这个是要我卸载的意思吗?