[SOLVED] Cannot copy files to USB flash drive from internal HDD.
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829
Rep:
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.
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829
Original Poster
Rep:
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.
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.
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829
Original Poster
Rep:
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?
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829
Original Poster
Rep:
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...
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.