Reference Guide
34 重要情報
手順 :
1
Windows Server 2008
のインストールメディアから
boot\boot.sdi
を
C:\boot
(デフォルトでは、このフォルダは
Windows
エクスプ
ローラ内に隠れています)にコピーします。
2
以下の一連のコマンドを使用して、
BCD
ストア内に
ramdiskoptions
オブジェクトを作成します。
bcdedit /create {ramdiskoptions} /d "Ramdisk options"
bcdedit /set {ramdiskoptions} ramdisksdidevice
partition=c:
bcdedit /set {ramdiskoptions} ramdisksdipath
\boot\boot.sdi
ストリング
{ramdiskoptions}
は、オブジェクトの
GUID
(グローバルユニーク識別子)の有名な名前です。
3
次のコマンドを使用して、新しいブートエントリを作成します。
bcdedit -create /d "Windows PE boot" /application
OSLOADER
このエントリにより、
WINPE
から起動するオプションが使用できる
ようになります。
4
手順
3
により、新しく作成されたブートエントリに関連付けられた
GUID
が返されます。これは以下の例では
NewGUID
と記されてい
ます。以下の一連のコマンドを実行して、ブートエントリを設定し
ます。
bcdedit /set {NewGUID} device ramdisk=
[c:]\sources\boot.wim,{ramdiskoptions}
bcdedit /set {NewGUID} path
\windows\system32\boot\winload.exe
bcdedit /set {NewGUID} osdevice ramdisk=
[c:]\sources\boot.wim,{ramdiskoptions}
bcdedit /set {NewGUID} systemroot \windows
bcdedit /set {NewGUID} winpe yes
bcdedit /set
{NewGUID} detecthal yes
bcdedit /displayorder {NewGUID} /addlast
5
これで、システム起動時に追加の起動オプション
Windows PE
boot
が用意されており、
c:\sources\boot.wim
からの起動に使用
できます。










