Red HatThis forum is for the discussion of Red Hat 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.
Well, my pcmcia reader for my compact flash device was /dev/hde1 and when i checked it with the hardware browser (and the fact I knew i could use it in windows) i found the file system to be fat16 so I
mkdir /flash
mount /dev/hde1 -t vfat /flash
Basically, what your computer told you was that /dev/sda1 wasn't a valid device. you need to find out which device it is and mount it that way. Another thing, with my CF card, I have yet to be able to write to it...
'Hardware browser' has 2 entries under 'Hard drives'
1. My hard-disk( Maxtor ) and
2. "Drive /dev/sda( Geom: 1024/64/32 ) ( Model: Generic USB SD Driver ).
I tried to do what TJ had suggested...
[root@localhost mnt]# l
total 16
drwxr-xr-x 2 root root 4096 Oct 25 18:43 floppy
drwxr-xr-x 2 root root 4096 Oct 25 18:43 cdrom1
drwxr-xr-x 2 root root 4096 Oct 26 16:17 cdrom
drwxr-xr-x 2 root root 4096 Oct 26 16:48 flash
[root@localhost mnt]# mount /dev/sda -t vfat /mnt/flash
mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems
[root@localhost mnt]# mount /dev/sda1 -t vfat /mnt/flash
mount: /dev/sda1 is not a valid block device
What else does it say for your #2 entry in your hardware browser? Does it give any other information? I think the problem that time is that usually your device will be /dev/sda, but the actual "logical" drive is going to be /dev/sda# where # is some number. Let me know if there is some more information given for your #2 entry in the hardware browser. It should display the file system type, as well as the logical partition it's setup as. It's also possible, that your flash card isn't partitioned/formatted, in which case you'll have to partition/format it first.
You're probably going to need to partition your flash card. You can do that by:
fdisk /dev/sda
push m to display the menu
i would push p to see if there are any partitions
if not, push n to create a new one, make it primary or extended, (i used primary for mine), then push 1 cause it's the first partitions, then select the start and end blocks, and it should be done, then mount /dev/sda1 -t (whatever type, could be linux, could be vfat, depends on what you want it to be) /flash and it should work. Let me know if you have any more questions as well. I'll be here for a while yet.
Hmm, can't say that I'm real sure. It's probably a driver problem. However at this point, I am clueless and I do not have any other suggestions. Sorry man. I'd keep scouring the forums and searching google. It can be a painstaking process, but after 30+ hours I finally got sound, full resolution, and special keys mapped on my laptop, and there's no better feeling that doing all that work and actually getting a working product. Best of luck on the rest of your searches.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.