Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
【已解决】【求助】请问双硬盘,双系统怎么启动windows
Experiences and Insight
751
views ·
2
replies ·
To
floor
Go
owen19
deepin
2017-12-13 04:19
Author
本帖最后由 owen19 于 2017-12-13 13:29 编辑
我的情况比较特殊,Acer4741g笔记本本身不支持uefi gtp,但是我将光驱位的硬盘搞成gtp了,在其上安装了windows 7(WinPE安装的),请问怎么启动?
owen@owen-PC:~$ sudo fdisk -l
[sudo] owen 的密码:
Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 5661F48C-8094-4E6B-8D9E-B2BC2B5A5924
Device Start End Sectors Size Type
/dev/sdb1 34 262177 262144 128M Microsoft reserved
/dev/sdb2 262184 63176743 62914560 30G Microsoft basic data
/dev/sdb3 63176744 419694591 356517848 170G Microsoft basic data
/dev/sdb4 419694592 839124991 419430400 200G Microsoft basic data
/dev/sdb5 839124992 976773119 137648128 65.7G Microsoft basic data
Partition 1 does not start on physical sector boundary.
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe5abdebd
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 8390655 8388608 4G 82 Linux swap / Solaris
/dev/sda2 8390656 71305215 62914560 30G 83 Linux
/dev/sda3 * 71305216 234440703 163135488 77.8G 83 Linux
Copy the Code
Windows是安装在了
/dev/sdb2上,请大神帮帮忙啊~~~~~~
Reply
Like 0
Favorite
View the author
All Replies
RedPanda
deepin
2017-12-13 06:12
#1
重装下系统吧,这是最简单的解决方式了。看你目前情况是grub引导的,但是grub引导文件要写入一些信息才能引导到另外一个硬盘上启动。我之前研究过,但没太看懂怎么写入。
Reply
Like 0
View the author
owen19
deepin
2017-12-13 21:27
#2
本帖最后由 owen19 于 2017-12-13 13:28 编辑
自己百度反复尝试终于搞定了
首先将gtp转换为mbr(用DG)
然后添加启动项如下
1> grub4dos的情况
title Boot up Windows if installed
map (hd0) (hd1)
map --hook
errorcheck off
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
find --set-root --ignore-floppies --ignore-cd /io.sys
chainloader /io.sys
errorcheck on
Copy the Code
2> grub2的情况
menuentry "Windows 7" {
insmod chain
insmod ntfs
search --no-floppy --set=root -f /bootmgr
drivemap -s (hd0) ${root}
chainloader +1
boot
search --no-floppy --set=root -f /ntldr
drivemap -s (hd0) ${root}
chainloader +1
boot
search --no-floppy --set=root -f /io.sys
drivemap -s (hd0) ${root}
chainloader +1
boot
}
Copy the Code
Reply
Like 0
View the author
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 Ranking
Change
Looking Deepin ci 25.2.0 Developer/Unstable repositories
Popular Events
More
我的情况比较特殊,Acer4741g笔记本本身不支持uefi gtp,但是我将光驱位的硬盘搞成gtp了,在其上安装了windows 7(WinPE安装的),请问怎么启动?
Windows是安装在了/dev/sdb2上,请大神帮帮忙啊~~~~~~