LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-29-2017, 09:47 AM   #31
Chrisroot
Member
 
Registered: Mar 2017
Posts: 52

Original Poster
Rep: Reputation: Disabled

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)
 
Old 03-29-2017, 09:49 AM   #32
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,249

Rep: Reputation: 464Reputation: 464Reputation: 464Reputation: 464Reputation: 464
Quote:
Originally Posted by Chrisroot View Post
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.
 
Old 03-29-2017, 09:53 AM   #33
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,901
Blog Entries: 13

Rep: Reputation: 4029Reputation: 4029Reputation: 4029Reputation: 4029Reputation: 4029Reputation: 4029Reputation: 4029Reputation: 4029Reputation: 4029Reputation: 4029Reputation: 4029
Quote:
Originally Posted by Rickkkk View Post
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.
Old 03-29-2017, 09:59 AM   #34
Chrisroot
Member
 
Registered: Mar 2017
Posts: 52

Original Poster
Rep: Reputation: Disabled
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)
 
Old 03-29-2017, 10:01 AM   #35
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,249

Rep: Reputation: 464Reputation: 464Reputation: 464Reputation: 464Reputation: 464
Quote:
Originally Posted by Chrisroot View Post
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 ...
 
Old 03-29-2017, 10:09 AM   #36
Chrisroot
Member
 
Registered: Mar 2017
Posts: 52

Original Poster
Rep: Reputation: Disabled
Alright, that command worked at the usb is mounted.

/dev/sdc1 on /mnt/drive_c type vfat (rw).
 
Old 03-29-2017, 10:12 AM   #37
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,249

Rep: Reputation: 464Reputation: 464Reputation: 464Reputation: 464Reputation: 464
Quote:
Originally Posted by Chrisroot View Post
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/
 
Old 03-29-2017, 10:13 AM   #38
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,317

Rep: Reputation: Disabled
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.
Old 03-29-2017, 10:14 AM   #39
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,901
Blog Entries: 13

Rep: Reputation: 4029Reputation: 4029Reputation: 4029Reputation: 4029Reputation: 4029Reputation: 4029Reputation: 4029Reputation: 4029Reputation: 4029Reputation: 4029Reputation: 4029
Quote:
Originally Posted by Chrisroot View Post
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 View Post
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 10:15 AM.
 
Old 03-29-2017, 10:14 AM   #40
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,249

Rep: Reputation: 464Reputation: 464Reputation: 464Reputation: 464Reputation: 464
... and when you're done, you can unmount the USB drive before removing it, with:

umount /mnt/drive_c
 
Old 03-29-2017, 10:17 AM   #41
Chrisroot
Member
 
Registered: Mar 2017
Posts: 52

Original Poster
Rep: Reputation: Disabled
Just a really dumb question, then what is the destination file for which i am copying files to? /dev/sdc1?
 
Old 03-29-2017, 10:19 AM   #42
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,249

Rep: Reputation: 464Reputation: 464Reputation: 464Reputation: 464Reputation: 464
Quote:
Originally Posted by Chrisroot View Post
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 10:27 AM.
 
Old 03-29-2017, 10:24 AM   #43
Chrisroot
Member
 
Registered: Mar 2017
Posts: 52

Original Poster
Rep: Reputation: Disabled
Thank you all for your help.
 
Old 03-29-2017, 10:28 AM   #44
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,249

Rep: Reputation: 464Reputation: 464Reputation: 464Reputation: 464Reputation: 464
Quote:
Originally Posted by Chrisroot View Post
Thank you all for your help.
You're very welcome - feel free anytime.

Cheers,
 
Old 03-29-2017, 10:31 AM   #45
Chrisroot
Member
 
Registered: Mar 2017
Posts: 52

Original Poster
Rep: Reputation: Disabled
Sorry to bother you all again,

command typed- cp -r /opt/biweb/app/ /mnt/drive_c/ -------Output- cannot create symbolic link- Operation not permitted.
 
  


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] Cannot copy files to USB flash drive from internal HDD. erik2282 Linux - Desktop 8 10-04-2014 12:23 PM
Can I copy files from a ntfs drive on ubuntu server? Vodkaholic1983 Linux - Newbie 7 05-05-2013 06:03 AM
How to copy files from a usb pen drive to my linux box? HelpMe2877 Linux - Newbie 4 08-20-2008 02:54 AM
Copy Files From Lexar USB Drive In Slackware 12.1 OWA14 Linux - Newbie 3 05-27-2008 06:50 PM
copy files from your hard drive to usb key with Knoppix ziegen Linux - Distributions 1 08-09-2004 01:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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