I set up Arch Linux on a friends computer. The setup seems to work, for example gnome-cd is started when one inserts an Audio CD. However, everything that involves mounting does not work. The error message given by gnome-volume-manager is
mount: wrong fs type, bad option, bad superblock on /dev/sda1, or too many mounted file systems
* /bin/mount has sid set, 755, owner and file group are root
* udev is set up correctly, so /dev/hdc for example does have write rights for the group disk, and the user is member of that group.
What could be wrong?
I am a little confused.
What does /dev/sda1 have to do with /dev/hdc?
The problem was mainly about mounting, and not about /dev/sda or /dev/hdc. We found the solution:
The "mount" binary in Arch's current is confused by the entry "managed" that hal puts in /etc/fstab. You can correct this by
a) Adding a policy file in /usr/share/hal/fdi/95userpolicy named, for example, local.fdi that hinders hal from doing so:
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> <deviceinfo version="0.2"> <!-- Default policies merged onto computer root object --> <device> <match key="info.udi" string="/org/freedesktop/Hal/devices/computer"> <merge key="storage.policy.default.managed_keyword.primary" type="string">user</merge> </match> </device> </deviceinfo>
Then restart hal by typing
b) Patching "mount" as described in Arch Linux bug #1930.[/code]