Skip to content

Commit 63377b2

Browse files
committed
Add instructions for recovering Windows boot failures after update
Signed-off-by: Tu Dinh <[email protected]>
1 parent 2825253 commit 63377b2

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

docs/troubleshooting/windows-pv-tools.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,29 @@ Stop the VM, run the following command on the host then restart the VM:
153153
```
154154
xe vm-param-add uuid=<VM's UUID> param-name=platform msr-relaxed=true
155155
```
156+
157+
## Windows fails to boot, keeps exiting to Startup Repair/recovery menu after updating
158+
159+
### Cause
160+
161+
This is often caused by the Windows boot loader failing to find the Windows partition.
162+
163+
### Workaround
164+
165+
From the recovery menu, open Command Prompt, then use `diskpart` to assign drive letters to the EFI system partition:
166+
167+
```
168+
list vol
169+
sel vol N # N = number of volume with info = "System"
170+
assign letter=S
171+
exit
172+
```
173+
174+
After exiting Diskpart, use the following commands:
175+
176+
```bat
177+
bcdedit /store S:\EFI\Microsoft\Boot /set {default} device=partition=C:
178+
bcdedit /store S:\EFI\Microsoft\Boot /set {default} osdevice=partition=C:
179+
```
180+
181+
After exiting to Windows, your system should boot successfully.

0 commit comments

Comments
 (0)