Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Reverting the "Clean" command in CMD and get partitions displaying

28 Jun 2012   #1

Windows 7 32 Bit
 
 
Reverting the "Clean" command in CMD and get partitions displaying

OKAY!

I will try my best to describe my issue without making it very complicating.

1. My computer had 3 partitions - A, B and C.

C:\ is where the Windows 8 was installled
B:\ is where I tried to install another windows for testing purposes - Windows 7 Professional

In the installation process my computer restarted and gave me an error - Bootmgr compressed.

To resolve this error, I tried infinite times to get into my computer via BIOS, Bootable various USBs - Pirated Windows, Original Windows etc etc etc! (I don't have a DVD/CD drive in this computer).

After many attempts trying to get into my PC I simply couldn't because of via the bootable USB - Windows 7 Professional, It keeps on getting stuck at the page "Drivers Missing for Installation" - So, I clicked on the "Repair my Computer" and went to Command prompt.

e.g.
Screen 1: http://media.bestofmicro.com/,K-Z-243107-3.png

Screen 2: http://0.tqn.com/d/pcsupport/1/0/g/4...p-repair-5.jpg

Screen 3: http://res1.windows.microsoft.com/re...54bcc19_48.jpg <-- That's How I got to the command prompt.


Thinking from command prompt I'll clean my Drive B where I tried to instlall this new windows and stuffed me up but.. I did the following through the command prompt.

Diskpart
List Disk
Select Disk 0 (there is only one disk available)
List Partitions <-- Displayed 4 partitions including the USB.
CLEAN <-- Why did I do this a few steps before? I have no idea!

It cleaned successfully.

I tried to look for other partitions, can't find.
Only one is displaying and apparently everything is erased (I think but hoping not). How do I check?

Is there anyway I can get all the partitions showing again and do you think I have eased all the data?

Any help? I have some really important stuff on this hdd.. I backup everything I have but this stuff..arghh I didn't! Only 2 folders that are not backed up, are the ones I really need

My System SpecsSystem Spec
.

28 Jun 2012   #2

 

Do you own a genuine copy of Windows 7?
My System SpecsSystem Spec
28 Jun 2012   #3

MS Windows 7 Ultimate SP1 64-bit
 
 

Actually, not quite that serious.

You can recover.

Clean only "cleans the first sector"

Clean ALL does just that and wipes it all out.

Now you need to restore the boot info, which did get wiped out.

Do you have a Win 7 DVD or a System Repair Disc?
My System SpecsSystem Spec
.


28 Jun 2012   #4

Windows 7 32 Bit
 
 

Quote   Quote: Originally Posted by karlsnooks View Post
Actually, not quite that serious.

You can recover.

Clean only "cleans the first sector"

Clean ALL does just that and wipes it all out.

Now you need to restore the boot info, which did get wiped out.

Do you have a Win 7 DVD or a System Repair Disc?


I have Windows 7 DVD but no DVD drive in this computer.

I might get one external DVD reader and try.

So you are saying once I insert the original DVD in.. I should be able to just "Repair the computer"?

I do not have any System Repair Disc :s
My System SpecsSystem Spec
28 Jun 2012   #5
whs

Microsoft Community Contributor Award Recipient

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

You never selected a partition (before the Clean). So the last selection was Disk0 which was cleaned completely. Now you have a nice clean Disk0 and can start from scratch.
My System SpecsSystem Spec
28 Jun 2012   #6

MS Windows 7 Ultimate SP1 64-bit
 
 

kevin,
Yes, you can repair from the Win 7 DVD.

Essentially, the steps are the same when you use a System Repair Disc.

Now I know that we have some tutorials already that you can use.

I'm not like some of these chaps and don't have instant recall on all of the tutorials.

Furthermore, my approach would be to use the Win 7 DVD to fix your MBR. True, is that the system repair option will, after three times, finally get the mbr and everything else patched up for you.

Maybe Brink or GregRocker will chime in here and refer you to the needed tutorials.

One of these days, I'll need to take a half day and create your problem and then crank out a write-up directly specifically at your situation, although we probably already have a tutorial designed just for your problem.

Right now I'm busy with a couple of other matters and 6 hours may expire before I can get back to you.

Let's pray that one of the others chimes in. Life sure would be easier if you had a System Repair Disc.

You can go to a Win 7 that is the same "bittiness" (32 or 64) as yours and make the CD there. You will still need to buy an external cd/dvd unit. They are cheap and small. I recommend getting one for the many cases where one is handy.

Here's how to make a System Repair Disc:

=========================================================
=========================================================
CREATE A SYSTEM REPAIR DISC

START | type System Repair | Enter key | Create Disc button
My System SpecsSystem Spec
28 Jun 2012   #7

MS Windows 7 Ultimate SP1 64-bit
 
 

whs,
He does not have a 'CLEAN" 1st partition on his drive 0.

What he does have is the area where the partition tables are stored and boot info is stored, namely, the first 63 sectors has been zeroed.

The entire disk has not been zeroed.

His situation is recoverable.

Beginning to look more and more like I need to crank out a procedure for this.

A CLEAN ALL would have wiped the entire disk.

CLEAN and CLEAN ALL are both disk-oriented commands.
My System SpecsSystem Spec
28 Jun 2012   #8
whs

Microsoft Community Contributor Award Recipient

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Quote   Quote: Originally Posted by karlsnooks View Post
whs,
He does not have a 'CLEAN" 1st partition on his drive 0.

What he does have is the area where the partition tables are stored and boot info is stored, namely, the first 63 sectors has been zeroed.

The entire disk has not been zeroed.

His situation is recoverable.

Beginning to look more and more like I need to crank out a procedure for this.

A CLEAN ALL would have wiped the entire disk.

CLEAN and CLEAN ALL are both disk-oriented commands.
Karl, I hope you are right. I never tried to recover from such a situation. But I think his command sequence did not address only partition B as he wanted but the whole Disk0.
My System SpecsSystem Spec
28 Jun 2012   #9

MS Windows 7 Ultimate SP1 64-bit
 
 

From post #1
Diskpart
List Disk
Select Disk 0 (there is only one disk available)
List Partitions <-- Displayed 4 partitions including the USB.
CLEAN <-- Why did I do this a few steps before? I have no idea!
My System SpecsSystem Spec
28 Jun 2012   #10

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

You need a working computer to download Free download Magic Partition Manager Software, partition magic alternative, free partition magic, partition magic Windows 7 and server partition software - Partition Wizard Online (it is at the bottom of the page ) and burn it to cd.

Boot it up on the sick machine - select partition recovery.

Do a quick scan of the entire HD.

Tick ALL the partitions you want to keep, click Apply.
My System SpecsSystem Spec
Reply

 Reverting the "Clean" command in CMD and get partitions displaying





Thread Tools




Our Sites

Site Links

About Us

Find 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 11:20 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33