SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to mount an FAT32 usb drive. Simple, I've done this before.
Code:
mount /dev/sda /mnt/usbmem -t vfat
mount: wrong fs type, bad option, bad superblock on /dev/sda,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Wow...first time I got that message. Strange. I figured I'd try this to se what I would get...
Code:
dmesg | tail
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sns = f0 2
ASC=3a ASCQ= 0
Raw sense data:0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
Yes...I'm not really sure what to do now. The memory stick works with WinXP, so I know it works. I just can't get it to work here.
I'm using a 2.4 kernel. I got a memory stick to work before with a 2.6 kernel installed in a different box. Why I picked a 2.4 kernel for this box, I'm not sure, but I plan to upgrade soon.
Any help you can give would be HIGHLY appreciated.
I think you need a longer tail, something like tail --lines=50. What you should be seeing is a partition number in the output, for example /dev/sda4. Once you have that, you can use it instead of just /dev/sda.
I have two storage devices, one is an USB memory stick and the other is an external hard disk in an USB HDD box.
I've mounted the first as /dev/sda1 and then "unmounted and removed" it.
When I've attempted to mount the other as /dev/sda1 I've got the same message.
Then I've tried to mount it as /dev/sdb1 and it is mounted ok.
After restarting the system, I can mount it as /dev/sda1 again.
If you have logical partitions in your storage device, try starting the partition number from 5 (example: /dev/sda5).
Can you run a tail in a console window prior to plugging in the device? That will show which device is being recognised by the kernel (in my case, /dev/sda4):
Code:
# tail -f /var/log/messages
Feb 19 20:54:09 fender kernel: usbcore: registered new driver usb-storage
Feb 19 20:54:09 fender kernel: USB Mass Storage support registered.
Feb 19 20:54:14 fender kernel: Vendor: Generic Model: Rev:
Feb 19 20:54:14 fender kernel: Type: Direct-Access ANSI SCSI revision: 02
Feb 19 20:54:14 fender kernel: SCSI device sda: 1007616 512-byte hdwr sectors (516 MB)
Feb 19 20:54:14 fender kernel: sda: Write Protect is off
Feb 19 20:54:14 fender kernel: SCSI device sda: 1007616 512-byte hdwr sectors (516 MB)
Feb 19 20:54:14 fender kernel: sda: Write Protect is off
Feb 19 20:54:14 fender kernel: sda: sda4
Feb 19 20:54:14 fender kernel: sd 0:0:0:0: Attached scsi removable disk sda
I have two storage devices, one is an USB memory stick and the other is an external hard disk in an USB HDD box.
I've mounted the first as /dev/sda1 and then "unmounted and removed" it.
When I've attempted to mount the other as /dev/sda1 I've got the same message.
Then I've tried to mount it as /dev/sdb1 and it is mounted ok.
After restarting the system, I can mount it as /dev/sda1 again.
If you have logical partitions in your storage device, try starting the partition number from 5 (example: /dev/sda5).
This one's the winner. Worked beautifully. Thanks everyone.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.