kanotix.com

Hardware - usb devices

alcor - 18.07.2006, 07:53 Uhr
Titel: usb devices
I have kanotix 2006 rc 4
When I link a pendrive all ok. it is mounted automatically.
when I link a usb hard disk it is not mounted and :"only root can mount ..."
How to do for mounting automatically?
Sorry for my poor english.
Tanks
arlekin - 19.07.2006, 14:47 Uhr
Titel:
Are these usb devices present at boot time (read: connected to the computer)?
Are they mentioned in the partition table (file: /etc/fstab)?
alcor - 21.07.2006, 06:46 Uhr
Titel:
Thanks anyway for answer.
It is the same if are present at boot time and if not.
fstab is the same of another my installation (Kanotix 2006 RC2).
Later I can post fstab, if it is util. Now I cannot because I am at work.
devil - 21.07.2006, 07:05 Uhr
Titel:
alcor,
if that hd is permanently connected, add it to fstab with a line like:
Code:
/dev/sda1   /media/sda1   vfat    auto,users,exec,umask=000,shortname=mixed,quiet 0  0


greetz
devil
alcor - 21.07.2006, 14:19 Uhr
Titel:
Thanks.

I am sorry. Mistake is my: there was some tab mistakes in fstab.
Now is ok.
And I found the way for usb devices independet of port:
I have added to fstabthese lines:
/dev/disk/by-id/usb-USB_2.0_Flash_Disk_USB_Mass_Storage_Device /mnt/Penna auto user,noauto,rw 0 0
/dev/disk/by-label/DATI_1 /mnt/Dati_1 auto user,noauto,rw 0 0

now my fstab is:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs devmode=0666 0 0
/dev/hdc5 / reiserfs defaults 0 1
/dev/hdc6 /home ext3 defaults 0 2
/dev/hdc1 /media/hdc1 vfat umask=000,shortname=mixed,quiet 0 0
# /dev/hdc6 /media/hdc6 ext3 defaults 0 0
/dev/hdc7 none swap sw 0 0
/dev/hdd1 /media/hdd1 ext3 defaults 0 0
/dev/hdd2 /media/hdd2 ext3 defaults 0 0
/dev/hdd3 none swap sw 0 0
/dev/cdrom /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/disk/by-id/usb-USB_2.0_Flash_Disk_USB_Mass_Storage_Device /mnt/Penna auto user,noauto,rw 0 0
/dev/disk/by-label/DATI_1 /mnt/Dati_1 auto user,noauto,rw 0 0
/dev/disk/by-label/DATI_2 /mnt/Dati_2 auto user,noauto,rw 0 0

(for undertsande fstab: my usb disk has two partitions named dati_1 and dati_2)
Thanks anyway.




The only thing wrong is that hdd2 not mounted and I don't undersstand why.
arlekin - 21.07.2006, 14:37 Uhr
Titel:
alcor hat folgendes geschrieben::

The only thing wrong is that hdd2 not mounted and I don't undersstand why.

Open a (root) console and try to mount the partition manually, using the mount command in verbose mode (to receive some feedback) as follows:

Code:

mount -v -t ext3 -o defaults /dev/hdd2 /media/hdd2

alcor - 21.07.2006, 15:14 Uhr
Titel:
root@Alcor:/home/antonio# mount -v -t ext3 -o defaults /dev/hdd2 /media/hdd2
mount: mount point /media/hdd2 does not exist
alcor - 21.07.2006, 15:18 Uhr
Titel:
Ok I have created Media/hdd2
and I mounted hdd2
Thanks
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007