有时候只有Ubuntu server,有时候Ubuntu Desktop不能自动挂载U盘。这个时候需要一些命令:
1.在插入U盘前和插入U盘后,都输入同一个命令,检查多了哪个盘
cat /proc/partitions
这里我发现多了
8 16 7827424 sdb
8 17 7825423 sdb1sdb是统称,所以新插入的U盘就是/dev/sdb12.用命令检查新的U盘的文件系统格式
root@ www.linuxidc.com :/# fdisk -l /dev/sdbDisk /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)看到这里是FAT32格式。3.mount
mount -t vfat /dev/sdb1 /media/usb注意:
mount -t 按两次tab键会提示输入什么文件系统类型
/media/usb是我自己创建的目录4.umount
umount /media/usb
更多Ubuntu相关信息见Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2SecureCRT for Linux突破30天使用限制Emacs 访问 MySQL相关资讯 Ubuntu使用教程
- Ubuntu使用教程:E: 无法获得锁 / (06/19/2014 17:15:12)
- Ubuntu使用教程 :让Trusty Tahr变 (05/07/2014 16:30:53)
- 怎样打开64位 Ubuntu 的32位支持功 (04/27/2014 17:15:36)
| - Ubuntu 11.04 环境指纹识别驱动的 (05/22/2014 09:57:26)
- Ubuntu 下disk清理保护 (05/01/2014 07:24:50)
- Ubuntu 14.04自动登录到桌面 (04/24/2014 14:00:53)
|
本文评论 查看全部评论 (0)