USB storage device
I have a small USB storage device. How can I mount this drive and see the content stored on this device. The device is known as pen drive.
manual says add following line in usbmgr.conf (in /etc/usbmgr): vendor 0xd7d product 0x 100 module scsi_mod, usb-storage. But I am unable to find the file usbmgr.conf. Please help. |
is that a pen drive / keychain drive?
|
do you have USB support enabled in your kernel??
|
Yes it is a pen drive. and my kernal supports USB drive but I dont no how to mount it by editing fstab file so that I could see the contents of the drive. Can any one tell what line should be added to fstab file for the USB pendrive
|
mount /dev/input/devicehere bla users bla rw
something like that ;) ~Progster |
If anyone wouldn't mind posting some real information on what to enter into /etc/fstab, that would be great! I am in the same boat, I have a 128mb USB pen drive that would be wonderful to have access to and *maybe* even boot from (that would be awesome if anyone has any suggestions!)
Is there a good resource that lists the fstab entries for some of the manufacturers? |
With RH 8.0 you should be able to mount it as such assuming no other SCSI hard drives:
Manually: mount -t vfat /dev/sda1 /mnt/<mount point> For the fstab it should be like any other vfat partition. I would add the noauto options so its not automounted on bootup. I don't use RH 8.0 but the drive should also show up in your hardware info. I don't know how USB system works with RH 7.2 but try it using the same method. |
Quote:
I get pictures off of my Sony DCR-PC110 like this. And Redhat added the /dev/sda1 entry in fstab under mount point /mnt/camera as soon as I plugged it in. Boy, was I impressed!! If it doesn't work for some reason or if you're using another/older distro, you can download the SG3 Utils package , install it and run sg_scan. It will scan and report your scsi drives including usb mass storage devices. HTH |
1st try /proc/scsi/scsi - if u c a device, try michaelk's mount.
if no /proc/scsi/scsi , insmod scsi_mod insmod usbcore insmod usb-storage insmod usb-uhci insmod sg then mount |
Wow, tons of great ideas already! Thanks guys. I am going to try all of these and get this thing working, but let me pose a slightly more complicated question while we're on this topic, since a few of you really seem to know what you're talking about with these things!...
I have a 128mb CigarPro brand USB mass storage device... My mainboard, a Biostar M7VIG pro *seems* to support booting from a USB device (I haven't verified how well that would work yet, but seems possible.) I've got an idea that would be wonderful to see in action... Imagine with me if you will... :) We're standing in a computer classroom environment, and a user wants to start up one of the computers (a thin client with no HD, floppy, CD... just a nic, vid and proc.) In order to boot this computer, he/she needs to insert their "key" (the pen drive) into a front USB port, and then turn on the computer. This way, the computer is only accessible by legit users, the small nic module/driver can be loaded along with a DHCP request to trigger a normal NFS and TFTP request boot over the ether-segment. Sorry, that was a long story, but integral for getting some real feedback on how I might be able to flash a small boot rom to this device, get it to read itself on startup and send out the DHCP request. Anyone done this ever, anyone want to help a brotha out? Thanks, and feel free to steal the idea for yourself if ya like it, I personally think it's got some potent potential. :study: :study: :study: :D |
Awhile ago I looked into trying to build a bootrom for my NICs. I saw it on linuxapps site where you could build and test your ethernet boot rom using a floppy disk. It would still be basically a boot floppy that would be on your USB flash drive and not a true ethernet boot rom.
My motherboard is also capable of booting with a USB device. I've also been meaning to see if it will really boot from my flash drive. However, anyone (wouldn't have to be the pen drive) with a USB boot drive and suitable boot disk could still possibly use the computer and access the network. So you would have to stick some security stuff in there somewhere. |
Yeah, I recognize the security risk with this, but there would still be a login necessary to access the system, so it's more of a conveinece than a security solution, but thanks for the heads up!
As far as the NIC boot goes, it seems as though this Biostar M7VIG pro board has a boot from LAN option potential. A rep from biostar (btw, they are pretty darn good about answering questions on all types of subjects, good company all the way around) said that you can enable it in BIOS and it seems that if there aren't any other bootable devices, it will broadcast a DHCP request... Has anyone seen a solution this simple, or am I missing something? Would I still need specific software on the host end in order to broadcast the correct request to a ltsp server? Boy, lots o' questions, but it's fun stuff, aint it?! |
mount /dev/sda1
it works for me but first add the line to your /etc/fstab |
You might look at this thread:
http://www.linuxquestions.org/questi...09#post2435009 This approach worked with Slackware 11.0 RC3. |
Why on Earth did you reply to such an old thread?!
|
All times are GMT -5. The time now is 11:22 AM. |