I've been having trouble getting gparted to run. I'd like to format a usb stick. . . but when I attempt to load gparted it endlessly cycles through "scanning all devices". This is a fresh Ubuntu 18.04 install on a Dell Latitude 5290, in case that helps.
Gparted does the same regardless of the usb stick being inserted or not.
When I run gparted from "sudo gparted" the output is:
Unit -.mount does not exist, proceeding anyway Gtk-Message: 12:31:43.801: Failed to load module "canberra-gtk-module" ============== libparted: 3.2 ==============
The GUI comes up with the scanning animation on the bottom bar. And that's all that happens.
I should add, this is not just a gparted problem. When I run "sudo fdisk -l", fdisk starts listing my drives, but when it gets to /dev/sdc it freezes. Even a ^c won't get me out of fdisk. "sudo killall fdisk" does not kill the fdisk task.
The "Disks" GUI application often does not load. Attempting to run it from the command line results in the error message "GNOME-Disks-ERROR **: Error getting udisks client: Timeout was reached Trace/breakpoint trap"
When I use the gnome-disks utility to format the usb drive it gives me:
Error creating file system: Command-line `parted --script "/dev/sdd" mktable msdos' exited with non-zero exit status 1: Error: Input/output error during read on /dev/sdd Error: Input/output error during write on /dev/sdd (udisks-error-quark, 0)
edit 2: I managed to get gparted to load with the usb drive inserted on one of my old LUbuntu 16.04 boxes. gparted spews out a lot of warnings. The "information" panel for /dev/sdd (it calls it sdd now) says:
/dev/sdd: unrecognised disk label Input/output error during read on /dev/sdd