Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 499
  • Last Modified:

How do I delete all partitions on a hard drive array?

I have two SSDs in RAID 0.   I believe there is an MBR Trojan on my system.   I want to re-install Windows 7 X64 Professional from the original DVD.   What are the steps I need to take to remove any Trojan before i do the re-install?   I realize I will have to re-install all my programs.
0
DoctorK12008
Asked:
DoctorK12008
  • 4
  • 4
  • 3
  • +1
3 Solutions
 
NetfloCommented:
Break your array in your RAID BIOS, save changes. Recreate the array and initialise it (if you can). All done.
0
 
DoctorK12008Author Commented:
Does this get rid of the possible Trojan and delete all the partitions on the SSDs?
0
 
NetfloCommented:
Yes, the RAID array is below your partitions and MBR, which is below where XP is currently installed. If you chop the base level, all above it go with it too.

Be sure to have backed up all your info and best of luck!
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
DavidCommented:
Go to ubuntu.com, and make a bootable USB stick (or CDROM).  Boot to it (this takes windows out of the equation entirely).

Then run the terminal app, and enter:
dd if=/dev/zero of=/dev/sdb  bs=64k
dd if=/dev/zero of=/dev/sdc bs=64k
Above puts binary zeros on every byte of devices /dev/sdb & /dev/sdc   99% probability those will be the SSDs, but you need to watch the boot screen and see what make/models line up with the device names.

This will take 5-30 mins depending on capacity.  If you add a trailing & to each command, they will run in parallel.

Be sure to unplug power on all other devices to insure that only the boot USB & 2 SSDs are plugged in.
0
 
DavidCommented:
P.S.  Frankly, it is just nuts to stripe 2 SSD devices, especially for the O/S disk. It really only makes sense if you are doing data collection and mostly writes.

You will get much better real-world performance if you go RAID1.   Win7 software raid does read balancing, so both disks work in parallel.  Your read performance, both I/Os per second and throughput with multiple streams will be much faster then if RAID0.

Plus your data is protected.
0
 
nobusCommented:
i suggest to download the free Paragon Partition manager cd , and use that to delete your partitions  http://www.paragon-software.com/home/pm-express/
best connect each drive separately to delete the partitions

alternatively, you can delete the partitions on a disk drive when booting from the Win7  install DVD
0
 
DoctorK12008Author Commented:
Assuming there is an MBR Trojan present, can I create a disk image of the C: partition on another hard drive, then delete the RAID 0 array on the two SSDs, then re-create the array as RAID 1 on the SSD's then copy the disk image onto the SSD array?   Will this get rid o]f the Trojan?
0
 
NetfloCommented:
No it won't, the MBR will be copied across and copied back. Think of imaging is like taking a photograph of the system as is.

Copy your user data to a removable USB drive then copy back across once the system is formatted and you have up to date antivirus protection.
0
 
DavidCommented:
Look, it is easy to delete the partitioning.  Write 512 bytes of zeros to block #0.  Like I wrote a binary editor will do it.  Or boot the system to LINUX, and dd if=/dev/zero of=/dev/sdX bs=512 count=1

That will do it.  Just substitute the proper device name for the "of=/dev/sdX" part.
0
 
DoctorK12008Author Commented:
Is there any way to preserve my programs and copy them to another hard disk without having the MBR copied, with the presumed Trojan still present?   I really do not want to have to re-install all my programs.
0
 
DavidCommented:
Lots of good virus checkers out there.  If you want to preserve your data, you'll just have to find one that can clean it up.
0
 
NetfloCommented:
Please see the free Kaspersky Bootkit removal tool: http://support.kaspersky.com/viruses/solutions?qid=208280748

This along with any other MBR removal kit may help, else you'd be looking at the reformat option.

Best of luck!
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 4
  • 4
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now