Software/Windows
bcdedit 사용법 ...
CodeH
2012. 5. 11. 15:31
필자에 경우 그냥 부팅을 할 경우 C에 BCD를 가져다 부팅을 하고 노트북 자체에 복구 모드로 부팅 하면 E 에 있는 BCD를 가져오는데..
가끔 이유 없이 VHD로 부팅을 하려면 위와같이 시작중이라고 뜨고 윈도우 로고도 안나오고 멈쳐 있다가.
system 파일을 찾을수 없다고 에러가 나는 경우가 있습니다..
bcdedit 를 이용해서 싹~ 지우고 다시 설정을 해보려고 합니다.
bcdedit /createstore c:\boot\bcd bcdedit /import c:\boot\bcd
bcdedit /create {bootmgr} /d "Windows Boot Manager" bcdedit /set {bootmgr} device partition=C: bcdedit /set {bootmgr} locale ko-KR
bcdedit /store c:\boot\bcd /create {bootmgr} /d "Windows Boot Manager" bcdedit /store c:\boot\bcd /set {bootmgr} device partition=C: bcdedit /store c:\boot\bcd /set {bootmgr} locale ko-KR
bcdedit /store c:\boot\bcd /create /application RESUME /d "Windows Resume Application HDD" bcdedit /store c:\boot\bcd /set {3ab63ed9-9b23-11e1-a13e-a18a9aa09840} device partition=C: bcdedit /store c:\boot\bcd /set {3ab63ed9-9b23-11e1-a13e-a18a9aa09840} path \Windows\system32\winresume.exe bcdedit /store c:\boot\bcd /set {3ab63ed9-9b23-11e1-a13e-a18a9aa09840} locale ko-KR bcdedit /store c:\boot\bcd /set {3ab63ed9-9b23-11e1-a13e-a18a9aa09840} inherit {resumeloadersettings} bcdedit /store c:\boot\bcd /set {3ab63ed9-9b23-11e1-a13e-a18a9aa09840} filedevice partition=C: bcdedit /store c:\boot\bcd /set {3ab63ed9-9b23-11e1-a13e-a18a9aa09840} filepath \hiberfil.sys bcdedit /store c:\boot\bcd /set {3ab63ed9-9b23-11e1-a13e-a18a9aa09840} pae Yes bcdedit /store c:\boot\bcd /set {3ab63ed9-9b23-11e1-a13e-a18a9aa09840} debugoptionenabled No
bcdedit /store c:\boot\bcd /create /application RESUME /d "Windows Resume Application VHD" bcdedit /store c:\boot\bcd /set {470f6245-9b23-11e1-a13e-a18a9aa09840} device partition=C: bcdedit /store c:\boot\bcd /set {470f6245-9b23-11e1-a13e-a18a9aa09840} path \Windows\system32\winresume.exe bcdedit /store c:\boot\bcd /set {470f6245-9b23-11e1-a13e-a18a9aa09840} locale ko-KR bcdedit /store c:\boot\bcd /set {470f6245-9b23-11e1-a13e-a18a9aa09840} inherit {resumeloadersettings} bcdedit /store c:\boot\bcd /set {470f6245-9b23-11e1-a13e-a18a9aa09840} filedevice partition=C: bcdedit /store c:\boot\bcd /set {470f6245-9b23-11e1-a13e-a18a9aa09840} filepath \hiberfil.sys bcdedit /store c:\boot\bcd /set {470f6245-9b23-11e1-a13e-a18a9aa09840} pae Yes bcdedit /store c:\boot\bcd /set {470f6245-9b23-11e1-a13e-a18a9aa09840} debugoptionenabled No
bcdedit /store c:\boot\bcd /create /application RESUME /d "Windows Resume Application Test" bcdedit /store c:\boot\bcd /set {4f10e311-9b23-11e1-a13e-a18a9aa09840} device partition=C: bcdedit /store c:\boot\bcd /set {4f10e311-9b23-11e1-a13e-a18a9aa09840} path \Windows\system32\winresume.exe bcdedit /store c:\boot\bcd /set {4f10e311-9b23-11e1-a13e-a18a9aa09840} locale ko-KR bcdedit /store c:\boot\bcd /set {4f10e311-9b23-11e1-a13e-a18a9aa09840} inherit {resumeloadersettings} bcdedit /store c:\boot\bcd /set {4f10e311-9b23-11e1-a13e-a18a9aa09840} filedevice partition=C: bcdedit /store c:\boot\bcd /set {4f10e311-9b23-11e1-a13e-a18a9aa09840} filepath \hiberfil.sys bcdedit /store c:\boot\bcd /set {4f10e311-9b23-11e1-a13e-a18a9aa09840} pae Yes bcdedit /store c:\boot\bcd /set {4f10e311-9b23-11e1-a13e-a18a9aa09840} debugoptionenabled No
bcdedit /store c:\boot\bcd /create /application osloader /d "Windows 7 Ultimate K x64 - VHD" bcdedit /store c:\boot\bcd /set {8b8432de-9b24-11e1-a13e-a18a9aa09840} device "vhd=[E:]\VHD\W7U64.VHD" bcdedit /store c:\boot\bcd /set {8b8432de-9b24-11e1-a13e-a18a9aa09840} osdevice "vhd=[E:]\VHD\W7U64.VHD" bcdedit /store c:\boot\bcd /set {8b8432de-9b24-11e1-a13e-a18a9aa09840} path \Windows\System32\Winload.exe bcdedit /store c:\boot\bcd /set {8b8432de-9b24-11e1-a13e-a18a9aa09840} systemroot \Windows bcdedit /store c:\boot\bcd /set {8b8432de-9b24-11e1-a13e-a18a9aa09840} locale ko-KR bcdedit /store c:\boot\bcd /set {8b8432de-9b24-11e1-a13e-a18a9aa09840} detecthal Yes
bcdedit /import c:\boot\bcd
bcdedit /set {bootmgr} device partition=C: bcdedit /set {bootmgr} resumeobject {0b9da018-9b28-11e1-8cec-8f2b4bb7e740}
|