2024年11月Debian挂载移动硬盘后分区读写报错怎么办?

发布时间:

  ⑴Debian在挂载移动硬盘后,会出现有的分区能够识别,而有的分区识别不了提示报错的情况,遇到这个问题该如何解决呢?下面小编就给大家介绍下Debian挂载硬盘后分区读取报错的解决方法,希望对你有所帮助。

  ⑵插到电脑USB接口后, 桌面自动弹出了个盘符。 打开前个都没有什么问题, 写读都正常。后面两个一双击就会报错:

  ⑶Error mounting: mount exited with exit code : helper failed with:

  ⑷Unprivileged user can not mount NTFS block devices using the external FUSE

  ⑸library. Either mount the volume as root, or rebuild NTFS-G with integrated

  ⑹FUSE support and make it setuid root. Please see more information at

  ⑺大意就是这个ntfs-g 没权限无法挂载,不管是不是root 。

  ⑻现在我们来解决掉这个问题:

  ⑼首先看看挂载, 先拔掉移动硬盘 执行 再插上执行, 会发现多了sdb,sdb

  ⑽rootdebian:/# cat /etc/mtab

  ⑾rootfs / rootfs rw

  ⑿sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime

  ⒀proc /proc proc rw,nosuid,nodev,noexec,relatime

  ⒁udev /dev devtmpfs rw,relatime,size=k,nr_inodes=,mode=

  ⒂devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=,mode=,ptmxmode=

  ⒃tmpfs /run tmpfs rw,nosuid,noexec,relatime,size=k,mode=

  ⒄/dev/disk/by-uuid/cdc-c--bd-effd / ext rw,relatime,errors=remount-ro,user_xattr,barrier=,data=ordered

  ⒅tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=k

  ⒆tmpfs /run/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=k

  ⒇fusectl /sys/fs/fuse/connections fusectl rw,relatime

  ⒈rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime

  ⒉binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime

  ⒊/dev/sdb /media/PE vfat rw,nosuid,nodev,relatime,uid=,gid=,fmask=,dmask=,codepage=cp,iocharset=utf,shortname=mixed,showexec,utf,flush,errors=remount-ro

  ⒋/dev/sdb /media/T fuseblk rw,nosuid,nodev,relatime,user_id=,group_id=,default_permissions,allow_other,blksize=

  ⒌可以看到sdb是我的移动硬盘的, 但是只挂载了个盘符。

  ⒍fdisk -l

  ⒎Disk /dev/sda: . GB, bytes

  ⒏ heads, sectors/track, cylinders, total sectors

  ⒐Units = sectors of * = bytes

  ⒑Sector size (logical/physical: bytes / bytes

  ⒒I/O size (minimum/optimal: bytes / bytes

  ⒓Disk identifier: xbdddb

  ⒔Device Boot Start End Blocks Id System

  ⒕/dev/sda * HPFS/NTFS/exFAT

  ⒖Partition does not start on physical sector boundary.

  ⒗/dev/sda Linux

  ⒘/dev/sda Linux swap / Solaris

  ⒙Disk /dev/sdb: . GB, bytes

  ⒚ heads, sectors/track, cylinders, total sectors

  ⒛Units = sectors of * = bytes

  ①Sector size (logical/physical: bytes / bytes

  ②I/O size (minimum/optimal: bytes / bytes

  ③Disk identifier: xbb

  ④Device Boot Start End Blocks Id System

  ⑤/dev/sdb + HPFS/NTFS/exFAT

  ⑥/dev/sdb + HPFS/NTFS/exFAT

  ⑦/dev/sdb b W FAT

  ⑧/dev/sdb f W Ext‘d (LBA

  ⑨/dev/sdb + HPFS/NTFS/exFAT

  ⑩Partition table entries are not in disk order

  Ⅰ注意看, 这里识别了Disk /dev/sdb . GB