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.
edit:
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
/dev/hdc
? Ubuntu 18.04 will usually uses
instead ofh
. Can you create a USB boot drive in another computer/operating system and boot thie computer with problems from the USB boot drive? Please check if things work in the live system (thatgparted
,fdisk
and gnome-disks` work). If they do not work, I would agree with @CurtisGedak, and suspect a hardware error. – sudodus Nov 13 '18 at 18:46/dev/sdc
:-) 1. But it would still be worthwhile to try from a live system (I suggest a live system made from an Ubuntu 18.04.1 LTS iso file); 2. I think the links by @oldfred can help you (can be done in the Lubuntu system, that you refer to in you edited question). – sudodus Nov 13 '18 at 19:09