I used a bunch of SD cards and USB along the years to install several Ubuntu in different computers, and now I would like to recover those cards to use them for normal storage. I can't seem to find any way to do it online.
Can someone help?
I used a bunch of SD cards and USB along the years to install several Ubuntu in different computers, and now I would like to recover those cards to use them for normal storage. I can't seem to find any way to do it online.
Can someone help?
Just format it, bootable USB is nothing more than a setup utility for an operating system, it'll revert back to its original function (act as data storage) after you format it, same goes for MicroSD.
To handle the job I personally recommend the GParted tools, you can download it using below command.
Select your devices, navigate to Device → Create Partition Table to overwrite the data— don't forget to unmount any partition first.
Usually USB have
/dev/sdb
or/dev/sdc
as a device names, meanwhile MicroSD has/dev/mmcblk
.Use
disks
(gnome-disk-utility
).On the left side, choose your USB drive.
Then, on the right side you see 2 or three partitions. Select and remove them with the - button below until the stick is covered with "Free Space".
Select the Free Space and press the + button below to create a new partition and format it with the preferred file system. Done.
GParted vs ISO9660
GParted is not too good at ISO9660 file systems. To reformat a flash drive that has been used by Startup Disk Creator, I use Disks to unmount any partitions. I then use GParted - Device/Create Partition Table, to create a new partition table, (usually msdos). Then I use GParted to create a new FAT32 or NTFS partition.
One advantage of the above method is that I can boot the Live USB toram and then use it to format itself.
First alternative
In most cases you can use Disks alias
gnome-disks
orgparted
.I think
gparted
is easier to use. It is available in Ubuntu live (in an SD card or USB pendrive), and you can install it into installed Ubuntu systems withSecond alternative
In some cases it might not work with Disks or
gparted
. Then you canmkusb
).Third alternative
If there are still problems you can analyze it according to the following links and links from them,
Can't format my usb drive. I have already tried with mkdosfs and gparted
help.ubuntu.com/community/Installation/FromUSBStick/post
You can reformat them in Linux or Windows to whatever filesystem you prefer (exFat, NTFS, ext4, etc..) and they will be useable as regular removable storage again.
Just be aware that it’ll delete whatever data you have on there as formats do.
If you are planning to use the devices in Windows next, Windows make formatting very easy. However, it too is confused. So this is a very quick way:
On Linux:
dd if=/dev/zero of=/dev/sdc bs=1M count=1
(make suresdc
matches your USB/SD drive`Now take it to Windows and plug it in. Windows will ask if you want to format it, and click OK, then Format. Now it's all good!