You are not logged in.

#1 2009-05-02 13:56:57

burra
Member
From: Vaasa, Finland
Registered: 2006-05-26
Posts: 54

fstab and usbdisk

Hi,
I have a USB disk attached to my computer. All works fine and I can mount the disk manually, but if I try and add the disk to fstab and automaticly mount it at startup it says that the disk is not present when it tries to check the filesystem on the disk. The bootup stops and I need to login with root and fix the problem or press "Ctrl-d" to reboot

Is it that USB disks are recognized later than sata/pata attached disks?

Do I need to automount the USB disk in some other way?

Br,

Bertil

Last edited by burra (2009-05-02 14:15:43)

Offline

#2 2009-05-02 21:46:41

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: fstab and usbdisk

I have a cloned backup install on a usb disk set to manually mount in fstab.
/dev/sdc1       /mnt/sdc1         ext2    rw,user,noauto           0      0
/dev/sdc3       /mnt/sdc3         ext3    rw,user,noauto           0      0

It's been a while but I think I had it automounting by just using defaults in fstab.
/dev/sdc1       /mnt/sdc1         ext2       defaults                   0      0
/dev/sdc3       /mnt/sdc3         ext3       defaults                   0      0

Might need to have usb listed in mkinitcpio.conf hooks= line.

edit.. oops, fixed example lines.

Last edited by Leigh (2009-05-02 23:46:37)


-- archlinux 是一个极好的 linux

Offline

#3 2009-05-02 23:50:11

Intruder89
Member
From: Belgrade, Serbia
Registered: 2009-02-20
Posts: 28

Re: fstab and usbdisk

Well I recommend using HAL for USB smile It auto mounts/dismounts USB when pluged in/out. For setting HAL for USB you can find whole tutorial on wiki smile

Offline

Board footer

Powered by FluxBB