六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 299|回复: 0

linux挂载U盘

[复制链接]

升级  66%

7

主题

7

主题

7

主题

童生

Rank: 1

积分
33
 楼主| 发表于 2013-2-7 13:18:26 | 显示全部楼层 |阅读模式
liweihui@liweihui-desktop:/$ sudo fdisk -l[sudo] password for liweihui: Disk /dev/sda: 80.0 GB, 80000000000 bytes255 heads, 63 sectors/track, 9726 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDisk identifier: 0x00000080   Device Boot      Start         End      Blocks   Id  System/dev/sda1   *           1        9324    74894998+  83  Linux/dev/sda2            9325        9726     3229065    5  Extended/dev/sda5            9325        9726     3229033+  82  Linux swap / SolarisDisk /dev/sdb: 160.0 GB, 160041885696 bytes255 heads, 63 sectors/track, 19457 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDisk identifier: 0x8db118c3   Device Boot      Start         End      Blocks   Id  System/dev/sdb1   *           1       19457   156288321    7  HPFS/NTFS
liweihui@liweihui-desktop:/$ sudo mount -t auto -o iocharset=cp936 /dev/sdb1 /mnt/usb/$LogFile indicates unclean shutdown (0, 0)Failed to mount '/dev/sdb1': Operation not supportedMount is denied because NTFS is marked to be in use. Choose one action:Choice 1: If you have Windows then disconnect the external devices by          clicking on the 'Safely Remove Hardware' icon in the Windows          taskbar then shutdown Windows cleanly.Choice 2: If you don't have Windows then you can use the 'force' option for          your own responsibility. For example type on the command line:            mount -t ntfs-3g /dev/sdb1 /mnt/usb/ -o force    Or add the option to the relevant row in the /etc/fstab file:            /dev/sdb1 /mnt/usb/ ntfs-3g force 0 0liweihui@liweihui-desktop:/$ sudo mkdir /mnt/usbliweihui@liweihui-desktop:/$ sudo mount -t ntfs-3g  /dev/sdb1 /mnt/usb/ -o force
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表