The first thing to know is the device name of your USB stick. As Capricorny wrote you should open a terminal and enter
Code:
sudo fdisk -l
You will get a list about your disk devices.
In Knoppix drives are identified by devicenames. The first hdd is /dev/sda, the second one /dev/sdb etc. On a drive there are usually partitions. They are identified by numbers. The first partition on the second drive is /dev/sdb1.
When you know the devicename you should enter
Code:
sudo umount /dev/sdb1
to be sure that the device to be formatted is not mounted anymore. If your devicename is different from /dev/sdb1 you must use that instead. If the USB stick is not mounted, you will get an error message which does not bother you. A problem would be if you get an error message about a busy device. In that case you have to find out wether there is an open file which has to closed before you may unmount the device.
The next step will be to format the USB stick. This might be the point where you will get problems with the virtualization technology as Capricorny stated before. You must enter
Code:
sudo mkfs.ext3 /dev/sdb1
Again, you have to use your devicename if it is different from /dev/sdb1.
Remember: If you format the device all data on it will be lost. Be careful to select the right device.
The last step, I think, would be to change the partition id in the partition table. If your USB stick is /dev/sdb and the partition is the first one then the command would be
Code:
sudo sfdisk --change-id /dev/sdb 1 83
In Knoppix 6.2 there is the possibility to use gparted instead of the command line tool mkfs.ext3. You can find it in the menu "Preferences" -> "GParted"