Linux: Mount external USB drive, move data

Source: Internet
Author: User

    • Background:

My own computer network using dial-up mode, in order to put their own virtual machine in the server IP domain set as a local area network, and IP fixed down, virtual machine network connection using the bridge mode. So it also caused the virtual machine to be unable to connect the external network. (However, dial-up access can be achieved by installing dial-up software inside the virtual machine, but the virtual machines and host computers can only be connected to the Internet).

Specific information reference: http://meiling.blog.51cto.com/6220221/1367695

    • Practice:

1. Configure the virtual machine settings:

2. Switch to the root account and use mount to mount the removable hard drive to a directory:

Things to note:

A) First you need to find the disk you want to mount, in the picture above "DISK/DEV/SDB:1000.2GB ..." This is my disk. The corresponding device is/DEV/SDB1.

b) on the top of the picture "Mount:you must specify the filesystem type" description I did not specify the mount file format, the correct usage:

MOUNT-EXT4/DEV/SDB1/MEDIA/USB/* Mount/DEV/SDB1 in EXT4 file format to/media/usb. */

c) The mounted directory needs to exist, and if it does not exist, you need to enter the directory to create the file.

d) need to use root privileges.

3. Uninstall

Linux: Mount external USB drive, move data

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.