It is currently Sat Nov 23, 2024 2:04 am



Reply to topic  [ 4 posts ] 
Rebuilding System Partition 
Author Message
Stranger
User avatar

Joined: Sat Apr 12, 2003 1:14 pm
Posts: 6362
Location: Estonia
Reply with quote
Post Rebuilding System Partition
https://www.diskpart.com/articles/syste ... -3889.html
Leaving this for future reference as it worked in my case.
All the other tutorials failed.

These steps in particular:

bcdboot c:\windows /s c:

diskpart
list disk
select disk n (where n is the disk number of the system drive)
list partition
select part 1
active (the correct message should be: DiskPart marked the current partition as active)
exit (leave diskpart)

Looks like a fresh install is still necessary as the antivirus doesn't load and I cant seem to uninstall it. Just loads forever.

_________________
When someone asks how rich you are, quote Rinox " I don't even have a rusty nail to scratch my butt with...!"

Be well or Get Help!!


Wed May 27, 2020 10:23 am
Profile
Felix Rex
User avatar

Joined: Fri Mar 28, 2003 6:01 pm
Posts: 16662
Location: On a slope
Reply with quote
Post Re: Rebuilding System Partition
Interesting. I've used diskpart making bootable USB drives to install disk images and stuff. Have you tried booting in safe mode to see if you can remove the antivirus? Still, if things are that wrecked, a clean install is usually best.

_________________
They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety.


Wed May 27, 2020 8:09 pm
Profile WWW
Stranger
User avatar

Joined: Sat Apr 12, 2003 1:14 pm
Posts: 6362
Location: Estonia
Reply with quote
Post Re: Rebuilding System Partition
Well the problem i had to circumvent was that:

bootrec /fixboot returned access denied.
bootrec /rebuildbcd returned 0 windows installations found.

attrib bcd -s -h -r had no effect as well. the attrib bcd part was a bit longer but i cant recall it.
Basically what this does is remove read-only and hidden from the boot partition drive.
The drive is now visible under "This PC".

So the commands from my previous post had the effect that the system partition is now used to boot windows.
In the end it is not really a fix. It is a method to bypass broken bcd. At least that is what i believe it is.

_________________
When someone asks how rich you are, quote Rinox " I don't even have a rusty nail to scratch my butt with...!"

Be well or Get Help!!


Thu May 28, 2020 11:19 am
Profile
Felix Rex
User avatar

Joined: Fri Mar 28, 2003 6:01 pm
Posts: 16662
Location: On a slope
Reply with quote
Post Re: Rebuilding System Partition
Ah, ok. Thanks for the explanation. It's been a long time since I've messed around with Windows boot files.

_________________
They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety.


Thu May 28, 2020 6:48 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.