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: USB drive erasing problem


23 Apr 2010   #1

Linux (Debian, Android)
 
 
USB drive erasing problem

I have a USB drive from ICC 2009 Germany IEEE Catalog No.: CFP09ICC-USB that has a read-only (can't copy or delete files from it) "partition" of CD-Drive icc2009.1500 using CDFS filesystem. How can I get rid of this "partition"?

I tried secure erasing it with DBAN using DoD standard and that did nothing.

Any help would be appreciated.


My System SpecsSystem Spec
.

23 Apr 2010   #2

Windows 7 x64
 
 

Not having much luck searching up that device. Is this a hard-disk type device (SSD or spinning platters hard drive of any size) or is it a flash-based thumbdrive?

Flash thumbdrive: Partition could be E3 software. Google "e3 removal tool".

Spinning hard disk or SSD: Do you have information on the disk you need? If not, you can use a Linux LiveCD to directly pipe zeroes to the disk, thus destroying the partition table and the read-only partition with it.

I do believe I've run into more polished tools for erasing these read-only partitions but I can't for the life of me remember what they were called. Those partitions are often dropped on the disk by an OEM who wants to keep their automated troubleshooting tools safe from end-user destruction. That might help the search somehow.

-- Brian
My System SpecsSystem Spec
23 Apr 2010   #3

Linux (Debian, Android)
 
 

Its a flash thumbdrive and it doesn't have U3 on it. I tried using the U3 removal tool and it says that no U3 file system could be recognized.

Do you have the exact command to pipe 0s to the thumbdrive from a Linux LiveUSB?
My System SpecsSystem Spec
.


23 Apr 2010   #4
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Since this is a Linux filetype, you may be better off dealing with it using a live Linux distro.
My System SpecsSystem Spec
23 Apr 2010   #5

Windows 7 32 bit
 
 

Should be
dd if=/dev/zero of=/dev/drive bs=xx

where /dev/drive should be changed to match the mounted thumb drive
and bs=xx changed to match the block size of the thumb drive(e.g. bs=1M)

Just watch what you put for of= before you run it.
My System SpecsSystem Spec
24 Apr 2010   #6

Windows 7 x64
 
 

Quote   Quote: Originally Posted by MilesAhead View Post
Should be
dd if=/dev/zero of=/dev/drive bs=xx

where /dev/drive should be changed to match the mounted thumb drive
and bs=xx changed to match the block size of the thumb drive(e.g. bs=1M)

Just watch what you put for of= before you run it.
^-- What he said! That should erase the partition table entirely.

I want to provide some overly clear and specific instructions though, because you do have to be careful about finding out which device is which drive.

Run this command to list all of the drives on the system:
ls /dev |grep sd

Insert the offending USB drive at this point and run the line again:
ls /dev |grep sd

You will see more drives on the system. The ones that are new, and were not in the list the first time, are the thumbdrive. Depending how the drive is made there may be two partitions on one drive, or one partition each on two drives.

The "drives" on Linux will be lettered like this:

/dev/sda
/dev/sdb
/dev/sdc

The partitions on those drives will be lettered AND numbered like this:
/dev/sda1
/dev/sda2
/dev/sdb1
/dev/sdc1


If you have one hard drive in your computer already (suggestion: unplug it for safety), it will probably look something like this:

1: Boot computer to Live CD
2: Open a command prompt or terminal (in the Accessories tab)
3: Become root for admin access to the system:

In the terminal window:

user@ubuntu:~# sudo su -
( password will be empty, just push enter )
root@ubuntu:~# ls /dev |grep sd
sda
sda1
sdb
sdb1
sdb2

4: Insert the thumbdrive and wait a sec. It will ask if you want to open it but don't.

root@ubuntu:~# ls /dev |grep sd
sda
sda1
sdb
sdb1
sdb2
sdc <--- Thumbdrive
sdc1 <--- Partition on the Thumbdrive
sdc2 <--- Second partition on the thumbdrive
sdd <--- Possibly a second thumbdrive device?
sdd1 <--- Partition on the second thumbdrive device

5: Write zeroes to the thumbdrive.

root@ubuntu:~# dd if=/dev/zero of=/dev/sdc

If you see sdc, sdc1 and sdc2, the "raw write" will work. If you see sdc, sdc1, sdd, sdd1, it probably will not.

Don't write zeroes to /dev/sda unless you've unplugged your drive. That's your Windows OS!
My System SpecsSystem Spec
25 Apr 2010   #7

Linux (Debian, Android)
 
 

Hey thanks for the replies guys,

I made a LiveUSB thumbdrive with Ubuntu 10.04 LTS RC and found out the offending thumbdrive is labeled /dev/sdd recognized as 1.7 GB with no partitions (e.g. sdd1, sdd2). I did the command "sudo dd if=/dev/zero of=/dev/sdd" and it said it performed the write over 1.7 GB.

But when I boot back into Windows it still shows that "CD-Drive icc2009.1500". Do you think this thing can never be erased?
My System SpecsSystem Spec
25 Apr 2010   #8

W7, Xp Pro
 
 

Quote   Quote: Originally Posted by Firestrider View Post
Hey thanks for the replies guys,

I made a LiveUSB thumbdrive with Ubuntu 10.04 LTS RC and found out the offending thumbdrive is labeled /dev/sdd recognized as 1.7 GB with no partitions (e.g. sdd1, sdd2). I did the command "sudo dd if=/dev/zero of=/dev/sdd" and it said it performed the write over 1.7 GB.

But when I boot back into Windows it still shows that "CD-Drive icc2009.1500". Do you think this thing can never be erased?

Hi.
The system needs some space, eg; System Volume Information.
My System SpecsSystem Spec
26 Apr 2010   #9

Windows 7 x64
 
 

Quote   Quote: Originally Posted by hubris View Post
Quote   Quote: Originally Posted by Firestrider View Post
Hey thanks for the replies guys,

I made a LiveUSB thumbdrive with Ubuntu 10.04 LTS RC and found out the offending thumbdrive is labeled /dev/sdd recognized as 1.7 GB with no partitions (e.g. sdd1, sdd2). I did the command "sudo dd if=/dev/zero of=/dev/sdd" and it said it performed the write over 1.7 GB.

But when I boot back into Windows it still shows that "CD-Drive icc2009.1500". Do you think this thing can never be erased?

Hi.
The system needs some space, eg; System Volume Information.
I don't think System Volume Information is what's going on. (Are you talking about the capacity lost to formatting?) The device is emulating a CD drive, showing two devices when inserted instead of one.

Firestrider, did only one device appear, and it was /dev/sdd? i.e. /dev/sdc was already present without the thumbdrive? (Not that it matters much I guess. If the thumbdrive is emulating the CD drive as part of its device architecture, either it can't be undone or you need a special tool that can talk to the proprietary thumbdrive gadgetry inside. Similar to U3 but a different brand maybe.)

Does the emulated CD drive have any contents? What's in there? If you can figure out what company's software was meant to run off the fake CD thing their site might have a solution.

OTOH, this may not be worth the time and effort... I take it this isn't exactly a brand new flash stick. You could probably replace it with something double the size for dirt cheap.
My System SpecsSystem Spec
26 Apr 2010   #10

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

Try formatting to FAT32 in windows.

Either run CMD as admin, then at the command prompt type:

format <drive letter>:/FS:FAT32

Or look for your drive letter in the Disk Management window, then right click and format.
My System SpecsSystem Spec
Reply

 USB drive erasing problem




Thread Tools



Similar help and support threads for2: USB drive erasing problem
Thread Forum
Drive erasing to DOD standards General Discussion
Solved Erasing a CD-RW disk Hardware & Devices
erasing data by location on hdd General Discussion
Need help on erasing hard drive General Discussion
Help on erasing Vista Installation & Setup
erasing a cd/dvd General Discussion
Which is the best erasing program? Software

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 03:22 AM.
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