How to mount a USB flash disk with UbuntuServer

Source: Internet
Author: User
Run the: sudofdisk-l command to check Disk/dev/sdb: 4023 MB, memory, 63 sectors/track, 489 cylindersUnits = cylindersof16065 * 512 = 8225280 bytesSectorsize (logical/physical): 512 run the: sudo fdisk-l command to view the partition of the USB flash disk.
 
Disk/dev/sdb: 4023 MB, 4023386112 bytes
255 heads, 63 sectors/track, 489 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Sector size (logical/physical): 512 bytes/512 bytes
I/O size (minimum/optimal): 512 bytes/512 bytes
Disk identifier: 0xcad4ebea
 
Device Boot Start End Blocks Id System
/Dev/sdb4*1 490 3929025 B W95 FAT32
Partition 4 has different physical/logical endings:
Phys = (488,254, 63) logical = (489, 36, 60)
 
 
Assume that the preceding partition is in/dev/sdb4.
Run the following command to create a usb directory:
 
Mkdir/mnt/usb
 
Mount the usb disk to the/mnt/usb directory by running the mount/dev/sdb4/mnt/usb command.
 
Run the umount/mnt/usb command to detach the usb disk Mount partition.
(Note: The directory cannot be in the current directory when uninstalling it. Otherwise, the system will identify it as/mnt/usb directory busy and Cannot uninstall it)

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.