You are not logged in.

#1 2007-12-20 11:10:05

el mariachi
Member
Registered: 2007-11-30
Posts: 575

Mounting HD's and CD's

Hello all!

I've switched recently from Ubuntu to Arch.
I'm having some issues with automounting. These are my groups:

adm disk wheel games video audio optical storage users

Firstly:
I can't open cd's. Thunar spits this error when it tries to mount them:

mount: wrong fs type, bad option, bad superblock on /dev/sr1,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so.

Secondly:
I can't open my external hd (FireWire). It gives me a 'Permission Denied' error message. I don't want it to be automounted on boot, just when I turn it on. Where do I change the permission for this?

Any info you need just ask:D
Thanks!

Offline

#2 2007-12-20 11:18:52

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,717

Re: Mounting HD's and CD's

you are trying to mount it using thunar-volman ?
do you have hal in the modules array of /etc/rc.conf ?

[edit2] i obviously meant to say daemons array (sorry for that wink) [/edit2]

am I correct if I think you have entries in /etc/fstab related do these particular devices ? If so, can you post these lines.

[edit]
and welcome to Arch big_smile

Last edited by pressh (2007-12-20 12:31:20)

Offline

#3 2007-12-20 11:40:16

el mariachi
Member
Registered: 2007-11-30
Posts: 575

Re: Mounting HD's and CD's

thanks big_smile

Hal is in the daemons array of /etc/rc.conf -> Should it be in modules?

/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
/dev/cdrom1 /mnt/cdrom1   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd /mnt/dvd   udf   ro,user,noauto,unhide   0      0
/dev/dvd1 /mnt/dvd1   udf   ro,user,noauto,unhide   0      0
/dev/fd0 /mnt/fd0   vfat   user,noauto   0      0
[b]/dev/sda1 /home/mariachi/cave ext3 defaults 0 1[/b]
/dev/sdb2 / ext3 defaults 0 1
/dev/sdb3 swap swap defaults 0 0
/dev/sdc1 /home ext3 defaults 0 1

btw: the bolded line is another disk (internal) that I want to be mounted on boot, but it isn't: "Mount point not found"... If done after boot (sudo mount blablabla) it works...

Last edited by el mariachi (2007-12-20 11:46:54)

Offline

#4 2007-12-20 12:06:49

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 3,682

Re: Mounting HD's and CD's

Post "dmesg | tail" after mounting CDs fails.

Move the bolded line to the end of fstab, should work then.

Online

#5 2007-12-20 12:21:19

el mariachi
Member
Registered: 2007-11-30
Posts: 575

Re: Mounting HD's and CD's

 sdd: sdd1
sd 6:0:0:0: [sdd] Attached SCSI removable disk
sd 6:0:0:0: Attached scsi generic sg5 type 0
usb-storage: device scan complete
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
eth0: no IPv6 routers present
firewire_core: giving up on config rom for node id ffc0
UDF-fs: No VRS found
UDF-fs: No VRS found

here it is
ideas? maybe it's the udf setting

Last edited by el mariachi (2007-12-20 12:22:19)

Offline

#6 2007-12-20 12:41:08

jpatufet
Member
From: Spain
Registered: 2007-11-28
Posts: 11

Re: Mounting HD's and CD's

Same problem, but I believe that it worked fine before.

Solution in the wiki

http://wiki.archlinux.org/index.php/HAL … zed_by_hal

comment your optical drives in /etc/fstab

and there is a solution for your external hd too

http://wiki.archlinux.org/index.php/HAL … _correctly

Offline

#7 2007-12-20 12:44:27

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,717

Re: Mounting HD's and CD's

moving your sda1 device below your sdc1 device should work for that one as lucke said. You first have to mount the partition to /home, before you can mount something to /home/youruser/customdir.

About the UDF thing, it does mean that no "volume recognition sequence" is found. VRS is only found on UDF formatted media. I guess the media is not UDF formatted you are trying to mount. If it is a cd/dvd, you could specify for the type "iso9660,udf" so it tries the iso9660 type before udf. If it does not work, you may also try to specify just "auto" there.

Offline

#8 2007-12-20 13:10:07

el mariachi
Member
Registered: 2007-11-30
Posts: 575

Re: Mounting HD's and CD's

thanks! issues solved: cd mounting/SDA1 mounting
unsolved issues: external HD mounting (ntfs-3g permissions?)

Offline

#9 2007-12-20 13:16:10

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,717

Re: Mounting HD's and CD's

I assume you do actually have ntfs-3g installed?
If it is not installed hal also gives a permission denied error.

Offline

#10 2007-12-20 13:17:34

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,717

Re: Mounting HD's and CD's

jpatufet wrote:

Same problem, but I believe that it worked fine before.

Solution in the wiki

http://wiki.archlinux.org/index.php/HAL … zed_by_hal

comment your optical drives in /etc/fstab

and there is a solution for your external hd too

http://wiki.archlinux.org/index.php/HAL … _correctly

are you actually asking for help, or did you resolve it yourself already ?
If the first, please open a new thread.

Offline

#11 2007-12-20 19:19:37

jpatufet
Member
From: Spain
Registered: 2007-11-28
Posts: 11

Re: Mounting HD's and CD's

pressh wrote:

are you actually asking for help, or did you resolve it yourself already ?
If the first, please open a new thread.

xD, sorry for my english. I was in a hurry and didn't spend too much time typing.

I had the same problem, the cd. I resolved it  doing what it says in the wiki.

Offline

#12 2007-12-23 11:02:18

el mariachi
Member
Registered: 2007-11-30
Posts: 575

Re: Mounting HD's and CD's

the cd issue is solved, but the external HD one is not.

the HD appears in listed in Thuar IF it is plugged in during boot, otherwise it won't even be listed  - either way I can't access it's contents (no permission). I don't want it to be ALWAYS mounted as an internal HD, but treat it as a pen drive.

EDIT: in the Wiki it says that Policies have been deprecated from HAL. Should this fix still work?
http://wiki.archlinux.org/index.php/HAL … ntfs-3g.29

Last edited by el mariachi (2007-12-23 11:08:26)

Offline

#13 2007-12-23 16:37:08

khordes
Member
Registered: 2007-06-23
Posts: 22

Re: Mounting HD's and CD's

Just had the same issue, using that ntfs-3g automount with write support entry from the HAL portion of the wiki solved it for me.

Offline

#14 2007-12-23 17:18:21

el mariachi
Member
Registered: 2007-11-30
Posts: 575

Re: Mounting HD's and CD's

weird... I plugged the HD using the USB connection and everything works (didn't tweak HAL policies).
Why doesn't it work with firewire?

Offline

#15 2007-12-25 04:25:09

blueskies
Member
From: Santa Barbara, CA
Registered: 2007-12-25
Posts: 12

Re: Mounting HD's and CD's

Sorry to redirect the conversation, but I'm having the same CD mounting problems as the OP.  When I comment out the optical drives from fstab, I get this error.

A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal").

Any ideas?  If it helps/matters, I'm on a laptop with an external CD drive, connected through PCMIA I believe.  Thanks for the help!

Offline

#16 2007-12-25 08:54:11

el mariachi
Member
Registered: 2007-11-30
Posts: 575

Re: Mounting HD's and CD's

you need to be in the optical and adm groups

Offline

Board footer

Powered by FluxBB