有时候只有Ubuntu server,有时候Ubuntu Desktop不能自动挂载U盘。这个时候需要一些命令:
1.在插入U盘前和插入U盘后,都输入同一个命令,检查多了哪个盘
sdb是统称,所以新插入的U盘就是/dev/sdb1
root@chenshu-System-Product-Name:/# 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)
mount -t vfat /dev/sdb1 /media/usb
mount -t 按两次tab键会提示输入什么文件系统类型