Boot Partition
Repair BCD / Boot Partition with MBR Drive
After uninstalling some MS Software Windoof though it's a good idea to destroy the boot partition resulting in following error / BlueScreen on Boot:
File: \Boot\BCD
Error code: 0x0000034
If you are getting the same Error: only panic a little! Your data is NOT lost and it's repairable.
default fix (not working for me)
advanced fix (not working for me)
diskpart
Type list disk (all your drives should be shown now)
Type sel disk 0 (or the drive to boot from - usually 0)
Type list vol (all partitions should be shown now)
Last row of the table show should show if stuff is GBR (marked with an *)
if it's an MBR go ahead, if not ... go ahead with caution, lol
fix stuff
bootrec /fixmbr
Type bootrec /fixboot
Type bootrec /scanos (something should be found)
Type bootrec /rebuildbdc
done
fix that worked for me
all the aboth didn't work for be because all the time I got some error along like access denied could not find XYZ 'n stuff
so here is what worked for me
sudo dd if=/dev/YOURDEVICE conv=sync,noerror status=progress bs=64K | gzip -c > backup.img.gz please replace YOURDEVICE, find out via lsblk
Restore if needed via gunzip -c backup.img.gz | sudo dd of=/dev/YOURDEVICE status=progress
Format your boot partition (the one 500MB large formatted falsely as NTFS) as FAT32
jada jada boot via boot stick open console
find out your partition label
diskpart
Type list disk (all your drives should be shown now)
Type sel disk 0 (or the drive to boot from - usually 0)
Type list vol (all partitions should be shown now)
Find your new fat32 boot partition with label/letter (probably C)
May also identify your "normal" windows partition just to be sure later, lol
type bootrec /fixboot
type bcdboot REPLACE_X:\Windows /s REPLACE_Y: /f all please replace REPLACE_X and Y with X = your windows installation Letter (for me G) and Y your boot partition Letter (for me C)
Jobs done ... reboot, enjoy windoof, hope nothing breaks again.