usb boot...
TRANSCRIPT
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
1
Windows XP Embedded 開発-2
USB Boot 2.0を使った機器開発
FUJITSU SOFTWARE TECHNOLOGIES LIMITEDMASAAKI Okumura (Windows Embedded MVP)
Agenda
Introduction
USB 2.0 Boot イメージ開発
トラブルシュート
リソース
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
2
Windows XP Embedded 開発-2
Introduction
USB Boot とは何ですか?
USB メディア
フラッシュメモリ媒体からのWindows XP Embedded の起動
USB Boot による機器開発のシナリオ
Introduction
Windows XP Embedded を UFD から起動する機能
Windows XP Embedded SP2 FP 2007 からの新機能
Embedded Enabling Feature (EEF)
サードパーティから USB 媒体からのブートソリューションが提供されていますが、今回Windows XP Embeddedの機能として提供いたします
USB Boot とは?
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
3
Windows XP Embedded 開発-2
Introduction
コスト面でコンパクトフラッシュより優れる代替ストレージ
リムーバブルメディア
増加する容量
コストの低下
広い有用性
CFの転送速度 : 10~20MB/sec(一般的なハイスピードタイプ)
USB 2.0 の転送速度 : 60MB/sec(最大理論値)
USB メディア
Introduction
Case1
ボード上に存在する CF スロットを利用
⇒すべてのボードに CF スロットが存在するわけではない
Case2
IDE-CF 変換アダプタを利用
⇒変換アダプタはハードウェアコストがかかる
Case3
FlashDisk を利用
⇒コストがかかる
Case4!!
USB 経由の媒体から起動
⇒現在利用されるボードには USB は搭載されている
⇒注意:BIOS の USB ブートサポートが必要
フラッシュメモリ媒体からWindows XP Embedded を起動したい
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
4
Windows XP Embedded 開発-2
Introduction
プライマリストレージとして UFD を採用する
シンクライアント
展開とサービス
簡単な展開が可能
アップデートの際には UFD を挿しかえるだけ
OS の診断とトラブルシュート
UFD にツールを格納し、ハードウェアやソフトウェアのリペア
ログの採取など
現場などでとりあえずログファイルを採取したい
USB Boot による機器開発のシナリオ
USB 2.0 Boot イメージ開発
UFD の準備
OS のビルドと展開
USB 2.0 Boot と EWF
OS イメージ構築時の注意点
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
5
Windows XP Embedded 開発-2
USB 2.0 Boot イメージ開発
Windows XP 上で UFDPREP を使用するOr
Windows Vista 上で DISKPART を使用する
UFD の準備
USB 2.0 Boot イメージ開発UFDPREP on Windows XP
USB メディアフォーマットツール
UFDPREP.EXE [/y] [/verify] [/size] [/size=n] [/ntfs] <Letter>
コマンドプロンプトから実行
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
6
Windows XP Embedded 開発-2
USB 2.0 Boot イメージ開発DISKPART on Windows Vista
Diskpart:ディスクを操作するツール
Diskpart>
select disk
create partition
select partition
active
format fs=XXX
assign
USB 2.0 Boot イメージ開発
TAP.exe よりデバイス情報を取得(pmqファイル)
pmq ファイルを Target Designer よりインポート
コンポーネントの組み込み
USB Boot 2.0 コンポーネントの組み込み
依存関係のチェック
ビルド
UFD にコピー
OS のビルドと展開
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
7
Windows XP Embedded 開発-2
USB 2.0 Boot イメージ開発USB 2.0 Boot と EWF
EWF RAMモード、RAM-Reg モードをサポート
RAM オーバーレイによる UFD の保護
EWF RAM オーバーレイのために空き領域を確保してください
USB 2.0 Boot イメージ開発
可能な限りのサービスの停止
フットプリントを削減
コマンドシェル、カスタムシェル等の使用
使用しないハードウェアは削除
Minlogon
メモリ使用量の削減
ディスクアクセスの削減
ログ出力の無効化
バックグラウンドデフラグの停止
OS イメージ構築時の注意点
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
8
Windows XP Embedded 開発-2
USB Boot イメージのビルド
トラブルシュート
USB 2.0 Boot の要件
USB 2.0 Boot の制限
困った時には?
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
9
Windows XP Embedded 開発-2
トラブルシュート
BIOS が USB 2.0 からのブートをサポートしている
UFD スペック
Hi-speed USB 2.0
最低でも 9 MB/secの書き込みスピードが保障されているもの
UFD がフォーマット、パーティショニングされている
USB 2.0 Boot の要件
トラブルシュート
OS イメージ上で USB Mass Storage Device が有効になっている
また、USB Mass Storage Device の親デバイスが有効になっている(USB Host Controller、USB Root Hub 等)
USB 2.0 Boot の要件
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
10
Windows XP Embedded 開発-2
トラブルシュート
Feature Pack 2007 ではスタンバイとハイバネーションの使用不可
⇒HORM の利用不可
スタンバイについては FP2008 CTP で対応予定
クラッシュダンプの使用不可
ページファイルの使用不可
USB 2.0 Boot の制限
トラブルシュート
Stop7B が出現:原因の追及
USBNTD.CHK:FP 2007のインストール CDの VALUEADD フォルダ配下に格納
USBNTD.CHK を NTDETECT.COM にリネーム
BIOS、USB メディア、マザーボードのいずれかのエラーを検出
困った時には? STOP 7B Error
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
11
Windows XP Embedded 開発-2
トラブルシュート
イメージは正しく構成されていますか?
USB Boot 2.0 コンポーネントが組み込まれているか?
適切な USB 関連コンポーネントは組み込まれているか?
USB Mass Storage、USB NT Hardware Detect、適切なUSB Host Controller、USB Hub
困った時には? STOP 7B Error
トラブルシュート
まずはハードウェア、BIOSがUSB 2.0 Boot に対応しているかの確認を
BIOS 上での USB Boot の設定
USB Disk ブート
Boot シーケンスの設定
ブートデバイスの順番
イメージがブートしない
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
12
Windows XP Embedded 開発-2
トラブルシュート
MBR は書かれているか?
Ufdprep
Diskpart (Windows Vista)
Windows Vista 上で DISKPART を利用した場合
NTLDR を BOOTMGR にリネームする
UFD を交換
イメージがブートしない
リソース
Booting from USB Devices
http://msdn2.microsoft.com/en-us/library/aa940915.aspx
Windows XP Embedded USB Boot
http://www.windowsfordevices.com/articles/AT6529478988.html
NewsGroup
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
13
Windows XP Embedded 開発-2
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it
should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.