Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

BSOD BCD + Diskpart Clean = Screwed?


  • Please log in to reply
3 replies to this topic

#1 ThatArmyGuy

ThatArmyGuy

  • Members
  • 22 posts
  • OFFLINE
  •  
  • Local time:09:50 AM

Posted 23 October 2017 - 08:59 AM

Disclaimer: I suck at Windows.

 

Now that's out of the way..

 

Yesterday, I got the BCD BSOD on my Windows 10 Alienware 17 laptop. It's the second time this has happened in the last year or so. I wasn't able to remember exactly how I fixed it the last time aside from using the BOOTREC commands (/rebuildbcd, /fixboot, /fixmbr) and a Windows 10 ISO on a USB drive made using Rufus.

 

After staring at the screen for hours and hours, running CHKDSK (everything was fine) and other common solutions, I stumbled on a bit of command line code that I thought would make everything right again. Unfortunately for me, being tired and a Windows novice, it did not dawn on me that what I was typing through DISKPART was to clean the partitions until it was too late. :mellow:

This is what I entered:

select disk 0
clean
create partition primary size=3000 id=27
format quick fs=ntfs label="Recovery"
assign letter="R"
create partition primary size=300
format quick fs=ntfs label="System"
assign letter="S"
active
create partition primary
format quick fs=ntfs label="Windows"
assign letter="C"
exit

Fast forward to the next reboot and voila! No operating system to give me the BSOD. I did a little reading and found out the data on the system is possibly recoverable and that I might be able to get myself out of this hole I've made deeper.

 

In my tinkerings, I assigned the letter "F:" to my Windows partition which was previously without a letter. Here's what the LIST DISK looks like:

 

Disk ### - Status - Size - Free - Dyn - Gpt

 

Disk 0       Online   698GB 0 B

Disk 1       Online  7646 MB 0 B

 

Here are the volumes:

 

Volume 0        G                        DVD-ROM  0 B No Media

 

Volume 1        E   Recovery      NTFS Partition 3000MB Healthy

 

Volume 2        C   System         NTFS Partition 300MB   Healthy

 

Volume 3        F   Windows       NTFS Partition 695GB  Healthy

 

Volume 4        D   ESD-ISO       NTFS Removable 7645MB Healthy

 

In panic mode, I downloaded Mini Tool Power Recovery" software on a second PC, took apart my Alienware and used a SATA adapter to get into the hard drive. Unfortunately for me, the "Power Tool" took seven hours to scan and show me the just the partitions and I don't have $89 to spend on software that ultimately might not help me.

 

Now that I've got the Alienware back together and am running the command line from the USB again, /rebuildbcd finds 0 Windows installations and BOOTREC /fixboot still gives me "Access is denied," as it did before I went and screwed everything up.

 

I'd be eternally grateful if anyone can help me un-ass this problem I've made worse.

 

C



BC AdBot (Login to Remove)

 


#2 usasma

usasma

    Still visually handicapped (avatar is memory developed by my Dad


  • BSOD Kernel Dump Expert
  • 25,091 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Southeastern CT, USA
  • Local time:01:50 PM

Posted 24 October 2017 - 06:37 AM

I presume that the first thing you'd like to do is recover your data.

If that's possible, I first suggest trying GetDataBack from https://www.runtime.org/

It is free to tell what's recoverable - and then you have to pay to actually recover it.
That being said, it saved my bacon on several occasions - so it was well worth the price to me.

Years ago I had tried numerous different solutions and it was the most effective and the easiest to use.  PCInspector ( http://www.pcinspector.de/?language=1 ) seemed to be as good (and was free) but was too complicated for me to understand.  They've changed their website since last I visited, so they may have also upgraded their program.

There's lot's of good advice on the Runtime.org site about data recovery also - so read up on it there.

Continue trying to recover the data until you give up or give it to a professional (very, very expensive!)

BTW - there's more expert help for backups in the Backup forums located here:  http://www.bleepingcomputer.com/forums/f/238/backup-imaging-and-disk-management-software/

 

When you're ready to reinstall Windows, there's a couple of ways to go about this:

- contact Dell for recovery media (this will get you all the software that came with the Dell when you purchased it, or

- download a plain vanilla copy of Windows 10 from Microsoft using the Media Creation Tool here:  https://www.microsoft.com/en-us/software-download/windows10

Your copy of Windows would have been automatically activated when you went online - so reinstalling either of the above should automagically reactivate it once you go online again.


My browser caused a flood of traffic, sio my IP address was banned. Hope to fix it soon. Will get back to posting as soon as Im able.

- John  (my website: http://www.carrona.org/ )**If you need a more detailed explanation, please ask for it. I have the Knack. **  If I haven't replied in 48 hours, please send me a message. My eye problems have recently increased and I'm having difficult reading posts. (23 Nov 2017)FYI - I am completely blind in the right eye and ~30% blind in the left eye.<p>If the eye problems get worse suddenly, I may not be able to respond.If that's the case and help is needed, please PM a staff member for assistance.

#3 ThatArmyGuy

ThatArmyGuy
  • Topic Starter

  • Members
  • 22 posts
  • OFFLINE
  •  
  • Local time:09:50 AM

Posted 26 October 2017 - 02:32 PM

I presume that the first thing you'd like to do is recover your data.

If that's possible, I first suggest trying GetDataBack from https://www.runtime.org/

It is free to tell what's recoverable - and then you have to pay to actually recover it.
That being said, it saved my bacon on several occasions - so it was well worth the price to me.

Years ago I had tried numerous different solutions and it was the most effective and the easiest to use.  PCInspector ( http://www.pcinspector.de/?language=1 ) seemed to be as good (and was free) but was too complicated for me to understand.  They've changed their website since last I visited, so they may have also upgraded their program.

There's lot's of good advice on the Runtime.org site about data recovery also - so read up on it there.

Continue trying to recover the data until you give up or give it to a professional (very, very expensive!)

BTW - there's more expert help for backups in the Backup forums located here:  http://www.bleepingcomputer.com/forums/f/238/backup-imaging-and-disk-management-software/

 

When you're ready to reinstall Windows, there's a couple of ways to go about this:

- contact Dell for recovery media (this will get you all the software that came with the Dell when you purchased it, or

- download a plain vanilla copy of Windows 10 from Microsoft using the Media Creation Tool here:  https://www.microsoft.com/en-us/software-download/windows10

Your copy of Windows would have been automatically activated when you went online - so reinstalling either of the above should automagically reactivate it once you go online again.

 

Thank you for the reply. I'm sorry I didn't get back to you sooner. I've been busy, busy with work. Yeah, data recovery is the goal (shame on me for not backing stuff up). I'm going to give that Runtime program a try and will post the results. As for the reinstall, I've got a Windows 10 ISO on a USB drive I made with Rufus. I've got my fingers crossed.



#4 usasma

usasma

    Still visually handicapped (avatar is memory developed by my Dad


  • BSOD Kernel Dump Expert
  • 25,091 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Southeastern CT, USA
  • Local time:01:50 PM

Posted 27 October 2017 - 05:06 AM

There's many different ways to try a repair before wiping a system - but the backup must come first!

Here's some suggestions for repair:
NOTE:  Try a clean boot to see if the problem clears up that way:  http://www.thewindowsclub.com/what-is-clean-boot-state-in-windows
If it does, then different troubleshooting steps are called for.

Here's some repair/recovery/restore options (in this order).   Be sure to backup your stuff if you don't want to take the chance of losing it.:

1 - Startup Repair.  Run it 3 times, rebooting in between tries.

2 - System Restore to a point before this started happening.

3 - DISM/SFC repair (DISM doesn't work with W7, although SFC does)  - doesn't work if you're not able to boot to Windows (let me know and I'll post a way to do it from Startup Repair)
    

Then please run the following DISM commands to see if there's any problems with the system (from an elevated (Run as administrator) Command Prompt).  Press Enter after typing it:
   
Dism /Online /Cleanup-Image /RestoreHealth

    FYI - I have repaired systems using the last command even though problems weren't found with the first 2 - so I suggest running them all.

    From this article: http://technet.microsoft.com/en-us/library/hh824869.aspx

    You can also run sfc.exe /scannow from an elevated (Run as administrator) Command Prompt to check for further corruption. Include the CBS log (located at C:\Windows\Logs\CBS\CBS.log) if you'd like to have a Windows Update expert check it (I don't check them because I can't read them)


4 - RESET using the "Keep My Files" option (W8 calls this a REFRESH; W7 and earlier doesn't have this function)

5 - Repair install of the OS (Thanks to FreeBooter!):
   

"How To Perform a Repair Installation For Windows 8, 8.1 and 10"
    https://www.winhelp.us/non-destructive-reinstall-of-windows-8-and-8-1.html

    "How to Do a Repair Install to Fix Windows 7"
    http://www.sevenforums.com/tutorials/3413-repair-install.html

    "How To Perform a Repair Installation For Vista"
    http://www.vistax64.com/tutorials/88236-repair-install-vista.html

    "Non-destructive reinstall of Windows XP"
    https://www.winhelp.us/non-destructive-reinstall-of-windows-xp.html


6 - RESET using the "Remove Everything" option (W8 calls this a RESET; W7 and earlier doesn't have this function)

If using W7 or earlier, this can be accomplished by resetting the system by use of the recovery partition/recovery disks/recovery drive.
If you don't have them, you can usually order them from the OEM manufacturer of your system ( US points of contact here:  http://www.carrona.org/recdisc.html )

7 - Wipe and reinstall from the Recovery Partition (if so equipped)

8 - Wipe and reinstall from Recovery Media - to include deleting all partitions.
If you don't have them, you can usually order them from the OEM manufacturer of your system ( US points of contact here:  http://www.carrona.org/recdisc.html )
  You can also download W7/8.1/10 from Microsoft starting on this page:  https://www.microsoft.com/en-us/software-download/

9 - A clean install of Windows.  This is a troubleshooting tool - and as such is slightly different from the previous steps.  In short, if it fixes the problem, then the problem was in the software.  If it doesn't fix the problem, then the problem is most likely in the hardware.

A clean install is:
- Windows is installed to a freshly partitioned hard drive with legitimate installation media (W10:  https://www.microsoft.com/en-us/software-download/windows10 ).
- The installation media is only a copy of Windows, not the OEM recovery disks that you can make on some systems.
- Windows is fully updated after it's installed.  That's ALL updates - none excepted.
- NO 3rd party software is installed.
- There are no errors in Device Manager (if you find any, post back for suggestions).

This will wipe everything off of the computer, so it's advisable to backup your stuff first.
Also, it will wipe out all the special software that the OEM added to the system, so if you rely on any of that - let us know what it is so we can figure out a way to save/download it (the easiest way is to create/obtain the OEM;s recovery media)

If unable to find recovery media that has the software (or if you suspect that this is a hardware problem), you can make an image of your system that'll preserve everything in the state that it was in when you made the image.
One drawback to this is that you're making an image of a malfunctioning system - so, if there are errors in the system software, you'll have a nice copy of them :(
Another drawback is that the image of the system will be very large - so you'll most likely need a large external drive to store it on.
But, this will allow you to save everything on the hard drive (although you'll need an image viewer to get things out of the image).
The point here is that, if it's a hardware problem, then you can restore the system to the point it was when you made the image - after you repair the hardware problem.
You can obtain more info on imaging in the Backup/Imaging/DiskMgmt forums located here:  http://www.bleepingcomputer.com/forums/f/238/backup-imaging-and-disk-management-software/

The point of doing this (the clean install) is to:
- rule out Windows as a problem (if the problem continues, it's not a Windows problem as you completely replaced Windows
- rule out 3rd party software (if the problem continues, it's not a 3rd party software problem as you didn't install any 3rd party software)
- so, if the problem continues, it must be a hardware problem.

OTOH, if the problem stops, then it was either a Windows or 3rd party software problem.  If the problem doesn't come back, then you've fixed it.  Then all that remains is setting the computer back up the way that you'd like it and importing your data from the backup you made.

My browser caused a flood of traffic, sio my IP address was banned. Hope to fix it soon. Will get back to posting as soon as Im able.

- John  (my website: http://www.carrona.org/ )**If you need a more detailed explanation, please ask for it. I have the Knack. **  If I haven't replied in 48 hours, please send me a message. My eye problems have recently increased and I'm having difficult reading posts. (23 Nov 2017)FYI - I am completely blind in the right eye and ~30% blind in the left eye.<p>If the eye problems get worse suddenly, I may not be able to respond.If that's the case and help is needed, please PM a staff member for assistance.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users