smallwolf 发表于 2013-2-7 13:18:26

linux挂载U盘

liweihui@liweihui-desktop:/$ sudo fdisk -l 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   IdSystem/dev/sda1   *         1      9324    74894998+83Linux/dev/sda2            9325      9726   3229065    5Extended/dev/sda5            9325      9726   3229033+82Linux 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   IdSystem/dev/sdb1   *         1       19457   156288321    7HPFS/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
页: [1]
查看完整版本: linux挂载U盘