LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: Havanna

升级gnome2.28后无法挂载u盘、dvdrom以及硬盘上的ntfs分区了

[复制链接]
发表于 2009-10-20 10:33:02 | 显示全部楼层
貌似我也有这个问题/
回复 支持 反对

使用道具 举报

发表于 2009-10-20 10:55:30 | 显示全部楼层
sudo mount -t ntfs-3g /dev/sda1 /你挂的位置
回复 支持 反对

使用道具 举报

发表于 2009-10-20 11:27:45 | 显示全部楼层
无语了。。我把/etc/PolicyKit/PolicyKit.conf修改了怎么还不行。
  1. <match action="org.freedesktop.hal.storage.*">
  2.             <return result ="yes" />
  3.         </match>
  4.         <match action="hal-storage-mount-fixed-extra-options">
  5.                 <!-- for internal devices mounted with extra options like a wished mount point -->
  6.                         <return result="yes" />
  7.         </match>
  8.         <match action="hal-storage-mount-removable-extra-options">
  9.                 <!-- for external devices mounted with extra options like a wished mount point -->
  10.                         <return result="yes" />
  11.         </match>
  12.         <!--/match-->
  13.       [color="Red"]  <match user="ffmmx">
  14.             <return result="yes"/>
  15.         </match>[/color]
复制代码
我把那句加了都不行。
还是不可以解决挂载本地硬盘需要验证的问题。。
郁闷了。。。
回复 支持 反对

使用道具 举报

发表于 2009-10-20 19:17:30 | 显示全部楼层
本地挂载需要验证的问题,似乎存在很久了,从2.26就有此问题了,没几个人去关心它,怎么现在此问题成了焦点了,本人一个系统,没关心过此问题
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-20 20:53:51 | 显示全部楼层
Post by zmd56;2038488
本地挂载需要验证的问题,似乎存在很久了,从2.26就有此问题了,没几个人去关心它,怎么现在此问题成了焦点了,本人一个系统,没关心过此问题


2.26有解决方案的,只需修改/etc/PolicyKit/PolicyKit.conf中相关权限即可
回复 支持 反对

使用道具 举报

发表于 2009-10-24 10:07:05 | 显示全部楼层
http://bbs.archlinux.org/viewtopic.php?id=82460

Here are some steps I've gathered from various threads and wiki pages:

1)  Gnome 2.28 uses the ntfs driver by default instead of ntfs-3g:

# ln -s /sbin/mount.ntfs-3g /sbin/mount.ntfs


2)  I login with slim.  To fix consolekit errors, use this (not necessary with GDM) in your .xinitrc:

exec ck-launch-session gnome-session


3)  Some external SATA drives are seeing problems since the latest kernel update.  Get the latest version of libatasmart from AUR to fix them:
http://aur.archlinux.org/packages.php?ID=28199

4)  Configure devicekit for auto-mounting ( 1- Make sure to change USER to your username, 2- Assumes you're using the wheel group for local admin access):

Create /etc/polkit-1/localauthority.conf.d/61-localauthority.conf


[Local Admin]
AdminIdentities=unix-user:root;unix-group:wheel


Create  /var/lib/polkit-1/localauthority/50-local.d/org.archlinux.freedesktop.devicekit.disks.pkla


[Local Users]
Identity=unix-user:USER
Action=org.freedesktop.devicekit.disks.*
ResultAny=no
ResultInactive=no
ResultActive=yes


5)  Configure HAL/PolicyKit for ntfs-3g:
http://wiki.archlinux.org/index.php/HAL … from_Gnome
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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