From: robert.spam.me.senseless on
I have been given a flash drive that contains advertising material in a
partition which is read as a CD drive by my computer. It shows up in
Disk Management (in XP) as drive G:, File system CDFS. I can't delete
the partition using any of the XP tools. I've tried to use cfdisk in
Linux with no success.

How do I delete a CDFS partition on a flash drive? I'm capable of
using Linux for the job.

From: Dave on

<robert.spam.me.senseless(a)gmail.com> wrote in message
news:1130673176.769355.133700(a)z14g2000cwz.googlegroups.com...
>I have been given a flash drive that contains advertising material in a
> partition which is read as a CD drive by my computer. It shows up in
> Disk Management (in XP) as drive G:, File system CDFS. I can't delete
> the partition using any of the XP tools. I've tried to use cfdisk in
> Linux with no success.
>
> How do I delete a CDFS partition on a flash drive? I'm capable of
> using Linux for the job.
>

Untried, but I did something similar to remove the 'hidden' bit from some
partitions once:

Read off the MBR using dd, change the file system byte to something else
(FAT32?) using a hex editor and write it back using dd. It will then look
like a hopelessly corrupt (writable) partition. You should then be able to
format the partition.
You will need to look at the MBR spec. All this is at your own risk.


From: robert.spam.me.senseless on
Sounds a bit beyond my limited technical expertise. I still haven't
succeeded.

Is there a way I could write an entire disk image to it using dd? If
so, which image?

Maybe there aint such a thing as a free flashdisk.