You are not logged in.
Pages: 1
I know this is a very much answered question, but I can't seem to mount my internal NTFS. It's not as if there's an error message. Simply nothing happens. Here's my hal.conf
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- This configuration file specifies the required security policies
for the HAL to work. -->
<!-- Only root or user hal can own the HAL service -->
<policy user="hal">
<allow own="org.freedesktop.Hal"/>
</policy>
<policy user="root">
<allow own="org.freedesktop.Hal"/>
</policy>
<!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
<policy context="default">
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.DBus.Introspectable"/>
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.DBus.Properties" />
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Device"/>
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Manager"/>
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Device.CPUFreq"/>
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Device.DockStation"/>
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Device.KillSwitch"/>
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Device.KeyboardBacklight"/>
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Device.Leds"/>
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Device.LightSensor"/>
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Device.Storage"/>
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Device.Storage.Removable"/>
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Device.Volume"/>
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Device.WakeOnLan"/>
</policy>
<policy group="power">
<allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
<allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
</policy>
<policy group="storage">
<allow send_interface="org.freedesktop.Hal.Device.Volume"/>
<allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
</policy>
</busconfig>
I've tried the wiki, but it's just not helping. On the side, I would like to just say that such a simple thing shouldn't be needing such tedious fixes. It should just work. Doesn't matter if it's arch or ubuntu. Installing ntfs-3g should just make it work. Just my 2c
Last edited by zephyrus17 (2009-07-18 15:37:07)
Offline
ermm ... do you want to correct HAL or is mounting by any way OK for you ?
How I'm learning linux : If it ain't broken, fix it until it is. Then start over again.
....................................................................................................
Gapo the flow
Offline
I would prefer HAL, since HAL is supposedly the 'best' way for it, right?
Offline
Starting from the basic are u sure hal is up and running i.e. hald .
If it is running then restart it ... it helped me once.
Also, while HAL is the easy way ... it is not essentially the best . Nothing beats
sudo mount -t ntfs-3g <device name for eg. /dev/sda4 > < mountpoint for eg. /mnt >
Also you can add an entry in the fstab as it is an internal partition.
How I'm learning linux : If it ain't broken, fix it until it is. Then start over again.
....................................................................................................
Gapo the flow
Offline
Yeah. hal is in my daemons. So is fam.
I've added
/dev/sda2 /media/Data ntfs-3g defaults 0 0
to by fstab but that just gives me permission denied. And I supposed to create the folder /media/Data first and the give myself permissions to it?
Offline
Yes, you have to do that also. I think this is the prob.
Anyway, if that doesn't work
The default settings is equivalent to rw,suid,dev,exec,auto,nouser,async
'nouser' refers to only root can mount.
So, let us try 'user'.
/dev/sda2 /media/Data ntfs-3g rw,suid,dev,exec,auto,user,async 0 0
Also have a look at this
http://wiki.archlinux.org/index.php/HAL … ite_access
How I'm learning linux : If it ain't broken, fix it until it is. Then start over again.
....................................................................................................
Gapo the flow
Offline
Yeah. hal is in my daemons. So is fam.
I've added
/dev/sda2 /media/Data ntfs-3g defaults 0 0
to by fstab but that just gives me permission denied. And I supposed to create the folder /media/Data first and the give myself permissions to it?
I did on my system:
# mkdir /media/data
# chown user:usergroup /media/data
My /etc/fstab line looks like this and everything works fine on my system
LABEL=Data /media/data ntfs-3g defaults,noatime 0 0
You can replace the 'LABEL=Data' line w/ /dev/sda2 or whatever
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I've done
# chown gary:users /media/Data
and here's my fstab:
/dev/sda2 /media/Data ntfs-3g rw,suid,dev,exec,auto,user,async 0 0
Still won't let me unmount it.
"Cannot unmount volume You are not privileged blah blah. Details: umount: only root can unmount"
Then after a few seconds, "DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply......"
I've looked at the HAL wiki. Even tried the "last resort", but didn't work.
(It seems to me that somewhat, the newer HAL is worse than the older ones or even no HAL. And that arch seems to be going towards less ease of setting up. Urgh)
Last edited by zephyrus17 (2009-07-19 12:53:25)
Offline
Which user and how are you attempting to mount it? Did you add your user to /etc/sudoer for mount/umount if doing it via a normal user? Show me the output of:
# mount -t ntfs-3g /dev/sda2 /media/Data
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
which user? myself, of course. I'm mounting it via fstab.
I have "gary ALL=(ALL) ALL" in visudo
the output is:
ntfs-3g-mount: mount failed: Device or resource busy
I think it's logical since I've already set it to automatically mount upon start up.
Another problem has risen, hotplugging won't work. :S
Offline
start dbus first
sudo /etc/rc.d/dbus start
How I'm learning linux : If it ain't broken, fix it until it is. Then start over again.
....................................................................................................
Gapo the flow
Offline
Ahhh.. here's a problem as well. The computer immediately crashes out of X when I do that. Every single time. And because nvidia still haven't fixed their borked logout problem, it means I have to do a ctrl-alt-del
Offline
<snip>
Last edited by rwd (2009-07-19 17:54:50)
Offline
hmmm ... can you post/check the output
dmesg | less
How I'm learning linux : If it ain't broken, fix it until it is. Then start over again.
....................................................................................................
Gapo the flow
Offline
Pages: 1