Recovering a boot partition

Detailed instructions on how to recover a boot partition without losing files

The first thing you need to do is to insert a bootable USB flash drive with windows boot files in FAT32 format

You can create them from another device

The interface may vary

Then you need to ‘enter bios’ and boot by selecting this stick as ‘startup device’

The interface may vary

After launching from the flash drive, you will see the Windows Installer window

The interface may vary

We need to call the command line and execute the commands

To invoke the command line we need to press the key combination ‘SHIFT+F10’

After invoking the command prompt in the Windows installation window, you need to enter the commands :

The first command is ‘diskpart’ then ‘list vol’, a selection of discs will appear, you need to select your boot sector ‘sel vol 5’ where ‘5’ is your boot sector, it is usually 100MB in size and FAT32 format.

Next enter the command ‘assign letter z’, then the command ‘exit’, followed by ‘Bcdboot c:/\windows /s z: /f all', where 'c:' is your system drive.

The interface may vary

If you have done everything correctly, switch off the computer, remove the flash drive, and switch on the computer.

Last updated