MBR Partition issue during CCE scan operation... how to recover MBR

Page 1 of 3 123 LastLast

  1. Posts : 260
    Windows 7 Ultimate 64bit
       #1

    MBR Partition issue during CCE scan operation... how to recover MBR


    Hi

    I ran CCE. I got the definition file, it asked if I wanted to reboot, restarted and windows startup repair ran... let it run, reported MBR corruption, restarted, booted into NEW OS with loads of apps testing all my hardware... and a new C drive



    Has CCE installed a portable OS over my existing system?

    Is there something I can do to restore my MBR to previous?

    (the 44gig 'free space' is a partition that got 'lost' after perfect disk crashed during defrag operations... I imaged the partition, and a 45gig .dim image resides on an external, awaiting analysis/recovery, before I reallocate the space)

    Does this sound like a malware issue?

    I don't even know what version of CCE I ran, as the entire FS is not currently traverseable..

    Any ideas welcome
      My Computer


  2. Posts : 5,092
    Windows 7 32 bit
       #2

    Did whatever made the .dim image of the "free space" happen to save a copy of the MBR? I know when I restore a partition with Macrium Reflect after the partition restore it will ask if I want to restore the MBR from the saved image.
      My Computer

  3.    #3

    Why do you have a 300gb System partition booting Win7, but the C partition actually holding the OS is only 38gb - it's hard to see the exact figures since the snip is not posted as shown in Disk Management - Post a Screen Capture Image?

    What else is on the System partition?

    In addition you have way more than the 4 Primary partition limit, so something must have been done to the disk to get by this limitation which has damaged the OS.

    This is quite a mess so I would back up my files, delete all partitions during a booted Clean Reinstall - Factory OEM Windows 7 . Then after correctly setting up your System Reserved and C partition on the left side of the HD where they are read fastest, make any data partition(s) you need on the right side where speed isn't as important.

    Because you've apparently modded or otherwise mucked with the HD I would also wipe the HD first before install to clear all boot code and partition table using Diskpart Clean Command .

    If you want to try to preserve the mess, then I would use Partition Wizard bootable CD to resize the System partition to 200mb, after moving any data off it. Then I;d back up their data to delete the other partitions preceding C, grab and slide C over to the left against the System partition, then extend C's right border into the space made to right-size it. Partition Wizard Resize Partition - Video Help.

    Then I would convert all other data partitions to Logical: How to Set Partition as Primary or Logical

    After applying all of these steps, I'd finally fun Partition Wizard Rebuild MBR - Video Help.

    If Win7 doesn't start after reboot run Startup Repair - Run 3 Separate Times after confirming System is still Partition Marked Active
      My Computer


  4. Posts : 5,092
    Windows 7 32 bit
       #4

    If there's a way to get the original MBR back I think I would do that, then see what the disk map looks like. All that stuff displayed by Disk Management may be its confused attempt to make sense out of funky MBR numbers.

    Edit: but I do agree now is the time to attempt to save data, before taking any action.
      My Computer


  5. Posts : 260
    Windows 7 Ultimate 64bit
    Thread Starter
       #5

    Thanks for all the info. I've just learned that notepad can be launched from the recovery console, so here's more info...

    First, to answer Greg's q's,

    - the 300gig partition is not related to the 30gig partition. I'm not sure where the partition came from, my diskpart output might tell you more (type: EB? created by winPE?)

    - I have more than 4 primary partitions currently active right now, but not intentionally, not with my knowledge... in fact, when the VHD is mounted and booted (which is always, when working!) it has just one partition, active and primary.

    First, this was a native VHD - on first Windows 7 Ultimate install to fresh HD, I created a VHD, and made it active, formatted a primary partition, made some bootsector 'thing' and wrote a BCD entry. exit diskpart, proceed with windows install into the VHD.

    I planned on setting up differencing disks, but never got that far.

    So the extended partition 'disappeared', marked as free space. A repository of sounds, it appears the partition is intact, but not linked (was able to recover a DIM image of this partition, will attempt recovery later, as now a secondary issue)

    YESTERDAY, after running Comodo CEssentials, it rebooted and reported startup repair a being attempted. The details of the operation (I think) reported the boot table configuration data was missing.... On restart, the computer booted into what looked like a boot from startup disk operation, but was actually like a new install. (about to boot into 'new OS', but attempts to fix other bcd entries and repeated startup repairs appear to have corrupted both BCD entries: on boot my options are

    Windows 7 ultimate (recovered) - the new OS/partition/WinPE
    VHD Win 7 0 newly created entry pointing to VHD (#5 )

    Will try and burn part.magic cd (bootable usb stick doesn't work, partex msg displayed then boot option cancels) and report back.

    Does anyone have experience with native VHDs, and if so, can ou confirm where (if at all) this '200mb sys partition' resides, and how it relates to the 'bigger picture'? (I ask only because I don't remember seeing it)

    There were further, even more convoluted configuration steps that I took that could have contributed to the problem - after losing a system partition (vhd) on an ( otherwise empty) SSD, I thought, "instead of just backing up dox/app settings/user folders... why not have them outside the OS (VHD), in case of data corruption?

    I had unused free space, and was moving large data out of the VHD, prior to shrinking it to a more appropriate size (weighing in at over 250, it was occupying ~ 90% of the partition, making defragmentation impossible). I created a new partition (or volume, not sure) via dskmgmt, and noticed that a path a junction, or pointer) could be assigned, instead of 'just' a drive letter. so C:\localbigstore is a 44gig partition, with desktop, download, documents. It worked! A bit confusing, and maybe stupid...

    posting all partition info (from diskpart) asap (though I saved it to a SD card, but must've gone to another device), thank you again for all your help, hopefully partition magic can help me fix the issues and recreate the MBR
      My Computer


  6. Posts : 260
    Windows 7 Ultimate 64bit
    Thread Starter
       #6

    ok, I startup repaired the 'fresh install' that I'm guessing CCE and MS decided to make without my express consent.



    I found the diskpart log I made

    DISKPART> list disk

    Disk ### Status Size Free Dyn Gpt
    -------- ------------- ------- ------- --- ---
    * Disk 0 Online 698 GB 44 GB (the disk!)
    Disk 1 Online 244 MB 0 B (SD card)

    This is actual disk of disk 0, whilst diskmgmt.msc currently says


    ____________________________________________________________________
    DISKPART> list vol

    Volume ### Ltr Label Fs Type Size Status
    ---------- --- ----------- ----- ---------- ------- --------
    Volume 0 G DVD-ROM 0 B No Media
    Volume 1 C (Sys) NTFS Partition 302 GB Healthy (partition with VHD file on)
    Volume 2 E LBS NTFS Partition 175 GB Healthy
    Volume 3 F NTFS Partition 16 GB Healthy
    Volume 4 D GM6C FAT32 Partition 999 MB Healthy

    DISKPART> sel vol 1
    Volume 1 is the selected volume.
    DISKPART> list par

    Partition ### Type Size Offset
    ------------- ---------------- ------- -------
    * Partition 1 Primary 302 GB 1024 KB (original active, primary, system partition, location of system ['c:'] vhd)
    Partition 0 Extended 44 GB 302 GB ('free space', previously 'lost' ext.part.)
    Partition 2 Primary 175 GB 347 GB (localbigstore, currently mapped to f, not by me)
    Partition 5 Primary 1856 GB 386 GB (not real)
    [COLOR="Olive"] Partition 3 Primary 16 GB 681 GB (newly created, not by me directly)
    Partition 4 Primary 999 MB 697 GB (newly created 'tools' FAT32 partition D, not by me)
    Partition 6 Primary 38 GB 1068 GB (healthy, empty, not assigned, not by me directly)
    Partition 7 Primary 1464 GB 1326 GB (not real)

    ____________________________________________________________________
    DISKPART> det par
    Partition 0
    Type : 0F Hidden: No Active: No Offset in Bytes: 325070062080
    There is no volume associated with this partition.
    ____________________________________________________________________
    Partition 1
    Type : 07 Hidden: No Active: Yes Offset in Bytes: 1048576

    Volume ### Ltr Label Fs Type Size Status
    ---------- --- ----------- ----- ---------- ------- --------
    * Volume 1 C (Sys) NTFS Partition 302 GB Healthy
    ____________________________________________________________________
    Partition 2
    Type : 07 Hidden: No Active: No Offset in Bytes: 372988968960

    Volume ### Ltr Label Fs Type Size Status
    ---------- --- ----------- ----- ---------- ------- --------
    * Volume 2 E LBS NTFS Partition 175 GB Healthy
    ____________________________________________________________________
    Partition 3
    Type : 07 Hidden: No Active: No Offset in Bytes: 731280048128

    Volume ### Ltr Label Fs Type Size Status
    ---------- --- ----------- ----- ---------- ------- ---------
    * Volume 3 F NTFS Partition 16 GB Healthy
    ____________________________________________________________________
    Partition 4
    Type : 0C Hidden: No Active: No Offset in Bytes: 749106888704

    Volume ### Ltr Label Fs Type Size Status
    ---------- --- ----------- ----- ---------- ------- ---------
    * Volume 4 D GM6C FAT32 Partition 999 MB Healthy
    ____________________________________________________________________
    Partition 5
    Type : FF Hidden: Yes Active: No Offset in Bytes: 414878597632
    There is no volume associated with this partition.
    ____________________________________________________________________
    Partition 6
    Type : EB Hidden: Yes Active: No Offset in Bytes: 1147556299264
    There is no volume associated with this partition.
    ____________________________________________________________________
    Partition 7
    Type : DB Hidden: Yes Active: Yes Offset in Bytes: 1424581801984
    There is no volume associated with this partition.

    ***********************************
    VHD
    ***********************************
    DISKPART> sel vdisk file=c:\vhd\win7\win7u.vhd
    DiskPart successfully selected the virtual disk file.

    DISKPART> attach vdisk
    100 percent completed
    DiskPart successfully attached the virtual disk file.

    Volume 5 H Win7VHD NTFS Partition 268 GB Healthy

    DISKPART> sel vol 5
    Volume 5 is the selected volume.

    DISKPART> list par
    Partition ### Type Size Offset
    ------------- ---------------- ------- -------
    * Partition 1 Primary 268 GB 1024 KB

    DISKPART> det par

    Partition 1
    Type : 07
    Hidden: No
    Active: Yes
    Offset in Bytes: 1048576

    Volume ### Ltr Label Fs Type Size Status
    ---------- --- ----------- ----- ---------- ------- --------
    * Volume 5 H Win7VHD NTFS Partition 268 GB Healthy

    Would you advise deleting the bad partitions?

    (I found a screenshot of before the latest MBR/BCD issues, ie details of what's where)
      My Computer

  7.    #7

    What is Comodo Essentials? Sounds like a tweaking suite which is death to Win7. And Comodo has never caused anything but problems seen here. So I am not surprised that you report issues after running it.

    I already gave you my advice. I'm not messing any further with one of the worst messes I've ever seen.

    In addition to the preparation, actual install steps, and tools/methods which work best to get and keep a perfect Clean Reinstall - Factory OEM Windows 7, which are same for retail:

    I would additionally wipe the HD with Diskpart Clean Command from the booted Windows 7 installation media's System Recovery Options Command Line, to erase the boot code and partition table which has been badly damaged.

    Then I would make my install partition, full (not Quick) Format it, mark it Active using Step 2.2 from SSD - HDD Optimize for Windows Reinstallation.

    Then run a full Disk Check from installer's Command Line to check its condition just before install.
    Last edited by gregrocker; 31 Jan 2014 at 13:42.
      My Computer


  8. Posts : 5,092
    Windows 7 32 bit
       #8

    I have more than 4 primary partitions currently active right now, but not intentionally, not with my knowledge... in fact, when the VHD is mounted and booted (which is always, when working!) it has just one partition, active and primary.
    You cannot have more than 4 primary partitions on a single MBR HD. The MBR is only 512 bytes long. It has startup code and a partition table. The partition table has 4 "slots" for the 4 primary partitions. An extended partition is just a primary partition that's split up with the info not kept in the MBR (the logical partition info.) So if Disk Management thinks you have more than 4 primary partitions on a single physical drive, it's likely confused by erroneous info in the MBR.

    So, if you could just get hold of an MBR saved from before your HD being all fouled up, there's a chance for an easy fix. If not then there's nothing to be done for it. But I would at least take a look.
      My Computer


  9. Posts : 12,364
    8 Pro x64
       #9

    jonnyhotchkiss said:

    Any ideas welcome
    Back up your C:\users directory
    Back up your C:\programData folder

    Back up any any other data you want to keep

    Then find your 7 installation disk because it's time to nuke it all and do a fresh format.

    You've gone and broken it all. The most expedient way to resolve it all is a fresh format/OS installation.
      My Computer


  10. Posts : 5,092
    Windows 7 32 bit
       #10

    In fact, since you have the screen shot of the partition layout, you should be able to use an MBR editor to put the numbers in. After backing up everything you can back up, you're in a "nothing to lose" position. I'd search for an MBR editor. I'm sure there are free ones out there.
      My Computer


 
Page 1 of 3 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:39.
Find Us