Sorry, this is waaaaaaaaaaay off-topic, but I wondered if any of the USB experts might happen to know:
I was at the UK Embedded Systems Show the other day, and got a free USB stick from Farnell. When plugged-in, this shows up as two drives: 1. A CD-ROM drive, which has an auto-play promotional movie on it; 2. A "normal" USB drive.
The trouble is, every time you plug it in, it tries to play the movie again!
:-(
Win-XP says the CD-ROM part is read-only, so won't let me delete the files or format it.
So, is there any way to get rid of this movie? Or do I just junk the whole stick?
Do you have any tools that can rewrite the MBR and the Partition Table?
Is it likely that this is being done in the MBR and/or Partition table, or is it the device firmware that is enumerating on the USB as two separate "drives"...?
I have looked at it with the Win-XP disk management tools, and that shows it as two completely separate devices - not one device with 2 partitions: The 'Delete Partition' option is greyed-out on both devices; The 'Format' option is greyed-out on the devices that appears as a CD-ROM (it is formatted as "CDFS").
The partition tools provided by Microsoft are not good. I think that, it is because Microsoft wants to protect its OS. You need to find a good partition tool to erase the CDFS.
Can't find any good links for you, But you can try the keywords "Remove CDFS".
The below link says:
I had the same problem, I used Gparted on a Linux Live CD. I used Puppy Linux and re-formatted both to FAT32 so I have 2 partitions to use now.
www.pcadvisor.co.uk/.../index.cfm
In my experiances, most Linux distributions provide good partition tools.
For Windows Environment, you can try SPFDisk.
spfdisk.sourceforge.net/
It is designed by a Taiwanese engineer, not easy to find a good English Documentation.
Before messing with searching for Partition-management tools, the basic question needs to be answered: "Is it likely that this is being done in the MBR and/or Partition table?"
If it isn't a "Partition" - but a firmware thing - then no Partition-management tools are going to help!
"Definitely - it's only a 512MB stick!"
Andy, don't you think you're taking recycling a little too far?
I would be surprised if it is done with partitions. Sounds more like a firmware feature.
If you have a proper partition tools, it will be very easy to examine that.
Why do you think I replied, "Definitely", to the suggestion, "in terms of return on investment, it'd be an almost certain disaster"...?!
;-)
You missed my point: if it's not likely to be the MBR and/or Partition Table, then there is no point in trying to find "proper partition tools" - is there?!
:-)
For me, I just need to restart my desktop, boot into Ubuntu Linux, I don't need to find anything, so it only takes several minutes to me. But trying to find some software, scan viruses, read documentation, it realy takes too much time.
I always keep a CD with gparted for handling repairs, migration to larger disks etc. It has partition editor etc.
Andy,
you would be better to find an expert cracker, than a USB expert ;-)
I can make up such a USB stick for you within 30 min, modifying KEIL example to support multiple LUNs. But I don't know how to crack your stick, other than with a hammer :-)
Tsuneo
So what you're saying is that this is a configuration in the stick's "firmware" to create 2 entirely separate "drives" - and not some kind of "partitioning" of a single drive?
In which case, it is pointless to even try messing about with disk editing or partitioning software?
Thanks, that is exactly what I wanted to know!
I will try the hammer approach - as that, at least, will be fun!
A selective use of the hammer may possibly produce hardware that you could reprogram and play with.