Flash Drive Problems
I have my Lexar USB Flash drive in fstab as:
/dev/sdb1 /mnt/usb vfat users,defaults,noauto 0 0 But the only time I can access it is when I have it in when I boot. Why is that? If I try just popping it in later once i have loaded linux already or using another flash drive it gives me this error: root@Pavilion:/home/andrew# mount /dev/sdb1 /mnt/usb mount: /dev/sdb1 is not a valid block device Why is it not a valid block? Do I have to think to myself each time before i boot up linux if I want to use my flash or not? Is there a better way to do this? |
Not to steal the thread, but I'm having the same problems with my little thumbdrive. I could have swore that I've mounted this before in Slackware.
This is what /etc/fstab looks like Code:
This is what the mount command tells me Code:
/var/log/messages tells this story Code:
Not sure what I'm doing wrong here. thanks |
Generally speaking, I don't bother putting my flash drive into /etc/fstab. When I want to use it, I just type
mount -t vfat /dev/sda1 /mnt/usb I suspect (not being a long-time Linux user, that's about as confident as I get) that the problem is that you aren't specifying the "-t vfat" when you try mounting it after booting. The reason it's recognized at boot time is probably because the fstab entry has the correct file system type. |
that sounds like a good idea, it makes sense. Unfortunally it didn't work:
Quote:
Quote:
|
My flash worked great, and I did something wrong until
I got the same problem with you guys............. I reinstalled usbutility from slackware package disk and it works well now. |
When trying to mount with the following command
Code:
Code:
|
I've had that error too before. I wonder why?
|
/dev/sda1 /mnt/usbpen vfat rw,user,noauto 0 0
This is my line in fstab (probably you should drop the default in yours). The error may be caused by uncorrect hardware probing (did you try to remove it and then plug it again?). Bye! |
Quote:
|
Plug it in, wait a few seconds and then run:
fdisk -l to see if it is showing up. |
When running fdisk -l, this is the output
Code:
sdb1 is where I try to mount my thumbdrive, it is ouputting some very odd errors about being non-linux... |
Looks like you need to run fdisk on sda and create some valid partitions. Then format them so they can be mounted.
|
How could that be?
My Zip drive I never had to format, just create a mount point in /mnt, modify the kernel, and fstab and it was on. My thumbdrive on my Knoppix laptop, I'll I have to do is put it in the usb drive, modify fstab and it works too. Never had to use fdisk on either storage device, so that is very hard to believe. |
This very same drive? The reason I say it is because your partitions aren't valid according to fdisk. It shows 8 partitions, is this correct?
Some of these devices actually have an empty partition table, they are just formatted. |
Thanks for the replies...
But, if I fdisk my thumbdrive, I'll blow away any data on there that I need. This is very odd, because again, I can mount it under Knoppix with no problems, and r/w too. |
All times are GMT -5. The time now is 05:48 PM. |