Hey guys,
I had Vista / 7 Dual booting and decided to overwrite Vista with Linux as I hadn't booted Vista in awhile. I've side by side installed Windows and Linux many times without a problem,.... until now (of course )
It appears that my /boot folder with BCD was all along on the Vista partition. I didn't realize this till it was already too late and Windows wouldn't boot, so I have no BCD backup.
None of the "easy" bootsect / bootrec commands seemed to get the job done, so I tried the manual "nuclear holocaust" approach from here:
Recovering the Vista Bootloader from the DVD - NeoSmart Technologies Wiki
At one point (the import command i believe) I got an error about device not found. A google search mentioned this is because the partition was not set active. I tried to set the partition active using diskpart but it gave me an error saying this partition was not valid for the active flag. I was able to set active using gparted from the Linux partition and then bcdedit allowed me to use import / complete the manual bcd creation.
However, I am still unable to boot into Windows. I am thinking whatever prevented diskpart from flagging the drive "active" might be the problem? I think I've heard MS has their own definition for things like "active" and "boot". Are there particular rules like /boot needs to be on a primary partition or that sort of thing? Not sure if its coincidence but Vista had been located on the first partition whereas the Win7 partition is the third or fourth on the disk.
Thanks for any tips, its what I get for not using easybcd to switch the boot drive!
I had Vista / 7 Dual booting and decided to overwrite Vista with Linux as I hadn't booted Vista in awhile. I've side by side installed Windows and Linux many times without a problem,.... until now (of course )
It appears that my /boot folder with BCD was all along on the Vista partition. I didn't realize this till it was already too late and Windows wouldn't boot, so I have no BCD backup.
None of the "easy" bootsect / bootrec commands seemed to get the job done, so I tried the manual "nuclear holocaust" approach from here:
Recovering the Vista Bootloader from the DVD - NeoSmart Technologies Wiki
At one point (the import command i believe) I got an error about device not found. A google search mentioned this is because the partition was not set active. I tried to set the partition active using diskpart but it gave me an error saying this partition was not valid for the active flag. I was able to set active using gparted from the Linux partition and then bcdedit allowed me to use import / complete the manual bcd creation.
However, I am still unable to boot into Windows. I am thinking whatever prevented diskpart from flagging the drive "active" might be the problem? I think I've heard MS has their own definition for things like "active" and "boot". Are there particular rules like /boot needs to be on a primary partition or that sort of thing? Not sure if its coincidence but Vista had been located on the first partition whereas the Win7 partition is the third or fourth on the disk.
Thanks for any tips, its what I get for not using easybcd to switch the boot drive!