an operating system wasn't found.Try disconnecting any drives that don't …...
Tofloor
poster avatar
jerryjiang
deepin
2016-11-22 08:29
Author
本帖最后由 jerryjiang 于 2016-11-22 00:31 编辑

情况描述:
win10+deepin,今天通过u盘live cd使用gparted将win10盘分了10个g给linux盘,linux正常启动,但是win10挂了,然后通过winpe使用引导修复,和diskgenius重建MBR导致deepin又崩了,然后按照以前“Missing operating system”(https://bbs.deepin.org/post/45310#)的操作恢复了deepin,但是win10引导却没有了,然后修改/boot/grub/grub.cfg,
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry "Windows 10" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
chainloader +1
}

### END /etc/grub.d/40_custom ###

引导里能够显示windows10,但是进入出现“An operating system wasn't found.Try disconnecting any drives that don't ……press Ctrl+Alt+Del to restart”这样的问题。
目前只能进入deepin,感觉win10挂了。

请问还能不能救回win10?
谢谢!!!

Reply Favorite View the author
All Replies
avatar
h***a@gmail.com
deepin
2016-11-22 17:09
#1
楼主在deepin下的终端执行如下命令,看能否找到windows10。

sudo os-prober 搜索其他系统

sudo update-grub 更新启动项设置

Reply View the author
avatar
jerryjiang
deepin
2016-11-22 17:47
#2
nalan 发表于 2016-11-22 09:09
楼主在deepin下的终端执行如下命令,看能否找到windows10。

sudo os-prober 搜索其他系统

XXX@XX:~$ sudo os-prober
[sudo] XXX的密码:
XXX@XXX:~$ sudo update-grub
Generating grub configuration file ...
Found theme: /boot/grub/themes/deepin/theme.txt
Found background image: /boot/grub/themes/deepin/background.png
Found linux image: /boot/vmlinuz-4.4.0-3-deepin-amd64
Found initrd image: /boot/initrd.img-4.4.0-3-deepin-amd64
Found linux image: /boot/vmlinuz-4.4.0-2-deepin-amd64
Found initrd image: /boot/initrd.img-4.4.0-2-deepin-amd64
done
XXX@XXX:~$



没找到,是不是系统文件损坏了?
Reply View the author