Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
【求助】双系统装deepin回不去win10了
Experiences and Insight
1998
views ·
4
replies ·
To
floor
Go
sherlockdai
deepin
2019-01-29 16:11
Author
大佬们,我是纯新手,笔记本上两块固态硬盘,原来的时候是两个win10装在不同的硬盘上,今天把旧固态上的win10抹去装上了deepin,但是这样就进不去win10了,启动菜单里只有deepin 15.9 和 system setup。BIOS里另一块固态硬盘直接不见了,只能看到装deepin的这块硬盘。但是我在deepin的文件管理器中是可以看到这两个硬盘的,作为两个内置磁盘(非系统盘的数据盘?)显示在文件管理器中。
试了一下网上的方法,就是加入这一行代码的:
menuentry "Windows 10" { insmod part_msdos insmod ntfs set root='(hd0,msdos1)' chainloader +1 }
我用sudo vi /boot/grub/grub.cfg 进去,不管是用!wq 还是 :w !sudo tee %就是修改不了;即使修改了,保存了以后,我按照网上说的sudo update-grub,grub文件也会回到原来的样子
我又上网查了一下,有个Boot-Repair,但是好像只能Ubuntu装,小弟真的崩溃了,要是进不去Windows我可就gg了,求各位老哥帮助啊!
Reply
Like 0
Favorite
View the author
All Replies
gongsong
deepin
2019-01-29 18:53
#1
你先确定 用 文件管理器 能不能打开你的win10盘,看看你的系统文件在不在有没有损坏,没有问题的话update-grub是能自动识别到win10的,另外你上面的参数也是有问题的 (hd0,msdos1) hd0指第一块硬盘,msdos1指第一个分区,
我的win在第二个硬盘,第二个分区
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 10 (on /dev/sdb2)' --class windows --class os $menuentry_id_option 'osprober-chain-0009EEFD000592AE' {
insmod part_msdos
insmod ntfs
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root 0009EEFD000592AE
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
Reply
Like 0
View the author
Comments
sherlockdai
2019-02-02 03:29
谢谢你的回复,我把两个系统都重装了…重装的过程中发现好像是因为win10硬盘是gpt,deepin默认装了mbr格式(?),导致了问题
yuelanghan
deepin
2019-01-29 23:44
#2
bios 恢复默认设置保存重启
Reply
Like 0
View the author
jmjoy
deepin
2019-01-30 06:29
#3
两块硬盘的话在bios那里进入啊,开机前狂按F12即可
Reply
Like 0
View the author
younger_321
deepin
2019-01-30 21:46
#4
方案1 BIOS中改uefi为legacy启动 方案2 不用sudo vi /boot/grub/grub.cfg 1. sudo vi /etc/default/grub 2. 修改其配置grub-default为windows值 3. sudo update-grub 方案3 先卸掉你那个装了deepin的盘。。
Reply
Like 0
View the author
Comments
sherlockdai
2019-02-02 03:29
谢谢你的回复,我把两个系统都重装了…重装的过程中发现好像是因为win10硬盘是gpt,deepin默认装了mbr格式(?),导致了问题
Please
sign
in first
Featured Collection
Change
[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 Events
More
试了一下网上的方法,就是加入这一行代码的:
menuentry "Windows 10" { insmod part_msdos insmod ntfs set root='(hd0,msdos1)' chainloader +1 }
我用sudo vi /boot/grub/grub.cfg 进去,不管是用!wq 还是 :w !sudo tee %就是修改不了;即使修改了,保存了以后,我按照网上说的sudo update-grub,grub文件也会回到原来的样子
我又上网查了一下,有个Boot-Repair,但是好像只能Ubuntu装,小弟真的崩溃了,要是进不去Windows我可就gg了,求各位老哥帮助啊!