Sie sind auf Seite 1von 2

Howto mount USB drive in Linux https://linuxconfig.

org/howto-mount-usb-drive-in-linux
(/index.php)
Contact us Advertise Here
(/contact-us) (/advertise-here)

Home Linux Tutorials Linux Commands Write For Us


(/) (/linux-tutorials) (/linux-commands) (/write-for-us)

Howto mount USB drive in Linux Free Linux eBooks

The Office Worker's Guide to a USB


Contents [Hide]
Thumb Drive
Example (https://linuxconfig.org/howto-mount-usb-drive-in-linux#h1-example)
Detecting USB hard drive (https://linuxconfig.org/howto-mount-usb-drive-in-linux#h2-detecting-usb-hard-drive)
Creating mount point (https://linuxconfig.org/howto-mount-usb-drive-in-linux#h3-creating-mount-point)
Edit /etc/fstab (https://linuxconfig.org/howto-mount-usb-drive-in-linux#h4-edit-etc-fstab)

>FREE PDF DOWNLOAD< (http://linuxconfig-org.tradepub.com/free/w_make15/?p=w_make15) Search Articles

1. Example search ...

2. Detecting USB hard drive Search

After you plug in your USB device to your USB port, linux will add new block device into /dev/ directory. At this stage you are not able to use
this device as the USB filesystem needs to be mouted before you are able to retrieve any data. To find out what name your block device file
have you can run fdisk command: Friendly Sites

# fdisk -l Tuxmachines.org (http://tuxmachines.org/)

You will get output similar to this:


Latest Configs
Disk /dev/sdb: 60.0 GB, 60060155904 bytes
255 heads, 63 sectors/track, 7301 cylinders Configuring the MPD Music Server on
Units = cylinders of 16065 * 512 = 8225280 bytes Ubuntu Linux (/configuring-the-mpd-music-
Disk identifier: 0x000b2b03 server-on-ubuntu-linux)
Simple Virtualization With Ubuntu 16.04
Device Boot Start End Blocks Id System
Linux and KVM (/simple-virtualization-
/dev/sdb1 1 7301 58645251 b W95 FAT32
with-ubuntu-16-04-and-kvm)
How to reset MySQL root password on your
3. Creating mount point Linux server (/how-to-reset-mysql-
root-password-on-your-linux-server)
Create directory where you want to mount your device: Getting The RX 480 Running With AMDGPU
on Linux (/getting-the-rx-480-running-
mkdir /mnt/sdb1 with-amdgpu-on-linux)
How to run X applications without a desktop
or a WM (/how-to-run-x-applications-without-
4. Edit /etc/fstab a-desktop-or-a-wm)
How to automatically execute shell script at
To automate this process you can edit /etc/fstab file and add line similar to this:
startup boot on systemd Linux (/how-
to-automatically-execute-shell-script-
/dev/sdb1 /mnt/sdb1 vfat defaults 0 0
at-startup-boot-on-systemd-linux)
Basic PHP 7 and Nginx Configuration on
Run mount command to mount all not yet mounted devices. Keep in mind that if you have more different USB devices in you system, device
Ubuntu 16.04 Linux (/basic-php-7-
name can vary!!!
and-nginx-configuration-on-ubuntu-16-04-
linux)
# mount -a
Ruby on Rails Development On Ubuntu
16.04 Linux (/ruby-on-rails-development-
on-ubuntu-16-04)
Fedora 24 Workstation Review: All Work
and Very Little Play (/fedora-24-workstation-
review-all-work-and-very-little-play)
How to setup latest version of Django
framework with Python 3 on Debian 8 Jessie
(floss-technical-writer-linuxconfig-org)
Linux (/how-to-setup-latest-version-
of-django-framework-with-python-

1 of 2 8/18/2016 10:50 AM
Howto mount USB drive in Linux https://linuxconfig.org/howto-mount-usb-drive-in-linux
3-on-debian-8-jessie-linux)
0 Comments Linux Config 1 Login
How to reset lost root password on Ubuntu

Sort by Newest 16.04 Xenial Xerus Linux (/how-to-reset-


Recommend 35 Share
lost-root-password-on-ubuntu-16-04-xenial-
xerus-linux)
Start the discussion… Basic NFS Installation and Configuration on
Linux (/basic-nfs-installation-
and-configuration-on-linux)
Setting up apt proxy Server Approx on
Ubuntu Linux (/setting-up-apt-proxy-server-
approx-on-ubuntu-linux)
Linux command line basics for beginners:
Part 3 (/linux-command-line-basics-
for-beginners-part-3)
LINUX CONFIG
Linux command line basics for beginners:
How to automatically execute shell script at Configuration of High-Availability Storage Server Part 2 (/linux-command-line-basics-
startup boot on systemd Linux Using GlusterFS for-beginners-part-2)
• • • •
Create and Restore manual Logical Volume
— Thank you for this example. It is so easy :) — A few years ago I messed around
Snapshots (/create-and-restore-manual-
with this, had it running in xenserver with infiniband.
logical-volume-snapshots)
The parallel NFS was broken at the time. Is that …
I2P - Anonymity for the Masses (/i2p-
ImportError: No module named 'anydbm' on Rename all file names from uppercase to anonymity-for-the-masses)
Debian Linux - Solution lowercase characters Learning Linux Commands: man (/learning-
• • • • linux-commands-man)
— tnx you saved my life — awesome! thank you! Linux Command Line & Bash Shell
Shortcuts (/linux-command-line-bash-shell-
Subscribe Add Disqus to your site Add Disqus Add Privacy shortcuts)
How to Install Any Linux Distro on a
Chromebook (/how-to-install-any-linux-
distro-on-a-chromebook)

Contact us (http://www.linuxcareer.com/contact-us)

Copyright 2007 - 2016 LinuxConfig.org. All rights reserved.

(floss-technical-writer-linuxconfig-org)

2 of 2 8/18/2016 10:50 AM

Das könnte Ihnen auch gefallen