linux 下如何打开u盘

插入U盘之后,直接用mount就可以了。一般U盘都是/dev/sda1分区,下面的命令就可以了:

 

[root@localhost home]# /sbin/fdisk -l           //查看u盘加载在什么地方?

 

Disk /dev/sda: 155.9 GB, 155933511168 bytes
255 heads, 63 sectors/track, 18957 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14       18957   152167680   8e  Linux LVM

Disk /dev/sdb: 8537 MB, 8537505792 bytes
64 heads, 32 sectors/track, 8142 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

This doesn't look like a partition table
Probably you selected the wrong device.

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   ?      945327     1849555   925929529+  68  Unknown
Partition 1 does not end on cylinder boundary.
/dev/sdb2   ?      649505      912677   269488144   79  Unknown
Partition 2 does not end on cylinder boundary.
/dev/sdb3   ?      263179      945973   699181456   53  OnTrack DM6 Aux3
Partition 3 does not end on cylinder boundary.
/dev/sdb4   ?      680971      680981       10668+  49  Unknown
Partition 4 does not end on cylinder boundary.

[root@localhost uu]# mkdir /mnt/usb
[root@localhost uu]# mount /dev/sdb /mnt/usb    //加载完成



//mount -t vfat /dev/sda1 /mnt/
就行了。

 

http://fedora.linuxsir.org/main/node/83

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值