Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
03-29-2017, 10:47 AM
|
#31
|
Member
Registered: Mar 2017
Posts: 52
Original Poster
Rep:
|
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)
|
|
|
03-29-2017, 10:49 AM
|
#32
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
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 ?
Thx.
|
|
|
03-29-2017, 10:53 AM
|
#33
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,900
|
Quote:
Originally Posted by Rickkkk
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
|
|
1 members found this post helpful.
|
03-29-2017, 10:59 AM
|
#34
|
Member
Registered: Mar 2017
Posts: 52
Original Poster
Rep:
|
Sure thing.
fdisk-l- Output
device boot Start end Blocks ID System
/dev/sda1 1 11 88326 83 Linux
/dev/sda2 12 384 2996122 83 Linux
/dev/sda3 385 4425 32459332 83 Linux
Disk /dev/sdc: 31.1 GB-----My device
Device boot Start end Blocks ID System
/dev/sdc1 1 3793 30464639 c W95 FAT32 (LBA)
|
|
|
03-29-2017, 11:01 AM
|
#35
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Quote:
Originally Posted by Chrisroot
Sure thing.
fdisk-l- Output
device boot Start end Blocks ID System
/dev/sda1 1 11 88326 83 Linux
/dev/sda2 12 384 2996122 83 Linux
/dev/sda3 385 4425 32459332 83 Linux
Disk /dev/sdc: 31.1 GB-----My device
Device boot Start end Blocks ID System
/dev/sdc1 1 3793 30464639 c W95 FAT32 (LBA)
|
Excellent - please follow rtmistler's (post #33) instructions next ...
|
|
|
03-29-2017, 11:09 AM
|
#36
|
Member
Registered: Mar 2017
Posts: 52
Original Poster
Rep:
|
Alright, that command worked at the usb is mounted.
/dev/sdc1 on /mnt/drive_c type vfat (rw).
|
|
|
03-29-2017, 11:12 AM
|
#37
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Quote:
Originally Posted by Chrisroot
Alright, that command worked at the usb is mounted.
/dev/sdc1 on /mnt/drive_c type vfat (rw).
|
There you go.
That's where you copy your files to ... : /mnt/drive_c/
|
|
|
03-29-2017, 11:13 AM
|
#38
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep:
|
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.
|
|
1 members found this post helpful.
|
03-29-2017, 11:14 AM
|
#39
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,900
|
Quote:
Originally Posted by Chrisroot
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.
Last edited by rtmistler; 03-29-2017 at 11:15 AM.
|
|
|
03-29-2017, 11:14 AM
|
#40
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
... and when you're done, you can unmount the USB drive before removing it, with:
umount /mnt/drive_c
|
|
|
03-29-2017, 11:17 AM
|
#41
|
Member
Registered: Mar 2017
Posts: 52
Original Poster
Rep:
|
Just a really dumb question, then what is the destination file for which i am copying files to? /dev/sdc1?
|
|
|
03-29-2017, 11:19 AM
|
#42
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
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 ...
Cheers :-)
Last edited by Rickkkk; 03-29-2017 at 11:27 AM.
|
|
|
03-29-2017, 11:24 AM
|
#43
|
Member
Registered: Mar 2017
Posts: 52
Original Poster
Rep:
|
Thank you all for your help.
|
|
|
03-29-2017, 11:28 AM
|
#44
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Quote:
Originally Posted by Chrisroot
Thank you all for your help.
|
You're very welcome - feel free anytime.
Cheers,
|
|
|
03-29-2017, 11:31 AM
|
#45
|
Member
Registered: Mar 2017
Posts: 52
Original Poster
Rep:
|
Sorry to bother you all again,
command typed- cp -r /opt/biweb/app/ /mnt/drive_c/ -------Output- cannot create symbolic link- Operation not permitted.
|
|
|
All times are GMT -5. The time now is 11:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|