More USB device issues
I have a 4 gig usb stick ive been having issues with
after writing zorin to it for a friend it wont wipe clean or mount
Gparted and cfdisk cant seem to put a new partition table on it
when I ran:
dd if=/dev/zero of=/dev/sdb bs=512 count=1
it had no effect on the zorin images on there
the same problem happened to my usb hard disk
the images wont come off with dd, gparted or cfdisk
well, my own stuff aside, heres the result of $mount:
I noticed that the capacity of my device is about 300B for the stick and 93 for the HD.
/dev/sdb1 on /media/Zorin OS 5.2 64bit type iso9660 (ro,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks)
/dev/sdb1 on /media/Zorin OS 5.2 64bit_ type iso9660 (ro,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks)
/dev/sdb1 on /media/Zorin OS 5.2 64bit___ type iso9660 (ro,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks)
how can I clean these off?
First, check this: a very few USB sticks out there have a write-protect slider on them. If you have one of these, make sure the slider is up (toward the contacts). This tutorial shows how to format a USB stick: Restore Your USB Key to it's original state | USB Pen Drive Linux
First, checking the write-protect slider is a great catch! I forgot some USB devices had that feature.
Second, if you remove the "count=1" from the "dd" command it should wipe out everything on the disk. But if "gparted" won't write to the device that's pretty odd. Are you sure it's not getting mounted by your OS? I never tried to run "gparted" or any of the "fdisk" family of commands on the device that was mounted by the OS. I would expect those tools to baulk at wiping out the partition on device that the OS was actively using. The "/media/Zorin" bit above is what prompted me to ask about it being mounted. If that's the case, just "umount /media/Zorin" before running "gparted".
Also, in case you want other commands to try, you can repartition devices with "palimpsest" too if it's on your system. That's the command line to invoke the standard disk manager on Ubuntu and Fedora systems. It has a pretty clean, straightforward UI and might give you more info to help diagnose the problem even if it doesn't work.
You'll have to unmount it first. Try this
It'll ask you for the root password, after which you shoul be able to run gparted.
su -c "umount /media/Zorin"