Manually mount a USB flash drive on Ubuntu

Source: Internet
Author: User
Tags what file system
Sometimes there is only javastuserver, and sometimes UbuntuDesktop cannot automatically mount a USB flash disk. At this time, some commands are required: 1. Enter the same command before and after the USB flash drive is inserted, and check the disk cat/proc/partitions. Here I find 8167827213sdb & n is missing.

Sometimes only Ubuntu server is used, and sometimes Ubuntu Desktop cannot automatically mount a USB flash disk. Some commands are required at this time:
1. Run the same command before and after inserting the USB flash drive to check which disk is missing.
Cat/proc/partitions
I found more
8 16 7827424 sdb
8 17 7825423 sdb1

Sdb is collectively referred to, so the newly inserted USB flash drive is/dev/sdb1.

2. Run the command to check the file system format of the new USB flash drive.
Root @ www.linuxidc.com:/# fdisk-l/dev/sdb

Disk/dev/sdb: 8015 MB, 8015282176 bytes
247 heads, 62 sectors/track, 1022 cylinders, total 15654848 sectors
Units = sectors of 1*512 = 512 bytes
Sector size (logical/physical): 512 bytes/512 bytes
I/O size (minimum/optimal): 512 bytes/512 bytes
Disk identifier: 0x0001fce0

Device Boot Start End Blocks Id System
/Dev/sdb1*62 15650907 7825423 c W95 FAT32 (LBA)

The format is FAT32.

3. mount
Mount-t vfat/dev/sdb1/media/usb

Note:
When mount-t is pressed twice, the system prompts you what file system type to enter.
/Media/usb is a directory created by myself

4. umount
Umount/media/usb

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.