SITEMAPPED WEB DIRECTORY » Article Details

HOW TO MANUALLY MOUNT/UNINSTALL USB DEVICES BY USING COMMANDS ON LINUX

Date Added: April 02, 2018 03:23:55 AM
Author: Henry Hoare
Category: Computers: Computer Backups
Linux systems usually mount usb backup hard drive review devices automatically. If they are not automatically mounted, you need to manually mount the USB devices. How do you mount USB devices under Linux? How to uninstall when not needed? Let's learn about it together. Need to determine the following three kinds of information before mounting 1, the file system type to mount the object 2, the name of the device to be mounted 3, determine the mount point Use the mount command when mounting: Format: mount [-parameter] [device name] [mount point] Our common USB device formats are: FAT32 format, NFTS format, etc. Ext2 linux currently used file system Msdos MS-DOS fat, is fat16 Vfat commonly used fat32 windows98 Nfs network file system Iso9660 CD-ROM Standard File System Ntfs windows NT 2000 file system Hpfs OS/2 file system Before hanging the u disk, run the command cat /proc/partitions to see what partitions are currently in the system. After inserting the u disk, run the above command again to see what partitions are more. 1) Insert U disk 2) Enter fdisk -l /dev/sda to see the output. For example, mys is like this: code show as below: # fdisk -l /dev/sda'/p' Disk /dev/sda: 131 MB, 131104768 bytes 3 heads, 32 sectors/track, 2667 cylinders Units=cylinders of 96 * 512=49152 bytes Device Boot Start End Blocks Id System /dev/sdb1 * 1 2668 128016 6 FAT16 3) After reading the above output, you will know the device where the U disk is located. For example, my is /dev/sdb1, and then it is mounted. Suppose I mount the U disk to the /mnt/usb directory (if not, new), mount -t msdos /dev/sdb1 /mnt/usb If it is fat32 code show as below: Mount -t vfat /dev/sdb1 /mnt/usb If it is ext2 format, use the command: code show as below: Mount -t ext2 /dev/sda1 /mnt/usb 4) Open /mnt/usb to see what's in your USB drive! code show as below: Cd /mnt/usb 5) The uninstall command is: code show as below: Umount /mnt/usb. Above is the method of loading and unloading USB devices under Linux. After mounting the USB interface device, you can view the contents of the removable disk. You can uninstall it without using it. Have you learned?