I am trying to repurpose a USB stick that previously had a Win 10 repair disc on it. When I deleted the one partition it had in Disks instead of saying 16GB free space it says CCCOMA_xxx 16GB UDF. I tried using USB Stick Formatter to see if it had some magic it would do to remove UDF, but no luck.
Do I have to use dd or some such now to ditch UDF and properly format this USB stick?
BTW, I can create a new partition and format it whatever I want and use the USB stick just fine. I just don't like that under that partition somewhere it is 'stuck' on UDF, whatever that means.
Thanks.
[SOLVED] USB stick stuck on UDF
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 2
- Posts: 54
- Joined: Mon Oct 28, 2019 7:39 pm
- Location: Central Coast, CA
[SOLVED] USB stick stuck on UDF
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: USB stick stuck on UDF
Try gparted; the device selector is in the upper-right corner of the GUI.stringfellow wrote: ⤴Sun Nov 10, 2019 2:35 pmWhen I deleted the one partition it had in Disks instead of saying 16GB free space it says CCCOMA_xxx 16GB UDF. I tried using USB Stick Formatter to see if it had some magic it would do to remove UDF, but no luck.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
-
- Level 2
- Posts: 54
- Joined: Mon Oct 28, 2019 7:39 pm
- Location: Central Coast, CA
Re: USB stick stuck on UDF
Thanks Flemur it's time I installed Gparted anyway. Looks really good.
-
- Level 2
- Posts: 54
- Joined: Mon Oct 28, 2019 7:39 pm
- Location: Central Coast, CA
Re: USB stick stuck on UDF
GParted no help unfortunately. Doesn't give me any options besides Information. But I'm sure GParted will be useful for other stuff in future.
And strangely it is showing 6GB used and 10GB free in a 16GB USB stick. And this is with no partitions.
Should I research dd?
PS - This is a very low priority kind of thing. It's more for my own knowledge really.
And strangely it is showing 6GB used and 10GB free in a 16GB USB stick. And this is with no partitions.
Should I research dd?
PS - This is a very low priority kind of thing. It's more for my own knowledge really.
Re: USB stick stuck on UDF
Suggest you install mkusb:
https://help.ubuntu.com/community/mkusb
It has an option to 'restore to a standard storage device' which will be safer than using dd. But if you want to use dd:
This will wipe the partition table on device sdx, so replace sdx with the mount for the usb stick. You can find out what this is with gparted, e.g. the stick plugged into my laptop is showing in gparted as sdd. Once this has been done you will need to use gparted to create a new partition table, suggest MSDOS, on the stick and then a new fat32 partition. If that doesn't work you could try:
which will wipe the whole stick, and may take some time.
Be warned, not for nothing is dd also known as 'disk destroyer', get the syntax wrong, e.g. point to the wrong device, and you could wipe your system.
https://help.ubuntu.com/community/mkusb
It has an option to 'restore to a standard storage device' which will be safer than using dd. But if you want to use dd:
Code: Select all
sudo dd if=/dev/zero of=/dev/sdx bs=512 count=1
Code: Select all
sudo dd if=/dev/zero of=/dev/sdx
Be warned, not for nothing is dd also known as 'disk destroyer', get the syntax wrong, e.g. point to the wrong device, and you could wipe your system.
Thinkcentre M720Q - LM21.1 cinnamon, 4 x T430 - LM20.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
-
- Level 2
- Posts: 54
- Joined: Mon Oct 28, 2019 7:39 pm
- Location: Central Coast, CA
Re: USB stick stuck on UDF
Thanks AndyMH. I will check out mkusb. And carefully try dd commands if that fails.
Marking this thread as solved as this is not a huge issue.
Marking this thread as solved as this is not a huge issue.