小白求助
Tofloor
poster avatar
shadiao807966768
deepin
2017-08-30 08:41
Author
机子是windows10,windows7,ubuntu16.04(坏了),deepin15.4.1四系统。
开机的grub界面原来只有2个,deepin和ubuntu,经过sudo update-grub和sudo update-grub2之后检测出了windows10,但无法进入。
求dalao帮忙啊,因为我还想进windows7呢...
Reply Favorite View the author
All Replies
avatar
smallkk
deepin
2017-08-30 09:09
#1
这4个系统你都是装的真机  ??  在Linux和Windows共存的状态下,Linux启动级别要比Windows启动级别高;我知道的有两种,一种是你用PE工具进去WIN-PE下修复一下windows的启动引导,第二种是在Linux系统里面修改一个配置文件,是系统启动项的一个配置文件里面就设置了哪个系统优先启动;你现在的状态应该是默认启动Linux系统了
Reply View the author
avatar
shadiao807966768
deepin
2017-08-30 09:41
#2
smallkk 发表于 2017-8-30 01:09
这4个系统你都是装的真机  ??  在Linux和Windows共存的状态下,Linux启动级别要比Windows启动级别高;我知 ...

全都是真机,通过网上的教程我进入grub输入指令之后是进入windows7的开机启动项,只有两个windows,通过这样的方法可以进入win7和win10,但是重启还是需要手动的,我现在是想在deepin的启动界面上加上win7
Reply View the author
avatar
shadiao807966768
deepin
2017-08-30 09:41
#3
smallkk 发表于 2017-8-30 01:09
这4个系统你都是装的真机  ??  在Linux和Windows共存的状态下,Linux启动级别要比Windows启动级别高;我知 ...

现在不是默认的问题,是选项里面没有win7,win10是有的
Reply View the author
avatar
comzhong
deepin
2017-08-30 10:02
#4
本帖最后由 comzhong 于 2017-8-30 02:18 编辑

deepin_win_custom.cfg.zip

解压 custom.cfg 出来放到 /boot/grub/ ,里面的选项启动时会自动添加到后面,需要的话也可以自己修改,比如下面


通过 bootmgr  启动 第一硬盘第二分区 (hd0,1) 上的Windows,两种写法,但是要 引导文件 bootmgr 和 Windows 系统 在同一分区,用pe 对每个Windows修复一下,引导分区和系统分区选择同一分区就会有相关启动文件了。系统分区挂载管理1.4.0.zip
  1. menuentry 'legacy BIOS Windows Boot Manager 菜单'  {
  2.         insmod ntldr
  3.         set root=(hd0,1)
  4.         ntldr /bootmgr

  5. menuentry 'legacy BIOS Windows Boot Manager 菜单'  {
  6.         set root=(hd0,1)
  7.         chainloader +1
Copy the Code


通过  bootmgfw.efi 启动 ESP 分区( 第一硬盘第二分区 (hd0,1) )上的  UEFI Windows Boot Manager 菜单,UEFI 时 grub2 不能直接启动Windows
  1. menuentry 'UEFI Windows Boot Manager 菜单'  {
  2.         set root=(hd0,1)
  3.         chainloader /EFI/Microsoft/Boot/bootmgfw.efi
  4. }
Copy the Code


Reply View the author
avatar
smallkk
deepin
2017-08-30 10:02
#5
Win8,Win10  和  Win7,XP  两种系统的启动机制不一样;额,可能有些麻烦,倒腾的这么难受你还不如装在虚拟机里玩。爱莫能助 你百度吧
Reply View the author
avatar
smallkk
deepin
2017-08-30 10:19
#6
https://bbs.deepin.org/post/144839
解压 custom.cfg 出来放到 /boot/grub/ ,里面的选项启动时会自动添加到后面,需要的话也可以自己修改, ...

向大神致敬
Reply View the author