2013年8月11日日曜日

Windows Server 2012以降のHyper-VでWindows 2000を動かしたいのですが~

注)本記事は、サポート外の内容となっております。試される場合はすべて自己責任でお願い致します。
 Windows 2000は、2010年7月13日にサポートが完全に切れていますので、積極的な利用を薦めるものではありません。


とあることから、Windows 2000の対応を行うことになりました。
手元には、Windows Server 2012以降のHyper-Vしか用意されていなくて、Windows 2000のOS自体もHyper-Vとしてのサポートもとっくに切れています。
山市良さんのブログでこんな記事を見つけました。
Virtual Server の Windows 2000 仮想マシンを最新 Hyper-V で何とかしたい
http://yamanxworld.blogspot.jp/2013/03/virtual-server-windows-2000-hyper-v.html

しかし、手元にWindows Server 2008 R2なHyper-Vホストは無いので、どうするか考えあぐねていたところ、「Windows Server 2012の.NET Framework 3.5インストールでは、代替ソースパスを指定しているな。同じようにvmguest.isoに含まれるファイルもWindows Server 2008 R2のインストールメディアにあるのでは?」と考えました。

ということで、手元にあるWindows Server 2008 R2のメディアをマウントします。
vmguestiso01ws2008r2mount

Windows Server 2008 R2のメディアにあるsourcesフォルダーにあるinstall.wimを
vmguestiso02installwim
をローカルのディスクにコピーします。
vmguestiso03copied

作成したローカルのフォルダーへ
vmguestiso04workdire

dismコマンドでinstall.wimをマウントします。
vmguestiso05dism

ここで、Windows Server 2012 R2 PreviewなHyper-Vホストでvmguest.isoを内容を確認します。
-----
C:\Users\Administrator>dir /s g:
ドライブ G のボリューム ラベルは VMGUEST です
ボリューム シリアル番号は 3F43-9683 です
G:\ のディレクトリ
2013/03/01 07:10 130 autorun.inf
2013/07/30 21:08 support
1 個のファイル 130 バイト
G:\support のディレクトリ
2013/07/30 21:08 .
2013/07/30 21:08 ..
2013/07/30 21:08 amd64
2013/07/30 21:08 x86
0 個のファイル 0 バイト
G:\support\amd64 のディレクトリ
2013/07/30 21:08 .
2013/07/30 21:08 ..
2013/07/30 21:08 1,721,576 WdfCoInstaller01009.dll
2013/07/30 21:08 1,597,440 Windows5.x-HyperVIntegrationServices-x64.msi
2013/06/16 04:50 126 Windows5.x-HyperVIntegrationServices-x64.xml
2013/06/16 11:39 744,551 Windows6.2-HyperVIntegrationServices-x64.cab
2013/06/16 11:36 682,212 Windows6.x-HyperVIntegrationServices-x64.cab
2013/06/16 04:50 164 Windows6.x-HyperVIntegrationServices-x64.xml
2013/07/30 21:08 757,296 WindowsServer2003.WindowsXP-KB943295-x64-CHS
.exe
2013/07/30 21:08 757,808 WindowsServer2003.WindowsXP-KB943295-x64-CHT
.exe
2013/07/30 21:08 764,464 WindowsServer2003.WindowsXP-KB943295-x64-DEU
.exe
2013/07/30 21:08 774,704 WindowsServer2003.WindowsXP-KB943295-x64-ENU
.exe
2013/07/30 21:08 762,928 WindowsServer2003.WindowsXP-KB943295-x64-ESN
.exe
2013/07/30 21:08 763,952 WindowsServer2003.WindowsXP-KB943295-x64-FRA
.exe
2013/07/30 21:08 762,416 WindowsServer2003.WindowsXP-KB943295-x64-ITA
.exe
2013/07/30 21:08 777,264 WindowsServer2003.WindowsXP-KB943295-x64-JPN
.exe
2013/07/30 21:08 758,320 WindowsServer2003.WindowsXP-KB943295-x64-KOR
.exe
2013/07/30 21:08 762,928 WindowsServer2003.WindowsXP-KB943295-x64-PTB
.exe
2013/07/30 21:08 763,952 WindowsServer2003.WindowsXP-KB943295-x64-RUS
.exe
2013/07/30 21:08 ja-JP
2013/03/01 07:10 134 kmdf.inf
2013/07/30 21:08 141,424 setup.exe
19 個のファイル 13,293,659 バイト
G:\support\amd64\ja-JP のディレクトリ
2013/07/30 21:08 .
2013/07/30 21:08 ..
2013/06/16 20:57 7,680 setup.exe.mui
1 個のファイル 7,680 バイト
G:\support\x86 のディレクトリ
2013/07/30 21:08 .
2013/07/30 21:08 ..
2013/07/30 21:08 1,461,992 WdfCoInstaller01009.dll
2013/07/30 21:08 1,347,584 Windows5.x-HyperVIntegrationServices-x86.msi
2013/06/16 04:49 126 Windows5.x-HyperVIntegrationServices-x86.xml
2013/06/16 10:49 601,525 Windows6.2-HyperVIntegrationServices-x86.cab
2013/06/16 10:45 603,888 Windows6.x-HyperVIntegrationServices-x86.cab
2013/06/16 04:49 164 Windows6.x-HyperVIntegrationServices-x86.xml
2013/07/30 21:08 550,960 WindowsServer2003-KB943295-x86-CHS.exe
2013/07/30 21:08 550,448 WindowsServer2003-KB943295-x86-CHT.exe
2013/07/30 21:08 556,592 WindowsServer2003-KB943295-x86-CSY.exe
2013/07/30 21:08 556,592 WindowsServer2003-KB943295-x86-DEU.exe
2013/07/30 21:08 549,936 WindowsServer2003-KB943295-x86-ENU.exe
2013/07/30 21:08 556,080 WindowsServer2003-KB943295-x86-ESN.exe
2013/07/30 21:08 556,592 WindowsServer2003-KB943295-x86-FRA.exe
2013/07/30 21:08 558,128 WindowsServer2003-KB943295-x86-HUN.exe
2013/07/30 21:08 556,592 WindowsServer2003-KB943295-x86-ITA.exe
2013/07/30 21:08 553,008 WindowsServer2003-KB943295-x86-JPN.exe
2013/07/30 21:08 551,472 WindowsServer2003-KB943295-x86-KOR.exe
2013/07/30 21:08 557,104 WindowsServer2003-KB943295-x86-NLD.exe
2013/07/30 21:08 558,128 WindowsServer2003-KB943295-x86-PLK.exe
2013/07/30 21:08 556,592 WindowsServer2003-KB943295-x86-PTB.exe
2013/07/30 21:08 555,568 WindowsServer2003-KB943295-x86-PTG.exe
2013/07/30 21:08 557,104 WindowsServer2003-KB943295-x86-RUS.exe
2013/07/30 21:08 555,568 WindowsServer2003-KB943295-x86-SVE.exe
2013/07/30 21:08 555,568 WindowsServer2003-KB943295-x86-TRK.exe
2013/07/30 21:08 ja-JP
2013/03/01 07:09 134 kmdf.inf
2013/07/30 21:08 126,064 setup.exe
26 個のファイル 14,133,509 バイト
G:\support\x86\ja-JP のディレクトリ
2013/07/30 21:08 .
2013/07/30 21:08 ..
2013/06/16 20:57 7,680 setup.exe.mui
1 個のファイル 7,680 バイト
ファイルの総数:
48 個のファイル 27,442,658 バイト
15 個のディレクトリ 0 バイトの空き領域
-----

といろいろファイルが入っています。
で、dismコマンドでマウントしているフォルダーで、"Windows5.x-HyperVIntegrationServices-x86.msi"ファイルを検索してみます。
vmguestiso06filelocation
見つかりました!

インストールメディアの\Windows\WinSXSフォルダー配下にある"microsoft-hyper-v-g"というキーワードで再検索するとすべてのファイルを探し出せそうです。
というわけで文字列をコピーし、
vmguestiso07filelocation
検索すると出てきました。
vmguestiso08filesearch

見つかったフォルダーをコピーします。
vmguestiso09filesearch
vmguestiso10filesearch

ローカルのフォルダーにコピー完了。
vmguestiso11copied

各フォルダーに含まれるファイルを先ほどのvmguest.isoのフォルダーおよびファイル構成に沿って、ISOファイル作成用の作業フォルダーへコピーしていきます(下記の画面イメージは、それらファイルの一部です)。
vmguestiso12filecopy

vmguest.isoのフォルダーおよびファイル構成に沿ってコピーし終えました。
vmguestiso13filecopied
-----
C:\Users\Administrator>dir d:\Temp\新しいフォルダー\makeiso /s
ドライブ D のボリューム ラベルがありません。
ボリューム シリアル番号は DA1E-D486 です
d:\Temp\新しいフォルダー\makeiso のディレクトリ
2013/08/10 14:32 .
2013/08/10 14:32 ..
2009/06/11 05:34 130 autorun.inf
2013/08/10 14:33 support
1 個のファイル 130 バイト
d:\Temp\新しいフォルダー\makeiso\support のディレクトリ
2013/08/10 14:33 .
2013/08/10 14:33 ..
2013/08/10 14:32 amd64
2013/08/10 14:34 x86
0 個のファイル 0 バイト
d:\Temp\新しいフォルダー\makeiso\support\amd64 のディレクトリ
2013/08/10 14:32 .
2013/08/10 14:32 ..
2013/08/10 14:32 ja-JP
2009/06/11 05:34 134 kmdf.inf
2010/11/21 12:24 194,560 setup.exe
2009/06/11 05:34 1,490,656 WdfCoInstaller01007.dll
2010/11/21 12:24 1,498,112 Windows5.x-HyperVIntegrationServices-x64.msi
2010/11/21 12:24 467,432 Windows6.0-HyperVIntegrationServices-x64.cab
2010/11/21 12:24 467,484 Windows6.1-HyperVIntegrationServices-x64.cab
2009/06/11 05:34 757,296 WindowsServer2003.WindowsXP-KB943295-x64-CHS
.exe
2009/06/11 05:34 757,808 WindowsServer2003.WindowsXP-KB943295-x64-CHT
.exe
2009/06/11 05:34 764,464 WindowsServer2003.WindowsXP-KB943295-x64-DEU
.exe
2009/06/11 05:34 774,704 WindowsServer2003.WindowsXP-KB943295-x64-ENU
.exe
2009/06/11 05:34 762,928 WindowsServer2003.WindowsXP-KB943295-x64-ESN
.exe
2009/06/11 05:34 763,952 WindowsServer2003.WindowsXP-KB943295-x64-FRA
.exe
2009/06/11 05:34 762,416 WindowsServer2003.WindowsXP-KB943295-x64-ITA
.exe
2009/06/11 05:34 777,264 WindowsServer2003.WindowsXP-KB943295-x64-JPN
.exe
2009/06/11 05:34 758,320 WindowsServer2003.WindowsXP-KB943295-x64-KOR
.exe
2009/06/11 05:34 762,928 WindowsServer2003.WindowsXP-KB943295-x64-PTB
.exe
2009/06/11 05:34 763,952 WindowsServer2003.WindowsXP-KB943295-x64-RUS
.exe
17 個のファイル 12,524,410 バイト
d:\Temp\新しいフォルダー\makeiso\support\amd64\ja-JP のディレクトリ
2013/08/10 14:32 .
2013/08/10 14:32 ..
2010/11/21 14:52 7,168 setup.exe.mui
1 個のファイル 7,168 バイト
d:\Temp\新しいフォルダー\makeiso\support\x86 のディレクトリ
2013/08/10 14:34 .
2013/08/10 14:34 ..
2013/08/10 14:34 ja-JP
2009/06/11 06:18 134 kmdf.inf
2010/11/21 12:24 178,176 setup.exe
2009/06/11 06:17 1,112,288 WdfCoInstaller01007.dll
2010/11/21 12:24 1,056,256 Windows5.x-HyperVIntegrationServices-x86.msi
2010/11/21 12:24 408,478 Windows6.0-HyperVIntegrationServices-x86.cab
2010/11/21 12:24 408,028 Windows6.1-HyperVIntegrationServices-x86.cab
2009/06/11 06:18 550,960 WindowsServer2003-KB943295-x86-CHS.exe
2009/06/11 06:18 550,448 WindowsServer2003-KB943295-x86-CHT.exe
2009/06/11 06:18 556,592 WindowsServer2003-KB943295-x86-CSY.exe
2009/06/11 06:18 556,592 WindowsServer2003-KB943295-x86-DEU.exe
2009/06/11 06:18 549,936 WindowsServer2003-KB943295-x86-ENU.exe
2009/06/11 06:18 556,080 WindowsServer2003-KB943295-x86-ESN.exe
2009/06/11 06:18 556,592 WindowsServer2003-KB943295-x86-FRA.exe
2009/06/11 06:18 558,128 WindowsServer2003-KB943295-x86-HUN.exe
2009/06/11 06:18 556,592 WindowsServer2003-KB943295-x86-ITA.exe
2009/06/11 06:18 553,008 WindowsServer2003-KB943295-x86-JPN.exe
2009/06/11 06:18 551,472 WindowsServer2003-KB943295-x86-KOR.exe
2009/06/11 06:18 557,104 WindowsServer2003-KB943295-x86-NLD.exe
2009/06/11 06:18 558,128 WindowsServer2003-KB943295-x86-PLK.exe
2009/06/11 06:18 556,592 WindowsServer2003-KB943295-x86-PTB.exe
2009/06/11 06:18 555,568 WindowsServer2003-KB943295-x86-PTG.exe
2009/06/11 06:18 557,104 WindowsServer2003-KB943295-x86-RUS.exe
2009/06/11 06:18 555,568 WindowsServer2003-KB943295-x86-SVE.exe
2009/06/11 06:18 555,568 WindowsServer2003-KB943295-x86-TRK.exe
24 個のファイル 13,155,392 バイト
d:\Temp\新しいフォルダー\makeiso\support\x86\ja-JP のディレクトリ
2013/08/10 14:34 .
2013/08/10 14:34 ..
2010/11/21 14:52 7,168 setup.exe.mui
1 個のファイル 7,168 バイト
ファイルの総数:
44 個のファイル 25,694,268 バイト
17 個のディレクトリ 1,196,204,822,528 バイトの空き領域
-----

ここからISOファイル作成ツールを使ってISO化します。今回は、ISOWorkshopを使いました。
vmguestiso14isoworkshop
vmguestiso15isoworkshop
vmguestiso16sourcelocation
vmguestiso17isoworkshop
vmguestiso18isoworkshop
vmguestiso19isoworkshop

ということで、目的のvmguest.isoができました。
vmguestiso20completed

次回は、Windows 2000 SP4にインストールしてみます。

0 件のコメント:

コメントを投稿