Debian Wheezy 64 - 解决插ntfs格式的u盘或者移动硬盘时报错,不能自动挂载

版本:
root@tp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.1 (wheezy)
Release: 7.1
Codename: wheezy
root@tp:~# 

当插上ntfs格式的u盘或者移动硬盘时,会报以下错误:
Error mounting: mount exited with exit code 1: 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-3G with integrated
FUSE support and make it setuid root. Please see more information at
http://tuxera.com/community/ntfs-3g-faq/#unprivileged

查看/etc/fstab,发现最后关于sdb的那两条是装完系统后自动多出来的:
root@tp:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=d5c8be42-ecf9-4049-a08b-622d64450e50 /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=9eba3fc1-593b-472f-9df3-5a83ad4ad305 /boot           ext4    defaults        0       2
# /home was on /dev/sda6 during installation
UUID=8b4ba484-efaf-4b53-a1ca-c4d05bec2a11 /home           ext4    defaults        0       2
# /var was on /dev/sda3 during installation
UUID=73233bde-f5a7-4e17-a89e-334068783159 /var            ext4    defaults        0       2
# swap was on /dev/sda5 during installation
UUID=16c31b51-e3c3-43a2-ab5a-2321a4765853 none            swap    sw              0       0
/dev/sdb1       /media/usb0     auto    rw,user,noauto  0       0
/dev/sdb2       /media/usb1     auto    rw,user,noauto  0       0


我是用u盘装的系统,但是系统装完后后面两条明显不需要了,删掉后,重新插拔就正常了。


REF:
1. problems with mounting external drive
http://forums.debian.net/viewtopic.php?p=492527

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值