You are not logged in.

#1 2009-03-31 12:05:12

.Maleficus.
Member
Registered: 2008-11-13
Posts: 18

Hal, ConsoleKit and mounting external drive

So I reinstalled Arch yesterday, and am having the same problems I was having with my last install.  Hal, ConsoleKit (and PolicyKit) all seem like they're more trouble than they're worth, so I'd like to know if I can remove them safely.  My problem with that is using my external hard drive and CD drive.  I haven't tried the CD drive yet but when I disable Hal and have the external drive in my fstab, it doesn't want to load.  I've tried both the UUID that blkid gave me and using /dev/sdc1, but both times the ntfs-3g driver wouldn't mount it.  This is the line in my fstab:

UUID=55D123D9E79ABF54 /media/external ntfs-3g silent,umask=0,locale=en_US.utf8 0 0

I'm not even sure if that's right (I'm trying to mount it with user read/write).  Like I said, ntfs-3g always spits out an error about that UUID not existing.  My CD drive has just been uncommented in the fstab, but I have yet to try it.

Thanks.

Offline

#2 2009-03-31 18:15:58

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Hal, ConsoleKit and mounting external drive

So - why don't you try to mount it 'manually' (as root):

mkdir /media/external; chmod a+rwx /media/external
mount -t ntfs-3g -o umask=000 /dev/sdc1 /media/external

and let us know whether or not that works ...

Last edited by perbh (2009-03-31 18:18:25)

Offline

#3 2009-03-31 22:12:14

.Maleficus.
Member
Registered: 2008-11-13
Posts: 18

Re: Hal, ConsoleKit and mounting external drive

Thanks perbh, that works.  I'm not sure how to translate that into an fstab line though...

Offline

#4 2009-04-01 13:31:40

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Hal, ConsoleKit and mounting external drive

First off - you have to make sure that the mount-point exists and do not rely on it being generated by policy-kit/hal/whatever. My advice would be to do it as /mnt/usb or something like that. Also, make sure (in fstab) that '/' is allready mounted (ie place the following line _after_ the one that mounts the root filesystem

/dev/sdc1  /mnt/usb  ntfs-3g  defaults,users,umask=000  0 0

My personal preference in this case is to use "defaults,users,umask=000,noauto" as options, and mount it as:
mount /mnt/usb
- or at worst:
sudo mount /mnt/usb

Offline

Board footer

Powered by FluxBB