第三部分 多VHD启动
第一部分:在没有系统的硬盘上使用VHD安装Windows 7 详见 Win7的颠覆性的功能--将Win 7安装在VHD上(上) 第二部分:在Windows XP或Vista(2008)上挂载VHD安装Windows 7 详见 Win7的颠覆性的功能--将Win 7安装在VHD上(中)
9日晚,在2楼的步骤地基础上准备安装windows 2008 r2,实现多VHD启动 由于我没有在单机上安装过Windows Server 2008 R2,只能说是一次尝试,在安装的过程中出现了一些问题,一会叙述在已经安装好的Windows XP上安装了Windows 7 VHD系统后,我启动了Windows 7,为什么没有像2楼所述步骤使用Windows 2008 r2安装光盘启动进入CMD命令行进行相关操作呢 我在实验中用Windows 2008 r2光盘启动后进入CMD命令行内,发现imagex.exe无法使用 
我考虑使用另外一种方案,在Windows 7上安装 第一步 创建Windows Server 2008 R2的VHD 启动Windows 7,启动CMD,启动diskpart后,list vlou 
- select disk 0
- create vdisk file=d:\win2008r2.vhd maximum=20000
- select vdisk file=d:\win2008r2.vhd
- attach vdisk
- create partition primary
- format fs=ntfs quick
- assign letter=p
- list volume
复制代码
第二步 将Windows Server 2008 R2的install.wim灌入VHD - imagex /apply f:\sources\install.wim 5 p:
复制代码

第三步 修改BCD,添加Windows Server 2008 R2启动项 - bcdedit /copy {current} /d "Windows Server 2008 R2"
复制代码将显示的<guid>: {06027884-f600-11dd-9f41-fab678786341}复制下来,在下面要使用 - bcdedit /set {06027884-f600-11dd-9f41-fab678786341} device vhd=[D:]\win2008r2.vhd
- bcdedit /set {06027884-f600-11dd-9f41-fab678786341} osdevice vhd=[D:]\win2008r2.vhd
- bcdedit /set {06027884-f600-11dd-9f41-fab678786341} detecthal on
复制代码
完成! 重新启动系统,我们可以看到启动项 
不足,这样启动的Windows 2008 R2启动图像是Vista的,好像不能激活。(正在研究中,最近工作比较忙,希望各位高手指导一下) 附加一些资料 Standard Application Objects
Description
| BCDEdit ID
| GUID
| Windows Boot Manager
| {bootmgr}
| 9dea862c-5cdd-4e70-acc1-f32b344d4795
| Firmware Boot Manager
| {fwbootmgr}
| a5a30fa2-3d06-4e9f-b5f4-a01df9d1fcba
| Windows Memory Tester
| {memdiag}
| b2721d73-1db4-4c62-bf78-c548a880142d
| Windows Resume Application
| No alias
| 147aa509-0358-4473-b83b-d950dda00615
| Legacy Windows Loader
| {ntldr}
| 466f5a88-0af2-4f76-9038-095b170dc21c
| Current boot entry
| {current}
| fa926493-6f1c-4193-a414-58f0b2456d1e
| Default boot entry
| {default}
|
|
更多Windows 7 技巧讨论,请移步至远景论坛 Windows 7版块(https://bbs.pcbeta.com/forum.php?gid=181) |