LinuxQuestions.org
Help answer threads with 0 replies.
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: TX
Distribution: Debian
Posts: 814

Rep: Reputation: 228Reputation: 228Reputation: 228
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,222
Blog Entries: 13

Rep: Reputation: 4276Reputation: 4276Reputation: 4276Reputation: 4276Reputation: 4276Reputation: 4276Reputation: 4276Reputation: 4276Reputation: 4276Reputation: 4276Reputation: 4276
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: TX
Distribution: Debian
Posts: 814

Original Poster
Rep: Reputation: 228Reputation: 228Reputation: 228
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: PCLinux, Slackware
Posts: 9,242

Rep: Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030
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: TX
Distribution: Debian
Posts: 814

Original Poster
Rep: Reputation: 228Reputation: 228Reputation: 228
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: 20,549

Rep: Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301
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: 17,069
Blog Entries: 27

Rep: Reputation: 5230Reputation: 5230Reputation: 5230Reputation: 5230Reputation: 5230Reputation: 5230Reputation: 5230Reputation: 5230Reputation: 5230Reputation: 5230Reputation: 5230
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: TX
Distribution: Debian
Posts: 814

Original Poster
Rep: Reputation: 228Reputation: 228Reputation: 228
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: 73

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 10:41 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