再谈从虚拟磁盘文件启动计算机
??????????Widows 7???VHD????????(???????????),????????????????Aviraj Ajgekar???????????Vista SP1???VHD????????,???????????,??????????(????)
???????:
1. ?????Windows 7?????
2. U???
3. Vista??Widows 7???????
4. ??????Vista???(?????)
------------????????------------
?????Vista???????VHD??,??????????
- ??Windows 7?????(?????VHD???)
- ??Vista?????
- ?Windows 7???????Vista?????
??Windows 7?????
?????VHD?????,???????????VHD????????Windows 7????????????,?????????Windows 7?????????????Vista??????Windows 7????????:BootMgr?BCDEdit.exe. BootMgr???????????,BcdEdit.exe?C:\Windows\System32?????
????????Windows 7???,?????U?,??????????????:
C:\windows\system32>xcopy /h /y bcdedit.exe f:\ (F??U????)
/H - ?????????
/Y - ?????????YES??
C:\>cd\
C:\>xcopy /h /y bootmgr f:\
???????U???,???
??Vista?????
???Vista???????,?????????????:
????Vista,?????????????:
C:\windows\system32>cd\
C:\>xcopy /y /h bootmgr bootmgr.sav
Press f after prompted
C:\>cd Windows\System32
C:\windows\system32> xcopy /y /h bcdedit.exe bcdedit.sav
Press f after prompted
?Windows 7???????Vista?????
????????,????????Windows 7????????????Vista???????Vista????????,???Windows?????(??Windows PE?????),?????????:.
C:\>attrib bootmgr –s –h –r (Note: C: Vista?????)
Attribute command with –s –h –r changes the System, Hidden and Read Only attributes of a given file.
C:\>e: (Note: E: ????Windows 7?????U?)
E:\>xcopy /y /h bootmgr c:\bootmgr
E:\>xcopy /y /h bcdedit.exe c:\windows\system32
??!???,??????Windows 7??,?Vista??VHD?????!
------------??????------------
??:
1. ??????????,????????????????????
2. ????????????????????
3. ????????????,??????:-)