You are not logged in.

#1 2008-01-10 02:00:03

fjodork
Member
Registered: 2008-01-10
Posts: 14

Automounting NTFS with HAL,NTFS-3G and thunar-volman(xfce user)

Hi.

Iv been bracking my head over this for some time now without any luck.

This is the picture:

Got a clean arch install, with xorg, xfce, ntfs-3g, hal and dbus(installed durring xfce install), thunar-volman and some user programs.
I can insert cd/dvds and they get mounted with no hassle(though i had to comment out the dvd/cd lines in fstab) - the only issue here is if i press the eject button on the dvd rom gives this error: Failed to eject "/org/freedesktop/Hal/devices/storage_model_DVD_RW_ND_4571A". Given device "/org/freedesktop/Hal/devices/storage_model_DVD_RW_ND_4571A" is not a volume or drive but ejecting it using the "right click -> eject" works perfectly. not really a problem. just enoying:P

I can also mount external usb hd and usb sticks that are not formated as ntfs(fat32 and ext3 are mounted in a second)

BUT, if i format my mem stickwith NTFS,nothing happends on insertion, same thing is with my 2 internal hdds that are formated with ntfs.
I can mount all ntfs devices manually without any problems, and also if i add them to fstab.

thunar-volman is setup automount and browse the removeble media on insertion.

I have tryed both the preferences.fdi fix from the wiki, and the 10-ntfs-policy.fdi fix from hals wiki/linuxquestions with no luck.

Here is my rc.conf without the comments.

#
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Oslo"
KEYMAP="no-latin1"
CONSOLEFONT="lat0-16"
CONSOLEMAP=
USECOLOR="yes"

MOD_AUTOLOAD="yes"

MOD_BLACKLIST=()

MODULES=(forcedeth fuse i2c-nforce2 usblp snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)

USELVM="no"

HOSTNAME="blackbox"

lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)

gateway="default gw 192.168.1.1"
ROUTES=(!gateway)

DAEMONS=(syslog-ng dbus hal alsa sshd cups !cpufreq !sensors fam 
network avahi-daemon ifplugd netfs crond)

Here is my /etc/group ( i added my self to hal and dbus just to try if it would make any difference, with no success.

root::0:root
bin::1:root,bin,daemon
daemon::2:root,bin,daemon
sys::3:root,bin
adm::4:root,daemon
tty::5:
disk::6:root,fjodork
lp::7:daemon,fjodork
mem::8:
kmem::9:
wheel::10:root,fjodork
ftp::11:
mail::12:
log::19:root
smmsp::25:
games::50:
network:x:90:fjodork
video:x:91:fjodork
audio::92:fjodork
optical::93:fjodork,hal
floppy:x:94:fjodork,hal
storage:x:95:fjodork,hal
power:x:98:
nobody::99:
users::100:fjodork
locate:x:21:
dbus:x:81:fjodork
hal:x:82:fjodork
avahi:x:84:
camera:x:97:fjodork
scanner:x:96:fjodork

here is my fstab

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


#/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
#/dev/dvd /mnt/dvd   udf   ro,user,noauto,unhide   0      0
/dev/sdb1 / ext3 defaults,noatime,nodiratime 0 1
/dev/sdb2 swap swap defaults 0 0

Could someone help me out on how to get this working?

Thx in advance:P

Br fjodork

Last edited by fjodork (2008-01-10 02:03:00)

Offline

#2 2008-01-11 10:50:47

SNP
Member
From: Athens / Greece
Registered: 2007-12-05
Posts: 18

Re: Automounting NTFS with HAL,NTFS-3G and thunar-volman(xfce user)

I also have the exact same problem and would like to know if there is a solution!! smile

I'm mostly annoyed about the cd/dvd drive not ejecting when I press the button.

Last edited by SNP (2008-01-11 10:53:09)

Offline

#3 2008-01-11 11:56:32

fjodork
Member
Registered: 2008-01-10
Posts: 14

Re: Automounting NTFS with HAL,NTFS-3G and thunar-volman(xfce user)

Hi SNP.

We are not alone with this problem, but it doesnt seem there is a fix for it right now. Other then to stop using NTFS:P or mount them manualy in fstab. But the "eject" button issue is a hal thiggy i think.. I have tryed to talk to some HAL "gurues" on irc, but they dont seem to know what the problem is either and just point med to the policy fixed.

Well, hope someone shinysmart will fix this issue soon..:P

The strange thing is that if i run archie live, wich uses the same stuff(i think) everything works..

Offline

#4 2008-01-11 15:59:51

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,223
Website

Re: Automounting NTFS with HAL,NTFS-3G and thunar-volman(xfce user)

I think you need to edit your /etc/fstab as you would add a filesystem:

# mkdir /mnt/usbstick
# nano /etc/fstab
     /dev/sdx1     /mnt/usbstick     auto     rw,noauto,user,umask=0     0     0

This is how I did it IIRC

/EDIT: or you could do it like this

Zl.

Last edited by zenlord (2008-01-11 16:02:33)

Offline

#5 2008-01-11 16:20:50

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: Automounting NTFS with HAL,NTFS-3G and thunar-volman(xfce user)

About the NTFS issue, follow that:
http://wiki.archlinux.org/index.php/HAL
The "Automount NTFS filesystems with write support (ntfs-3g)" recipe works great for me. It has been suggestd at the ntfs-3g forum some time ago.


Microshaft delenda est

Offline

#6 2008-01-11 20:27:03

fjodork
Member
Registered: 2008-01-10
Posts: 14

Re: Automounting NTFS with HAL,NTFS-3G and thunar-volman(xfce user)

Dunno about the autoFS, ill give it a try this weekend, as for the ntfs-3g - its installed, the guide is followed and IT DOES NOT WORK, like i wrote in my first post:P

I have tryed both the preferences.fdi fix from the wiki, and the 10-ntfs-policy.fdi fix from hals wiki/linuxquestions with no luck.

But thanks for the suggestions.:P

Offline

Board footer

Powered by FluxBB