Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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
Distribution: Knoppix to play, Slack current, OpenBSD stables
Posts: 111
Rep:
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?
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
Quote:
Originally posted by michaelk 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.
The above should work.
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.
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
Distribution: Knoppix to play, Slack current, OpenBSD stables
Posts: 111
Rep:
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.
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.
Distribution: Knoppix to play, Slack current, OpenBSD stables
Posts: 111
Rep:
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?!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.