Windowsが起動しなくなった diskpart ブート マネージャー update2 | 乖離のぶろぐ(*´∀`)吸い込んで応援
(゚ω゚) ブートしなくなった時に見るコマンドと、何をすべきか纏めてみました。

https://www.google.co.jp/search?q=bcdedit&ie=utf-8&oe=utf-8&hl=ja
ブートマネージャーがどこにあるのか、確認する。

https://www.google.co.jp/search?q=diskpart&ie=utf-8&oe=utf-8&hl=ja
C:\Windowsをアクティブにする為に diskpartで行うことは下記のとおり。
select vol 番号
list part
select part 番号
active
( inactiveは非アクティブにする )

https://www.google.co.jp/search?q=bootrec&ie=utf-8&oe=utf-8&hl=ja
Bootrec.exe /RebuildBcd
ブートマネージャーを作成する。
ブートマネージャーが作られた事を bcdedit コマンドで確認。

(゚ω゚) SCSIにWindowsをインストールしてしまうと、別のSATA接続のHDDはSATAケーブルを抜いておく必要がある。
(゚ω゚) M.2やSSDがあるから、再起動に時間がかかるようなSCSIのRAID0も不要なのでは?という気がする。

------------下記は2016-05-02 09:16:00の内容--------------

(゚ω゚) SATAのHDDのケーブルを抜いて、
(゚ω゚) USBブートしてからスタートアップ修復を行ってみた。


(゚ω゚) Windows10にログインしてみると、ブートマネージャーがCドライブに作られていた。
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.

C:\Windows\system32>bcdedit

Windows ブート マネージャー
--------------------------------
identifier {bootmgr}
device partition=C:
path \bootmgr
description Windows Boot Manager
locale ja-JP
default {current}
displayorder {current}
timeout 30

Windows ブート ローダー
--------------------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 10 Pro
locale ja-JP
recoverysequence {b0d242be-0ff8-11e6-a75d-fc04bf646ca4}
recoveryenabled Yes
osdevice partition=C:
systemroot \Windows
resumeobject {d2dae910-0ff8-11e6-821b-806e6f6e6963}
bootmenupolicy Standard

C:\Windows\system32>


------------下記は2016-05-01 12:16:47の内容--------------

(゚ω゚) ブートマネージャーとローダーを
(゚ω゚) RAID0のCドライブに纏めたいのだが、今のところ設定がわからない。
(゚ω゚) WD20EZRXがデバイスマネージャで見るとSATAになってるのが原因だろうなぁ・・。



C:\Windows\system32>bcdedit

Windows ブート マネージャー
--------------------------------
identifier {bootmgr}
device partition=W:
path \bootmgr
description Windows Boot Manager
locale ja-JP
inherit {globalsettings}
default {current}
resumeobject {127bb323-0e74-11e6-ade3-b0671b369ec3}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 3

Windows ブート ローダー
--------------------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 10
locale ja-JP
inherit {bootloadersettings}
recoverysequence {127bb325-0e74-11e6-ade3-b0671b369ec3}
recoveryenabled Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \Windows
resumeobject {127bb323-0e74-11e6-ade3-b0671b369ec3}
nx OptIn
bootmenupolicy Standard

C:\Windows\system32>
C:\Windows\system32>diskpart

Microsoft DiskPart バージョン 10.0.10586

Copyright (C) 1999-2013 Microsoft Corporation.
コンピューター: DESKTOP-7UPU0OF

DISKPART> list vol

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ---- ---------- ------- --------- --------
Volume 0 H DVD-ROM 0 B メディアなし
Volume 1 C NTFS Partition 97 GB 正常 ブ ート
Volume 2 G G NTFS Partition 833 GB 正常
Volume 3 T China4Trank NTFS Partition 3725 GB 正常
Volume 4 U Thai4Backup NTFS Partition 3725 GB 正常
Volume 5 W WD20EZRX NTFS Partition 1863 GB 正常 シ ステム

DISKPART>


(゚ω゚) 参考になったURLを貼っておく。
http://memo-log.9999ch.com/2011/04/18/539
Windows7 でのMBR修復方法
Windows7が起動できなくなってしまった場合の対処方法メモ
image
Windows7のインストールディスクを入れて修復ツールを起動。
まずは自動修復を試みる。
自動修復を実行しても起動できない場合や、システム修復オプションのコマンドプロンプトから "bootrec /fixboot" と入力しても「要素が見つかりません」と出て失敗する場合は以下の方法を試みる。
手順1. MBR作成するためのパーティションアクティブ化
1. Windows7のインストールディスク挿入→セットアップ画面へ
2. 左下の「コンピュータを修復する」をクリック
3. システム回復オプションでコマンドプロンプトを開く
4. "diskpart" コマンドを入力
5. "list disk" コマンドを入力 → OSが入ってるディスク番号を覚えておく
6. "select disk ディスク番号" コマンドを入力
7. "list partition" コマンドを入力 → OSが入ってるpartitionの番号を覚えておく
8. "select partition ディスク番号" コマンドを入力
9. "active" コマンドを入力
10. "exit" コマンドを入力
手順2. MBRを作成する
1. "bootrec /fixboot" コマンドを入力
2. "bootrec /fixmbr" コマンドを入力
3. "bcdedit" コマンドを入力して、内容を確認してみるとよし。
4. "exit" して再起動 → Windowsが立ち上がれば成功
上記を試しても立ち上がらない場合
上記作業後に改めて自動修復を試みると、リストにOS一覧が表示されるようになった。
その後、再起動してOSが起動可能になった。
その他の情報
インストールディスクがない場合、メーカー製PCの場合?などはPC起動中のF8キーを何回か押して拡張ブートオプションを開くことで「コンピュータの修復」をクリックしてシステム回復オプションに行けるかも知れません(未確認)
18. 4月 2011 von adminmem