[SOLVED] Cant copy files from Gentoo server to USB drive.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
/dec/sda3 om / type ext3 )rw,noatime)
none on /rpoc type proc (rw)
none on /sys type sysfs (rw)
none on /dev type ramfs (rw)
none on /dev/pts type devpts (rw)
/dev/sda1 on /boot type ext3 )rw,noatime)
/dev/sdb1 on /data type ext3 (rw,noatime)
none on /dev/shm type tmpfs (rw)
none on /proc/bus/usb type usbfs (rw)
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Quote:
Originally Posted by Chrisroot
Hey Rikkkk,
Here is the output from mount-
/dec/sda3 om / type ext3 )rw,noatime)
none on /rpoc type proc (rw)
none on /sys type sysfs (rw)
none on /dev type ramfs (rw)
none on /dev/pts type devpts (rw)
/dev/sda1 on /boot type ext3 )rw,noatime)
/dev/sdb1 on /data type ext3 (rw,noatime)
none on /dev/shm type tmpfs (rw)
none on /proc/bus/usb type usbfs (rw)
OK so your USB drive at /dev/sdc1 is not currently mounted anywhere. Can you confirm that it is plugged in by running fdisk -l again please and posting the results ?
OK so your USB drive at /dev/sdc1 is not currently mounted anywhere. Can you confirm that it is plugged in by running fdisk -l again please and posting the results ?
Thx.
Recommend that the assumption is that Chrisroot has this drive still in there and it is of type 'c' which is a fat32. Therefore it is best to work towards performing the mount.
Code:
# cd /mnt
# mkdir -p drive_c
# mount -t vfat /dev/sdc1 /mnt/drive_c
# mount
May I remind everybody this is Gentoo, nothing is installed unless administrator decided to install it. Also, there is no automount of any kind unless administrator has chosen to set it up.
For installing software check out emerge command.
Alright, that command worked at the usb is mounted.
/dev/sdc1 on /mnt/drive_c type vfat (rw).
Great. Confirm that you are now able to copy files. REMEMBER WHEN YOU ARE DONE TO:
Code:
# umount /mnt/drive_c
BECAUSE THIS RESOLVES ANY OPEN FILE HANDLES AND ENSURES YOU WON'T HAVE CORRUPTION. Same as "eject" on Windows.
If all is finally resolved, recommend you mark the thread as Solved, using the Thread tools in the top of the LQ page form. Then please remember the important things here, because they pretty much always apply moving forwards regarding mounting drives.
Glad you are very close and sounds as if the problem is now fixed.
EDIT:
Quote:
Originally Posted by Emerson
May I remind everybody this is Gentoo, nothing is installed unless administrator decided to install it. Also, there is no automount of any kind unless administrator has chosen to set it up.
For installing software check out emerge command.
Thank you for clarifying. Not everyone knows every distribution, I clearly do not know Gentoo, so it is an important point for Chrisroot to understand.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Quote:
Originally Posted by Chrisroot
Just a really dumb question, then what is the destination file for which i am copying files to? /dev/sdc1?
No - the destination directory is /mnt/drive_c/
You always use the mount point, not the block device.
*EDIT* ... and by the way, there are no dumb questions. Linux works along the principle of "everything is a file", similarly to unix. So you "mount" devices to files to make them available to users for reading and writing operations. The file becomes an alias for the device while it is mounted - kind of like assigning a drive letter to a drive or a partition in Windows, if you're familiar with that ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.