LinuxQuestions.org
Visit Jeremy's Blog.
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, 10:36 AM   #1
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Debian/Ubuntu,CentOS
Posts: 848

Rep: Reputation: 231Reputation: 231Reputation: 231
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, 11:00 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,916
Blog Entries: 13

Rep: Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948
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, 12:04 PM   #3
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Debian/Ubuntu,CentOS
Posts: 848

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
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, 01:01 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,049

Rep: Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624
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, 02:06 PM   #5
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Debian/Ubuntu,CentOS
Posts: 848

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
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, 04:46 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,184

Rep: Reputation: 3648Reputation: 3648Reputation: 3648Reputation: 3648Reputation: 3648Reputation: 3648Reputation: 3648Reputation: 3648Reputation: 3648Reputation: 3648Reputation: 3648
Can smaller files copy?
 
Old 09-10-2014, 09: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,677
Blog Entries: 28

Rep: Reputation: 6249Reputation: 6249Reputation: 6249Reputation: 6249Reputation: 6249Reputation: 6249Reputation: 6249Reputation: 6249Reputation: 6249Reputation: 6249Reputation: 6249
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-11-2014, 12:21 AM   #8
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Debian/Ubuntu,CentOS
Posts: 848

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
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, 01: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:22 PM
Copy mbr of usb flash drive using dd. sr_25 Linux - Newbie 4 02-22-2011 09:16 AM
How to install to a USB flash drive as if it was a USB HDD? ddalley Linux - Software 15 09-16-2009 09:14 PM
Copy an internal hard drive as backup? Restore an internal drive? Peufelon Linux - Hardware 2 06-15-2008 04:28 PM
save work to usb flash drive or HDD ninadb Linux - Distributions 1 03-27-2007 07:09 AM

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

All times are GMT -5. The time now is 05:05 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