mount: /dev/sda1 is not a valid block device?????help
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.
1st, I'd double check and make sure its sda1. Type: cat /proc/diskstats
and find it in the list.
And just to be sure, since you didn't give the manual command your are giving: mount -t vfat /dev/sda1 /mnt/memstick
Of course change 'sda1' to whatever-the-case if need be.
the suggestion by tw001 didnt work because i dont have any diskstats in /proc
and about the one by cylix, i only have the ide-scsi loaded, the other two it says that modprobe cant find them. and im sure my thumbdrive works because i use it under winxp, and like i said, it used to work fine here too
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
have you made changes to your kernel?
sg3utils has some stuff to help. the usbdrive will change depending on which usb port you put it in. one will be sda then sdb then sdc.
try sdb1 then sdc1 in your mount command.
Originally posted by mojarron the suggestion by tw001 didnt work because i dont have any diskstats in /proc
and about the one by cylix, i only have the ide-scsi loaded, the other two it says that modprobe cant find them. and im sure my thumbdrive works because i use it under winxp, and like i said, it used to work fine here too
usb-storage is quite necessary.
Though the name appears as usb-storage, it might be usb_storage.
You can check by looking your modules directory.
/lib/modules/kernel_release/kernel/drivers/usb
You can get your kernel release (that you are running) with uname -r
i didnt modify my kernel, i tried all the possible combinations with sda,sdb, etc and nothing, where can i get sg3utils?, i have usb-storage up and running but nothing...
by the way, thanxs for helping me guys, i really appreciate it
Firstly, lets do an lsmod and see what's running and where.
Make sure these are loaded...
usb_core
usb_ohci or usb_uhci
scsi_mod
ide-scsi
sr_mod
usb-storage
If not, just load them in that order. Though modprobe them, I remember having problems if I loaded them in the wrong order. So, in the end you can rmmod usb-storage and then modprobe usb-storage again.
Then do an lsmod and we'll see if usb-storage is actually taking.
I can't remember where i read the explanation of how to use the sg3utils, bu they do things such as this:
/# sg_map
/dev/sg0 /dev/scd0
/dev/sg1 /dev/scd1
/# sg_scan
/dev/sg0: scsi0 channel=0 id=0 lun=0 [em]
/dev/sg1: scsi0 channel=0 id=1 lun=0 [em]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.