开机grub rescue怎么办,玩炸了
Tofloor
poster avatar
132******02
deepin
2017-09-09 17:40
Author
本帖最后由 q13140676165 于 2017-9-9 14:23 编辑

刚开始安装了testdisk瞎点,发现多了一个lba什么的分区,就重启电脑,就变成这样了,求告知如何开机

Reply Favorite View the author
All Replies
1 / 3
To page
avatar
billy123456
deepin
2017-09-09 18:13
#1
ls           
Reply View the author
avatar
132******02
deepin
2017-09-09 18:16
#2
Reply View the author
avatar
billy123456
deepin
2017-09-09 18:21
#3
我的意思是叫你ls,不是叫你ls (hd0,0),把ls之后的东西发一下
Reply View the author
avatar
billy123456
deepin
2017-09-09 18:22
#4
ls (hd0,msdos5)试试
Reply View the author
avatar
132******02
deepin
2017-09-09 18:29
#5

ls出来的是5,3,2,1,我都试了,用ls (hd0,msdos5)不管是几出现的都是unknow
Reply View the author
avatar
billy123456
deepin
2017-09-09 19:10
#6
https://bbs.deepin.org/post/145272
ls出来的是5,3,2,1,我都试了,用ls (hd0,msdos5)不管是几出现的都是unknow

你有livecd吗?
Reply View the author
avatar
132******02
deepin
2017-09-09 19:15
#7
billy123456 发表于 2017-9-9 11:10
你有livecd吗?

我只有deepin系统安装优盘,什么是livecd
Reply View the author
avatar
comzhong
deepin
2017-09-09 20:27
#8
q13140676165 发表于 2017-9-9 11:15
我只有deepin系统安装优盘,什么是livecd

安装界面,按ctrl+alt+f2 ,然后输入startx。
Reply View the author
avatar
billy123456
deepin
2017-09-09 20:34
#9
https://bbs.deepin.org/post/145272
我只有deepin系统安装优盘,什么是livecd

deepin的安装u盘其实就是一种livecd
Reply View the author
avatar
132******02
deepin
2017-09-09 20:54
#10
billy123456 发表于 2017-9-9 12:34
deepin的安装u盘其实就是一种livecd

然后怎么操作能,兄弟
Reply View the author
avatar
billy123456
deepin
2017-09-09 20:58
#11
https://bbs.deepin.org/post/145272
然后怎么操作能,兄弟

看九楼,连接网络,然后ctrl alt t打开终端,sudo apt install gparted&&sudo gparted给我看看你的分区情况
Reply View the author
avatar
132******02
deepin
2017-09-09 21:11
#12
https://bbs.deepin.org/post/145272
看九楼,连接网络,然后ctrl alt t打开终端,sudo apt install gparted&&sudo gparted给我看看你的分区情 ...


Reply View the author
avatar
132******02
deepin
2017-09-09 21:15
#13
billy123456 发表于 2017-9-9 12:58
看九楼,连接网络,然后ctrl alt t打开终端,sudo apt install gparted&&sudo gparted给我看看你的分区情 ...

我分四个区的。一个/,一个boot,一个交换空间,一个home
Reply View the author
avatar
billy123456
deepin
2017-09-09 21:24
#14
https://bbs.deepin.org/post/145272
我分四个区的。一个/,一个boot,一个交换空间,一个home

哪个是boot区?
Reply View the author
avatar
132******02
deepin
2017-09-09 21:26
#15
billy123456 发表于 2017-9-9 13:24
哪个是boot区?

就是五百兆的sdb2
Reply View the author
avatar
billy123456
deepin
2017-09-09 21:29
#16
本帖最后由 billy123456 于 2017-9-9 13:34 编辑
https://bbs.deepin.org/post/145272
就是五百兆的sdb2

sudo umount /dev/sda2sudo mkdir /mnt/boot
sudo mount /dev/sda2 /mnt/boot
sudo grub-install /dev/sda --root-directory=/mnt
sudo reboot
Reply View the author
avatar
132******02
deepin
2017-09-09 21:45
#17
https://bbs.deepin.org/post/145272
sudo umount /dev/sda2sudo mkdir /mnt/boot
sudo mount /dev/sda2 /mnt/boot
sudo grub-install /dev/sda ...

why?
Reply View the author
avatar
billy123456
deepin
2017-09-09 22:00
#18

你是mbr还是gpt或者是其他分区表?
Reply View the author
avatar
132******02
deepin
2017-09-09 22:01
#19
不知道,我用的安装优盘分的区
Reply View the author
avatar
132******02
deepin
2017-09-09 22:04
#20
billy123456 发表于 2017-9-9 13:29
sudo umount /dev/sda2sudo mkdir /mnt/boot
sudo mount /dev/sda2 /mnt/boot
sudo grub-install /dev/sda ...

deepin安装优盘分的区,从前是win10mbr的,我用安装盘全部格式化一个硬盘都是deepin
Reply View the author
1 / 3
To page