Q. How can I add a boot option for the new Diagnostics and Recovery Toolkit (DaRT) to my machine?
June 9, 2011
A. Once you've created your DaRT media, you can copy the content to your system drive (such as to C:dart), and then add a boot entry. Below are the commands I used. Note that the fourth command returns a GUID, which you need to use in the subsequent commands.
C:Usersjohn>bcdedit /create {ramdiskoptions} /d "DaRT Tools"
The entry {ramdiskoptions} was successfully created.
C:Usersjohn>bcdedit /set {ramdiskoptions} ramdisksdidevice partition=C:
The operation completed successfully.
C:Usersjohn>bcdedit /set {ramdiskoptions} ramdisksdipath Dartbootboot.sdi
The operation completed successfully.
C:Usersjohn>bcdedit /create /d "DaRT Tools" /application OSLOADER
The entry {4b1d6c3c-e2b9-11df-813f-9b8d94709596} was successfully created.
C:Usersjohn>bcdedit /set {4b1d6c3c-e2b9-11df-813f-9b8d94709596} device ramdisk=[c:]Dartsourcesboot.wim,{ramdiskoptions}
The operation completed successfully.
C:Usersjohn>bcdedit /set {4b1d6c3c-e2b9-11df-813f-9b8d94709596} path windowssystem32winload.exe
The operation completed successfully.
C:Usersjohn>bcdedit /set {4b1d6c3c-e2b9-11df-813f-9b8d94709596} osdevice ramdisk=[c:]Dartsourcesboot.wim,{ramdiskoptions}
The operation completed successfully.
C:Usersjohn>bcdedit /set {4b1d6c3c-e2b9-11df-813f-9b8d94709596} systemroot windows
The operation completed successfully.
C:Usersjohn>bcdedit /set {4b1d6c3c-e2b9-11df-813f-9b8d94709596} winpe yes
The operation completed successfully.
C:Usersjohn>bcdedit /set {4b1d6c3c-e2b9-11df-813f-9b8d94709596} detecthal yes
The operation completed successfully.
C:Usersjohn>bcdedit /displayorder {4b1d6c3c-e2b9-11df-813f-9b8d94709596} /addlast
The operation completed successfully.
C:Usersjohn>bcdedit /timeout 5
The operation completed successfully.
About the Author
You May Also Like