You are not logged in.
I run a fully updated arch64.
This 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 /media/cd auto ro,user,noauto,unhide 0 0
/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
/dev/fd0 /media/fl auto user,noauto 0 0
/dev/sdb /media/usb vfat ro,user,noauto,unhide 0 0UUID=bcddccf7-05f6-44ff-820c-af9838c5907a swap swap defaults 0 0
UUID=d008e868-27eb-4140-9e37-c627d502d373 / ext4 defaults 0 1
UUID=e9008bef-55d6-407a-8ac8-54fe3e54f78b /home ext3 defaults 0 1
UUID=f68616e7-a386-4c5b-873b-088f332f5669 /var ext4 defaults 0 1
I use emelfm2 and rox... clicking on /media/usb icon in rox OR typing mount /media/usb as a normal user gives me,
Mounting /media/usb
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Mount failed
I can mount the USB as root without problems by specifying the filesystem as vfat.
I have HAL hotplugging enabled.
I have gone through all the similar threads in these forums and am quite confused now - i have tried editing the policykit.conf, udev rules and all other solutions - whatever I try the problem remains. While I can mount the cd /dvd I just cannot mount the usb drives.
Any help is appreciated. Thanks.
It takes a very unusual mind to undertake the analysis of the obvious - A N Whitehead
Offline
Is your user a member of the storage group?
Offline
I run a fully updated arch64.
This 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 /media/cd auto ro,user,noauto,unhide 0 0
/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
/dev/fd0 /media/fl auto user,noauto 0 0
/dev/sdb /media/usb vfat ro,user,noauto,unhide 0 0I use emelfm2 and rox... clicking on /media/usb icon in rox OR typing mount /media/usb as a normal user gives me,
Mounting /media/usb
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Mount failedI can mount the USB as root without problems by specifying the filesystem as vfat.
you need to specify a partition in yout fstab:
/dev/sdb1 [or sdb2, etc] /media/usb vfat ro,user,noauto,unhide 0 0
/dev/sdb is only the device
I have HAL hotplugging enabled.
I have gone through all the similar threads in these forums and am quite confused now - i have tried editing the policykit.conf, udev rules and all other solutions - whatever I try the problem remains. While I can mount the cd /dvd I just cannot mount the usb drives.
Any help is appreciated. Thanks.
or you could directly use pmount. it mounts "fstab-unknown" devices to /media/<device>
Offline
From the beginner guide (http://wiki.archlinux.org/index.php/Beginners_Guide) about /etc/fstab
If you plan on using hal to automount media such as DVDs, you may wish to comment out the cdrom and dvd entries in preparation for hal, which will be installed later in this guide.
You don't need to put your usbdisk in fstab! I haven't done it and with "hal" and "pcmanfm" it is automounting in openbox!
You can use "pmount" to mount as normal user (but thats not automount).
my /etc/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
tmpfs /mnt/ramdisk tmpfs size=256M,nr_inodes=10k,mode=777 0 0
#/dev/cdrom /media/cdrom auto ro,user,noauto,unhide 0 0
#/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
UUID=1deabe59-... /home ext3 defaults 0 1
UUID=4fa858c6-... / ext3 defaults 0 1
UUID=b0d82d23-... /var ext3 defaults 0 1
UUID=ed9869dc-... swap swap defaults 0 0
Last edited by hrobeers (2009-04-28 10:12:10)
Offline
If you plan on using hal to automount media such as DVDs, you may wish to comment out the cdrom and dvd entries in preparation for hal, which will be installed later in this guide.
You don't need to put your usbdisk in fstab! I haven't done it and with "hal" and "pcmanfm" it is automounting in openbox!
Putting an entry in /etc/fstab with the "user" option lets you mount devices by clicking the mount point in ROX-Filer. It's perhaps not the best way but works for me.
@jaydoc: DonVla is right, you need to specify a partition (like sdb1, sdb2, etc) not only the device (sdb).
EDIT: fixed typo
Last edited by Trent (2009-04-28 12:10:15)
Offline