LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-08-2014, 09:36 AM   #1
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Rep: Reputation: 229Reputation: 229Reputation: 229
Cannot copy files to USB flash drive from internal HDD.


I have a 16gb usb drive that I know that its empty. I've formatted it twice; once with ext4 and the second time with fat32. I tried to copy a 3gig file to it and it looks like it starts to copy and then just stops and hangs and it never finishes copying.

Debian 7 stable.

Any ideas?
 
Old 09-08-2014, 10:00 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Using what, file roller, not sure if that or something else is in Debian?

Or have you been trying to use the cp command? Sudo should pretty much take care of that:
Code:
sudo cp <filename> /media/<mount-point>/.
Other things to check out are the physical size the disk is and some information about it. Things like:
Code:
mount
df -h
When you format it are you using fdisk and then mkfs.ext4?
 
Old 09-10-2014, 11:04 AM   #3
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Original Poster
Rep: Reputation: 229Reputation: 229Reputation: 229
I am not using the cli to copy, I am using the gui Dolphin file manager; right-click copy, right-click paste. I tried this morning with cp but it just sits there for a long time, pretty much same issue..

to format I use a gui program called gnome-disk-utility

Im at work, when I get home I'll put the flash drive in the machine and try again and get the info from df -h.
 
Old 09-10-2014, 12:01 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
I would expect it to take some time to copy a 3GB file. If you are using dolphin, do you see a progress bar showing the copying? Have you set the permissions on the flash drive to allow a user to write to it? If not, I would expect you would get a permission denied error.
 
Old 09-10-2014, 01:06 PM   #5
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Original Poster
Rep: Reputation: 229Reputation: 229Reputation: 229
I do see the progress bar in notifications area of the kde taskbar, and it shows like 10 minutes left and then after about 30 seconds, the "minutes left" keeps increasing, 15, 30, 52, 2.5hrs, and it just hangs. If it is a permission issue, should it not prompt me for credentials?
 
Old 09-10-2014, 03:46 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Can smaller files copy?
 
Old 09-10-2014, 08:32 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,322
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Try copying it using the command line.

No guarantees as the copying seems to slow rather than stop, but there's a chance some useful error messages might pop up.
 
Old 09-10-2014, 11:21 PM   #8
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Original Poster
Rep: Reputation: 229Reputation: 229Reputation: 229
Thanks for the help guys, I replaced the flash drive with a new Patriot and now its transferring normally. I guess the flash drive went bad or something. Thats a first time I've had a flash drive go bad.. Weird. Anyway, I appreciate all the comments...
 
Old 10-04-2014, 12:23 PM   #9
cesarbergara
Member
 
Registered: Feb 2012
Location: Buenos Aires, Argentina
Distribution: Debian, Suse, Mandrake,
Posts: 92

Rep: Reputation: Disabled
Hi. Do you see /etc/fstab line for flash?
Time ago i have a problem, because de options (by default) in flash line was 'sync'. Then, flash read-write very slow. Changing 'sync' by 'nosync' solve the problem.
I hope this will hopefull.
Have a nice day.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do I copy root the file system of an internal hdd to a usb hdd completelinuxnube Slackware 8 08-06-2012 02:22 PM
Copy mbr of usb flash drive using dd. sr_25 Linux - Newbie 4 02-22-2011 08:16 AM
How to install to a USB flash drive as if it was a USB HDD? ddalley Linux - Software 15 09-16-2009 08:14 PM
Copy an internal hard drive as backup? Restore an internal drive? Peufelon Linux - Hardware 2 06-15-2008 03:28 PM
save work to usb flash drive or HDD ninadb Linux - Distributions 1 03-27-2007 06:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration