#(solved-ish) BCD file doesn't contain valid information

34 messages · Page 1 of 1 (latest)

waxen lake
#

Resized my drive with cfdisk for an Arch Linux install but now my Windows installation is corrupted. The NTFS partition was corrupted but I've supposedly fixed that with ntfsfix.

Windows started complaining about the BCD file so I tried booting into installation media and using bootrec but it couldn't detect any installations. I tried manually mounting the EFI partition and creating new BCD files with bcdboot but that doesn't seem to have fixed anything.

waxen lake
#

It's now complaining about the registry being corrupted...

clear orchid
#

Check by using src /scannow

#

If it shows corrupt file than reinstall windows

river leaf
#

damn

#

anyways uh, is grub installed

#

might aswell use it and generate a config using os prober

waxen lake
river leaf
#

I think arch disables os prober by default

#

so add GRUB_DISABLE_OS_PROBER=false to /etc/default/grub

#

then just sudo update-grub

#

pray

river leaf
#

if it pops up windows yay, if not, go to arch and open up the semi cooked partition (probably as ro)

#

copy over what you care about

#

reinstall windows

#

then boot into livecd to reinstall grub

#

yes this is tedious

waxen lake
#

I think at this point it's no longer a BCD issue and is instead a registry issue. The registry is what it seems to be complaining about and I can't run DISM to repair it because DISM can't query the registry to get the Windows version 😭

river leaf
#

oh boy

#

yeah uh

#

nothing else other than to reinstall windows

waxen lake
#

Yeah I think my installation is just cooked atp lol

river leaf
#

anyways interesting that fdisk throws an error complaining about a dirty partition is you have fast startup enabled

#

yeah I always turn that off

#

that's what killed it

waxen lake
#

probably

#

cfdisk didn't seem to mention anything though

#

(solved-ish) BCD file doesn't contain valid information

river leaf
#

last ditch effort you can do is go to system32/config/RegBack @waxen lake

#

might have a relatively recent hive backup

waxen lake