文章詳情頁
在Vista上使用VHD啟動Windows 7
瀏覽:2日期:2023-06-16 10:13:43
;以下的操作需要: 1. 干凈安裝的Windows 7計算機一臺 2. U盤一個 3. Vista或者Widows 7的啟動光盤一張 4. 你想要折騰的Vista計算機(一臺或多臺) 為了在安裝Vista的計算機上使用VHD啟動,我們需要下面三個步驟 復(fù)制Windows 7的引導(dǎo)文件(啟動包含對VHD的支持) 備份Vista的引導(dǎo)文件 用Windows 7的引導(dǎo)文件替換Vista的引導(dǎo)文件 復(fù)制Windows 7的引導(dǎo)文件 為了能夠從VHD啟動計算機,機器的引導(dǎo)文件必須支持VHD格式文件的讀寫。Windows 7的引導(dǎo)文件包含了這一功能,我們需要做的就是把Windows 7的引導(dǎo)文件復(fù)制出來并且覆蓋Vista的引導(dǎo)文件。Windows 7的引導(dǎo)文件有兩個:BootMgr和BCDEdit.exe. BootMgr通常在系統(tǒng)分區(qū)的根目錄,BcdEdit.exe在C:WindowsSystem32文件夾下。 找一臺工作正常的Windows 7計算機,連接上一個U盤,并用管理員權(quán)限執(zhí)行以下的命令: C:windowssystem32>xcopy /h /y bcdedit.exe f:;(F盤是U盤的盤符) /H - 復(fù)制隱藏和系統(tǒng)文件 /Y; - 對確認提示進行默認YES應(yīng)答 C:>cd C:>xcopy /h /y bootmgr f: 完成后安全的把U盤拔下,備用。 備份Vista的引導(dǎo)文件,在替換Vista的引導(dǎo)文件之前,我們必須進行備份。步驟如下: 啟動進入Vista,用管理員權(quán)限執(zhí)行以下的命令: C:windowssystem32>cd C:>xcopy /y /h bootmgr bootmgr.sav Press f after prompted C:>cd WindowsSystem32 C:windowssystem32>xcopy /y /h bcdedit.exe bcdedit.sav Press f after prompted 用Windows 7的引導(dǎo)文件替換Vista的引導(dǎo)文件 這是最關(guān)鍵的一步,我們需要把之前從Windows 7提出出來的引導(dǎo)文件復(fù)制到Vista上。我們可以用Vista安裝盤啟動計算機,并進入Windows恢復(fù)工作臺(或者Windows PE啟動計算機),并且執(zhí)行下面的操作:. C:>attrib bootmgr –s –h –r;;(Note:; C: Vista的系統(tǒng)分區(qū)) Attribute command with –s –h –r changes the System, Hidden and Read Only attributes of a given file. C:>e:; (Note:; E: 之前備份Windows 7引導(dǎo)文件的U盤) E:>xcopy /y /h bootmgr c:bootmgr E:>xcopy /y /h bcdedit.exe c:windowssystem32 搞定!接下來,您就可以像在Windows 7一樣,從Vista啟動VHD鏡像文件了!
標(biāo)簽:
Windows系統(tǒng)
相關(guān)文章:
排行榜
