【教程】先安装linux后装windows的方法
Tofloor
poster avatar
herdde
deepin
2017-06-26 06:48
Author
本帖最后由 herdde 于 2017-7-9 13:35 编辑

安装环境:BIOS + MBR
Reply Favorite View the author
All Replies
avatar
herdde
deepin
2017-06-27 02:04
#1
本帖最后由 herdde 于 2017-6-28 18:29 编辑

准备两个U盘,使用U盘1制作pe,下载super grub2 disk刻录到U盘2
第一部分:安装win
用pe启动,重建分区表,新建一个主分区,格式化为NTFS,激活主分区,设为活动分区,安装win
第二部分:修复grub
安装完后使用U盘2启动,引导到linux修复grub,在终端输入
sudo grub-install  /dev/sda
sudo grub-mkconfig -o /boot/grub/grub.cfg
sudo update-grub



Reply View the author
avatar
873792861
deepin
2017-06-27 03:25
#2
gpt,双硬盘,win安装在固态,Linux安装在机械硬盘的,这样子可以你这个方法可以吗?
Reply View the author
avatar
herdde
deepin
2017-06-27 03:35
#3
本帖最后由 herdde 于 2017-6-26 19:36 编辑
https://bbs.deepin.org/post/141600
gpt,双硬盘,win安装在固态,Linux安装在机械硬盘的,这样子可以你这个方法可以吗? ...

不知道,没有双硬盘,你可以试试
不过gpt和mbr引导方法不同

Reply View the author
avatar
deepin--
deepin
2017-06-27 03:38
#4
我是2个固态,一个ssd装一个系统,win的efi分区在win的ssd ,linux的efi在linux的ssd,这样就先装哪个都一样了...
Reply View the author
avatar
y***z@tom.com
deepin
2017-06-27 05:51
#5
工具:WINPE、BOOTICE、 GRUB。再配置一下。
Reply View the author
avatar
herdde
deepin
2017-06-27 05:52
#6
https://bbs.deepin.org/post/141600
工具:WINPE、BOOTICE、 GRUB。再配置一下。

关键的东西你不说,具体配置方法呢?
Reply View the author
avatar
y***z@tom.com
deepin
2017-06-27 06:13
#7
https://bbs.deepin.org/post/141600
关键的东西你不说,具体配置方法呢?

https://bbs.deepin.org/post/139552
Reply View the author
avatar
A·S·M·X·T 😏😜
deepin
2017-06-27 06:47
#8
BIOS + MBR你还不如在Linux下dd备份硬盘mbr,安装后在win用工具(或者Linux liveCD)还原。又快又方便
Reply View the author
avatar
herdde
deepin
2017-06-27 06:49
#9
https://bbs.deepin.org/post/141600
BIOS + MBR你还不如在Linux下dd备份硬盘mbr,安装后在win用工具(或者Linux liveCD)还原。又快又方便 ...

具体方法?
Reply View the author
avatar
A·S·M·X·T 😏😜
deepin
2017-06-28 22:17
#10
本帖最后由 liululin 于 2017-6-28 14:44 编辑

在deepin下备份硬盘前446b文件 sudo dd if=/dev/sda of=~/grub.mbr.bak bs=446 count=1
安好win后进deepin liveCD还原 sudo dd if=备份的位置/grub.mbr.bak of=/dev/sda bs=446 count=1
重启就可进入deepin,执行一次sudo update-grub后win启动项就加到了deepin的grub上了。
win下也有这些工具
Reply View the author
avatar
herdde
deepin
2017-06-29 02:39
#11
https://bbs.deepin.org/post/141600
在deepin下备份硬盘前446b文件 sudo dd if=/dev/sda of=~/grub.mbr.bak bs=446 count=1
安好win后进deepin ...

这种方法安装win的过程都是一样的,只是修复grub过程不一样,我的是引导到deepin,这个是恢复mbr
win下也有这些工具?
Reply View the author
avatar
herdde
deepin
2017-06-29 03:00
#12
https://bbs.deepin.org/post/141600
这种方法安装win的过程都是一样的,只是修复grub过程不一样,我的是引导到deepin,这个是恢复mbr
win下也 ...

http://blog.csdn.net/boboroychen/article/details/61614947
这里是512
Reply View the author
avatar
A·S·M·X·T 😏😜
deepin
2017-06-29 05:19
#13
https://bbs.deepin.org/post/141600
http://blog.csdn.net/boboroychen/article/details/61614947
这里是512

512b包含: 446b引导空间  64分区表 2b结束标志。



如果安装win时改变过分区用512就有问题(比如分区丢失);而用446只要deepin的分区没变化,就没什么问题
Reply View the author
avatar
窄口牛
deepin
2017-06-29 07:43
#14
玩linux最好用grub2做主引导,不要主引导win再转grub2,bcd是个个注册表文件,它是动态的,容易出问题。
Reply View the author
avatar
窄口牛
deepin
2017-06-29 07:44
#15
混合模式多硬盘,只能在一个硬盘上做系统,两种模式硬盘,都要启动,成功率非常低。
Reply View the author