Q. How can I add a boot option for the new Diagnostics and Recovery Toolkit (DaRT) to my machine?

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:\Users\john>bcdedit /create {ramdiskoptions} /d "DaRT Tools"
The entry {ramdiskoptions} was successfully created.

C:\Users\john>bcdedit /set {ramdiskoptions} ramdisksdidevice partition=C:
The operation completed successfully.

C:\Users\john>bcdedit /set {ramdiskoptions} ramdisksdipath \Dart\boot\boot.sdi
The operation completed successfully.

C:\Users\john>bcdedit /create /d "DaRT Tools" /application OSLOADER
The entry {4b1d6c3c-e2b9-11df-813f-9b8d94709596} was successfully created.

C:\Users\john>bcdedit /set {4b1d6c3c-e2b9-11df-813f-9b8d94709596} device ramdisk=[c:]\Dart\sources\boot.wim,{ramdiskoptions}
The operation completed successfully.

C:\Users\john>bcdedit /set {4b1d6c3c-e2b9-11df-813f-9b8d94709596} path \windows\system32\winload.exe
The operation completed successfully.

C:\Users\john>bcdedit /set {4b1d6c3c-e2b9-11df-813f-9b8d94709596} osdevice ramdisk=[c:]\Dart\sources\boot.wim,{ramdiskoptions}
The operation completed successfully.

C:\Users\john>bcdedit /set {4b1d6c3c-e2b9-11df-813f-9b8d94709596} systemroot \windows
The operation completed successfully.

C:\Users\john>bcdedit /set {4b1d6c3c-e2b9-11df-813f-9b8d94709596} winpe yes
The operation completed successfully.

C:\Users\john>bcdedit /set {4b1d6c3c-e2b9-11df-813f-9b8d94709596} detecthal yes
The operation completed successfully.

C:\Users\john>bcdedit /displayorder {4b1d6c3c-e2b9-11df-813f-9b8d94709596} /addlast
The operation completed successfully.

C:\Users\john>bcdedit /timeout 5
The operation completed successfully.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish