|
|||||||
|
Is there a command line tool to wipe a drive with dynamic partitions?
Tried...HDDerase and SDelete Is there anything short of booting to a Windows XP disk and wiping partitions or some extensive DISKPART commands? It'd be nice if there was a simple command line tool to do that off a bootable usb. Anyone know of any free tool? I know Boot and Nuke but it takes too long. Pretty much want to be able to quickly get rid of all dynamic partitions so Windows can be installed on the drive. |
| 04-11-2012, 01:39 PM | |
|
|
|
Since you dont care about securely erasing the disk you could use DBAN on one pass and stop it after 5 or 10 min. That is enough time to get rid of the MBR. Then when you go to install windows just have it do a quick format on the drive.
Another good option would be a bootable cd like http://partedmagic.com/doku.php?id=sta Vague questions receive vague answers . . . . . .
|
|
Not really sure why you'd want to boot into win XP and use a command line tool for this....
What's the layout of the disk that has the dynamic partition? What's the model number of the disk (just want to make sure it's not adv. format or bigger than 2tb that needs GPT). Do you want all the partitions wiped or selective partition deletion? If the disk is MBR format and if you just want to have a blank drive fast for OS installation, the easiest way is to boot the computer with any liveCD linux and either do a dd to wipe the partition table and MBR record and/or use fdisk to delete each partition one by one. Only the MBR/partition info are altered/resetted, the actual data will be overwritten once you create new partitions from OS installation process. To be safe you might want to remove all other drives from the system and leave only the one you want to blank out.
|
|
|
I was just hoping there was an even faster way off a bootable usb. |
|
|
Or A bootable dos usb stick and some fdisk command (don't know what it would be but im sure there is one) |
|
|
I've read that the Dynamic Disk Info is held at the end of the drive, in the last 1 Megabyte.
So, assuming that you don't care about the data on the drive, just erase the tail end of the drive. "dd" is a common Unix/Linux/etc utility that can do it. On modern Linux, something like: Code:
sudo dd if=/dev/zero of=/dev/disk/by-id/ata-... bs=1MB seek=300000 dd = data moving/copying utility with an undescriptive name ![]() if = input file /dev/zero = special zero file of = output file /dev/disk/by-id/ata-... = Replace "..." with the manufacturer, model and serial of the drive to erase (when typing the command, use autocomplete with TAB to see potential choices, or run "ls /dev/disk/by-id/ata*" first). bs = block size, I chose to use 1MB as the unit seek = start output offset by that many units (300000 * 1MB = 300GB) So, that command erases everything past 300GB on the given disk. Adjust the seek parameter to erase more or less. You can also use dd to erase the MBR and traditional partition table. "sudo dd if=/dev/zero of=... bs=512 count=1". That erases the first 512bytes of the target. Last edited by redskull; 04-11-2012 at 07:55 PM.. |
|
So how is sdelete [microsoft.com] not working from the command line?
|
|
Not recognizing the dynamic partitions...
Says I need a different version
Last edited by boltman2007; 04-12-2012 at 10:02 AM.. Reason: Automerged Doublepost |
||||
|
I have degrees in both animal behaviorism and psychology and have come to the conclusion that animals make a hell of a lot more sense than people.
![]() |
|
|
|
|
|
Are you willing to pay? If so, try Acronis Disk Director 11 [acronis.com].
|
|
|
||
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is there a way to trace where an Email originated? | jbloggs | Tech Support | 17 | 09-22-2011 04:12 PM |
| Android Gmail app: Is there a way to delay sync times? | dzap | Tech Support | 2 | 10-22-2010 08:49 PM |
| Is there a way to have your server sleep and wake up only when another computer needs to access the data? | yazyazoo | Tech Support | 7 | 09-11-2010 11:59 AM |
| Is there a way to make a non-DLNA Samsung television compatible with DLNA? | misterblack | Tech Support | 5 | 08-26-2010 11:17 AM |
| Is there a way to have a secondary printer? | abeo | Tech Support | 8 | 08-12-2010 01:57 PM |