Mounting A USB Flash Drive At The Linux Command Line
Uploader Comments (TechAnvil)
Top Comments
-
Unplugging a flashdrive without unmounting it is not a good idea since some data sometimes are waiting to be written until you unmount it.
-
Techanvil you are doing a good job
please i need a way to access or give permission on directory
All Comments (18)
-
hi ! If i am copying a file from my hard disk to usb(say flash drive).After copying the file into my usb, if i would like to know what all files i have copied to usb without inserting the flash drive. what is the procedure to do it on Linux platform????? please give your response to my email: premshiva1990@mail.com
-
in opensuse 11.4 I have mkdir /mnt/sda1 mount /dev/sda1 /mnt/sda1
I did not add anything in /etc/fstab
then ownership , copy some files into /mnt/sda1
remove the USB, go back to /mnt/sda1. There are still files in /mnt/sda1, why? it supposed can't see /mnt/sda1.
-
hello, I have unbreakable linux on VB on my w7 and my usb drive has ntfs format it cannot be mounted, I am trying to install the ntfs-3g but I can't please help!!
-
am using virtual pc on my windows 7 partion on my mac and i am
having a problem with ubuntu recognizing my flashdrive.
Now is it because it is not mounted?
AM new to linux but wont to know more about it.
Is there any ideas or website that can help me with the problem
Thanks much!!!
-
am using virtual pc on my windows 7 partion on my mac and i am
having a problem with ubuntu recognizing my flashdrive.
Now is it because it is not mounted?
AM new to linux but wont to know more about it.
Is there any ideas or website that can help me with the problem
Thanks much!!!
-
how did you know that you are going to use sda1?
-
COMMAND IS : MKDIR /MNT/USB1 && sudo mount /dev/sda1 && clear && cd /MNT/USB1
-
Very nice tutorial! But wouldn't you need root to view the drive? Thanks. 5/5
-
sudo chmod u+x /path/to/directory
Where's the commandline?
simjfk 5 years ago
If you are using the GUI, it is in the menue tree under Terminal. If it boots up to a black screen with white text, and a login prompt, the command line is what you get after you put in you password.
TechAnvil 5 years ago
Given that this is targetted at Linux newbies, it should probably mention the need to "su" to root first.
alexycyap 5 years ago
Good point. For the series, we have been logged into Fedora as root. Some time in the near future, I will need to discuss why that is a bad thing. Thanks for commenting!
TechAnvil 5 years ago