[Solved] I can never get USBs to work with Linux...

New to Debian (Or Linux in general)? Ask your questions here!

[Solved] I can never get USBs to work with Linux...

Postby Chiefahol2 » 2019-09-03 12:46

2019, usbs are pretty much becoming outdated, Debian still struggles immensely just to format and use usb drives. :( I'm just trying to use the inbuilt gnome desktop tools to format a drive with NTFS, i get this error:

Code: Select all
'Error formatting volume

Error synchronizing after initial wipe: Timed out waiting for object (udisks-error-quark, 0)'


Wasn't able to copy/paste this error (why gnome?), anyway how do you resolve it?

Edit: It was a broken USB!
Last edited by Chiefahol2 on 2019-09-13 02:22, edited 1 time in total.
User avatar
Chiefahol2
 
Posts: 107
Joined: 2016-08-06 22:49

Re: I can never get USBs to work with Linux...

Postby Chiefahol2 » 2019-09-03 12:54

Just tried formatting it for FAT32, same error
User avatar
Chiefahol2
 
Posts: 107
Joined: 2016-08-06 22:49

Re: I can never get USBs to work with Linux...

Postby Chiefahol2 » 2019-09-03 12:56

Trying and failing to install gparted:

Code: Select all
dpkg: error processing archive /var/cache/apt/archives/libgtkmm-2.4-1v5_1%3a2.24.5-4_amd64.deb (--unpack):
 unable to clean up mess surrounding './usr/lib/x86_64-linux-gnu/libgdkmm-2.4.so.1.1.0' before installing another version: Read-only file system
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../gparted_0.32.0-2_amd64.deb ...
Unpacking gparted (0.32.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/gparted_0.32.0-2_amd64.deb (--unpack):
 unable to clean up mess surrounding './usr/sbin/gparted' before installing another version: Read-only file system
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libgtkmm-2.4-1v5_1%3a2.24.5-4_amd64.deb
 /var/cache/apt/archives/gparted_0.32.0-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
User avatar
Chiefahol2
 
Posts: 107
Joined: 2016-08-06 22:49

Re: I can never get USBs to work with Linux...

Postby Chiefahol2 » 2019-09-03 13:01

I get this error when attempting to delete the existing partition via gnome-disks:

Code: Select all
Error deleting partition /dev/sda1: Failed to commit changes to device '/dev/sda' (Partition map has no partition map entry!) (udisks-error-quark, 0)


I check fdisk and it definitely does have a partition entry. :oops:
User avatar
Chiefahol2
 
Posts: 107
Joined: 2016-08-06 22:49

Re: I can never get USBs to work with Linux...

Postby p.H » 2019-09-03 13:09

Chiefahol2 wrote:unable to clean up mess surrounding './usr/lib/x86_64-linux-gnu/libgdkmm-2.4.so.1.1.0' before installing another version: Read-only file system

Looks like /usr is mounted read-only. Is this expected ? If yes, you must remount /usr read-write before installing, upgrading or removing packages. If no, this may be the cause of your trouble, especially if the whole / filesystem has unexpectedly become read-only.
p.H
 
Posts: 1080
Joined: 2017-09-17 07:12

Re: I can never get USBs to work with Linux...

Postby Chiefahol2 » 2019-09-03 13:14

Rebooted.

Installed gparted. (Why is gnome-disks even packaged if it's broken?)

Formatted usb to NTFS.

Copied files.

Press eject...

Now it's just hanging. :P Said not to remove the disk and that it was still writing... then the notification disappeared, i don't see the new notification that it is safe to unplug?

How do i simply eject a usb from Debian 10?

'Unable to eject Volume

An operation is already pending'
User avatar
Chiefahol2
 
Posts: 107
Joined: 2016-08-06 22:49

Re: I can never get USBs to work with Linux...

Postby Chiefahol2 » 2019-09-03 13:30

After powering down the systemd job for mounting/unmounting filesystems was still running for several minutes. I have no idea if the data is copied properly. :P

I guess I'll find out tomorrow...
User avatar
Chiefahol2
 
Posts: 107
Joined: 2016-08-06 22:49

Re: I can never get USBs to work with Linux...

Postby stevepusser » 2019-09-03 17:54

Have you tried a different pendrive to see if your problem is hardware-based? They do get borked once in a while.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Calibre 3.47.1, QMPlay2 19.09.03, wine-staging 4.15, Telegram-desktop 1.8.4, Pale Moon 28.7.0, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11088
Joined: 2009-10-06 05:53

Re: I can never get USBs to work with Linux...

Postby Chiefahol2 » 2019-09-10 01:33

I believe that USB was defective, it seems to work fine with others, cheers steve. :lol:
User avatar
Chiefahol2
 
Posts: 107
Joined: 2016-08-06 22:49

Re: I can never get USBs to work with Linux...

Postby phenest » 2019-09-10 08:52

Chiefahol2 wrote:2019, usbs are pretty much becoming outdated, Debian still struggles immensely just to format and use usb drives.

Where did you get that information from? USB is not outdated. And Debian has never struggled with formatting USB drives in the 10+ years I've been using it regardless of whether I use CLI or GUI.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1703
Joined: 2010-03-09 09:38
Location: The Matrix

Re: I can never get USBs to work with Linux...

Postby reinob » 2019-09-10 11:35

Chiefahol2 wrote:I believe that USB was defective, it seems to work fine with others, cheers steve. :lol:


You might want to update the first post and/or title of the thread to avoid people wasting time reading about your defective USB drive...
reinob
 
Posts: 706
Joined: 2014-06-30 11:42

Re: [Solved] I can never get USBs to work with Linux...

Postby Chiefahol2 » 2019-09-13 02:22

agreed, cheers :mrgreen:
User avatar
Chiefahol2
 
Posts: 107
Joined: 2016-08-06 22:49


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable