You are not logged in.

#1 2009-01-25 18:00:26

PrimoTurbo
Member
Registered: 2008-06-26
Posts: 109
Website

Having problems automounting usb in fstab

I can mount my usb stick with the command

sudo mount /dev/sdb1 /mnt/usb

However when I add

/dev/sdb1 /mnt/usb

to /etc/fstab it doesn't mount the usb.

What am I doing wrong? Thnx

Offline

#2 2009-01-25 18:32:41

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,920
Website

Re: Having problems automounting usb in fstab

/dev/sda2 / ext3 defaults,noatime,nodiratime 0 1

You need to flesh out your entry in fstab [above is an example]

http://wiki.archlinux.org/index.php/Fstab


Mr Green I like Landuke!

Offline

#3 2009-01-25 19:30:54

PrimoTurbo
Member
Registered: 2008-06-26
Posts: 109
Website

Re: Having problems automounting usb in fstab

I acctually already had

/dev/sdb1 /mnt/usb vfat ro,user,noauto,unhide 0 0

but it still doesn't work is there a log file for this I can check why it won't mount it?

Offline

#4 2009-01-25 19:40:10

PrimoTurbo
Member
Registered: 2008-06-26
Posts: 109
Website

Re: Having problems automounting usb in fstab

Okay I think the problem was the noauto I changed that and it works.

also I changed the line to rw,user,auto however I still cannot create any new files on the usb? Why is this?

Offline

#5 2009-01-25 20:03:20

PrimoTurbo
Member
Registered: 2008-06-26
Posts: 109
Website

Re: Having problems automounting usb in fstab

Crap more issues, when I restart usb is not mount. I do mount -a and it mounts wtf..

Offline

Board footer

Powered by FluxBB