I installed Ubuntu from a USB stick, using the Live version to run gparted
to partition my disk. The disk is a 500GB SSD, and I reduced the size of the Windows installation, and then moved the next partition up to the left to remain beside it. I believe gparted noted it as a 'diag' partition.
EDIT: A quick explanation of the partitioning:
The original disk looked like...
|-recovery-|--------windows--------|-diag-|
I then shrunk the Windows partition from the right side...
|-recovery-|-windows--|-free-space-|-diag-|
After that, I moved the left side of the diag partition to move it up to the Windows partition...
|-recovery-|-windows--|-diag-|-free-space-|
After that, I installed Ubuntu. I set up /
, /home
and swap
as separate, logical partitions in the empty space.
I successfully booted into Ubuntu (via the grub bootloader), and also into Windows 10 (via the same bootloader). Then, the next time I came to use the computer, I tried to boot into Windows 10, but received a BSOD with the CRITICAL_PROCESS_DIED
error.
I loaded a Windows 10 install onto a USB, and booted into recovery mode. Automatic startup recovery failed to do anything useful. In the console, I entered the following commands, after searching the web for solutions:
bootsect /nt60 ALL /force /mbr
bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd
The last command failed to detect any Windows installations, so I followed the Microsoft guide, and removed the \boot\bcd
file on the Windows drive, ran it again, and added the newly detected Windows installation.
These had no effect except to remove access to the grub bootloader, locking me out of both OSs.
I suspect that my problem may be caused by using gparted
to move the 'diag' partition. Using diskpart
in the Windows recovery console, I got the following information:
What can I do to enable Windows to boot again? I don't need to retain the Ubuntu partitions, so if it is necessary to remove or overwrite them, that is fine.