I got this error when trying to format a USB flash drive using GParted.

Error formatting volume

  Error wiping device: Command-line `wipefs -a "/dev/sdb1"'   
  exited with non-zero exit status 1: wipefs: error: /dev/sdb1:   
  probing initialization failed: Read-only file system  
  (udisks-error-quark, 0)

Error while formatting USB flash drive

1 Answer 1


Maybe wipefs failed because the USB flash drive is mounted. Run lsblk to check whether the flash drive is mounted, and run this command to unmount it if needed:

sudo umount /dev/sdb1

Then try to format the flash drive in GParted again.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .