How to mount a USB flash drive or another drive letter in Windows on Ubuntu

Source: Internet
Author: User
The first step is to view all the current disk information and find the device ID of the USB disk. For example:/dev/sdb specific operation method: (1) enter the sudofdisk-l command in the terminal and press enter to view all current disks. (2) Check the USB flash disk or the disk information you need to search for. You can exclude it by knowing the disk size. After viewing this information, you may see the following information: Disk/dev/s

How to mount a USB flash drive or another drive letter in Windows on Ubuntu

Step 1: view all current disk information and find the device ID of the USB flash drive, for example,/dev/sdb.

Procedure:

(1) enter the sudo fdisk-l command in the terminal and press enter to view all the current disk information.

(2) Check the USB flash disk or the disk information you need to search for. You can exclude it by knowing the disk size.

After viewing this information, you may see the following information:

Disk/dev/sdb1: 2006 MB, 2006458463 bytes

Step 2: mount the USB flash drive to the specified Node

(1) For simplicity, create a directory in/home/xl/: media/u, and attach the U disk to the media/u directory.

If the USB flash disk format is FAT, run the following command:

# Mount-t vfat/dev/sdb1/media/u

If it is an ntfs U disk, it is similar to the following:

# Sudo mount-t ntfs-3g/dev/sdb1 media/u

/Media/u is the node you want to attach to. You can specify this and then access the USB flash disk through cd media/u.

Step 3: unmount the USB flash drive

Run the following command: # sudo umount media/u disk is uninstalled (Note: you cannot enter the preceding uninstall command in the media/u directory, otherwise, the system will think that your "device is busy" and refuse to detach the USB flash drive ).

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

Related Article

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.