[LINUX] When USB cannot be formatted

reference

★ I referred to this ★

Look up the USB name

fdisk -l

Make sure to format with the fdisk command

  1. Press d (Delete Partition)
  2. Enter (Delete default partition)
  3. Repeat steps 1 and 2 until there are no more partitions
  4. Press n (Create new partition)
  5. Press p (Create Primary Partition)
  6. Press 1 (create partition 1)
  7. Enter (first)
  8. Enter (last)
  9. Press w (write complete)

Unmount USB

umount /dev/sdb1

FAT file system creation

mkfs.vfat -F 32 /dev/sdb1

Those who want to know a little more

★ I referred to this ★

Recommended Posts

When USB cannot be formatted
When pydub cannot be installed
When Html cannot be output with Jupyter Notebook
When contour map cannot be drawn with APLpy
"Temporary solution" when pip cannot be updated [Python]
[Linux] When "| (pipe)" cannot be hit on CentOS7
Investigation when import cannot be done with python
tar.gz cannot be expanded
Tensorflow cannot be imported
Python note: When the pip command cannot be used
When Windows Subsystem for Linux (WSL) cannot be started
When import matplotlib.pyplot cannot be done in pyenv-virtualenv environment
Options when installing libraries that cannot be piped with pyenv
Solution when the image cannot be displayed with tkinter [python]
Record of actions to be taken when google_image_download cannot be used
When Times New Roman cannot be used with matplotlib (Ubuntu)
Linux delete command when only the folder cannot be deleted
What to do when a video cannot be read by cv2.VideoCapture
Parallel computing (pathos) when dealing with objects that cannot be pickled
When will mmap (2) files be updated? (3)
When will mmap (2) files be updated? (2)
[Python] Be careful when using print
[Rails] Google Maps API Description when latitude and longitude cannot be saved