Re: mounting USB pen under 2.6



michael wrote:
I've had a look around but can't see how to mount my USB pen under 2.6
(stable). I've just upgraded from 2.4 where I had a line in /etc/fstab
/dev/sda1 /usbkey vfat users,noauto 0 0
but under 2.6 my first SATA drive in now /dev/sda1 so I'm confused what
I should replace the about line with.

I see from SYSLOG that when I plug the USB pen into the slot:

[snip]

Apr 5 13:31:30 ratty kernel: sdc: assuming Write Enabled
Apr 5 13:31:30 ratty kernel: sdc: assuming drive cache: write through
Apr 5 13:31:30 ratty kernel: /dev/scsi/host2/bus0/target0/lun0: p1
Apr 5 13:31:30 ratty kernel: Attached scsi removable disk sdc at scsi2,
channel 0, id 0, lun 0



but trying to mount sdc doesn't work:

michael@ratty:~$ sudo mount -t vfat /dev/sdc /usbkey mount: wrong fs
type, bad option, bad superblock on /dev/sdc,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Try:

mount /dev/sdc1 /usbkey

It seems that USB keys have a partition table and the relevant partition is normally 1.

Jerry Quinn


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • qpopper in syslog
    ... I've noticed the following in my syslog but can't work out what it is ... Michael ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: syslog recommendations?
    ... me, say, aggregate logs from lots of different boxes and maybe even do ... standard udp syslog daemon for reliability. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: Upgrade xorg in Sid breaks link
    ... I'm hesitant to upgrade again just to see the messages that appear in the ... syslog and/or bootlog. ... ought to be the highest honor and the highest responsibility anyone ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • SIOCGMIIPHY failed... HELP ME!!!
    ... I have a laptop with Debian Etch and every second I have this messages in my syslog: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Kernel error: DMA write timed out
    ... When I stopped lp daemon syslog ... But when i restart lpd it said: ... Perhaps you can log a bug report on the lpr package? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)