WinXP
{例子05}03:14 2021-08-15
{例子06}
`软件: WinXP_VHD_2011
``创建VHD: C:10g.vhd, 动态扩展, VHD, Win7x64.gho;
```自动完成 创建与Ghost;
`能正常安装, 由于不够13G的最小安装空间, 后期会出错;
`修改磁盘大小: C:10g.vhd
``BOOTICEx64v133=>磁盘镜像=>VHD文件信息=>重设容量; (50g)
``Win7PE下 分区神器DiskGenius 调整分区大小(1分钟)
``安装失败, 蓝屏136;
`结论: VHD-Win7的安装, VHD文件存放区域需要有足够的磁盘空间
``不然 安装启动时蓝屏;
{例子06}13:30 2021-08-15
{VHD磁盘文件自动加载}
`VHD磁盘文件自动加载.bat
rem 自动加载VHD
echo select vdisk file="d:vhd10g-MC1122" >a.txt
echo attach vdisk >>a.txt
echo assign letter=g
diskpart /s a.txt
del a.txt
`VHD磁盘文件自动加载.bat
echo off
Mode con cols=50 lines=10
ren "c:vhd10g-MC1122" "10g-MC1122.vhd"
rem 自动加载VHD
echo select vdisk file="c:vhd10g-MC1122.vhd" >a.txt
echo attach vdisk >>a.txt
echo select partition 1 >>a.txt
echo assign letter=g >>a.txt
diskpart /s a.txt
del a.txt
echo attach vdisk readonly
{VHD磁盘文件自动加载} 03:11 2021-08-15
{VHD缩小占用的磁盘空间}
VHD磁盘 占用空间的压缩, 用Ghost软件 空白VHD磁盘 磁盘与磁盘对拷贝;
{VHD缩小占用的磁盘空间}03:13 2021-08-15
{VHD磁盘参数修改}
`BOOTICEx64v133=>磁盘镜像=>VHD文件信息=>重设容量;
`Win7PE下 分区神器DiskGenius 调整分区大小(1分钟)
{VHD磁盘参数修改} 03:18 2021-08-15