Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
the command would be mount /dev/sd?1 /somedirectory
the sd?1 will depend on what the other drives are
the /somedirectory will depend on where you want to mount it
try "mkdir /flash ^M" "mount /dev/sda1 /flash ^M" if you don't get an already mounted error do a ls /flash (^M is enter)
if you do get an error try sdb1,sdc1 etc etc it will be an sdsomething1
you can leave the -t option out all newer kernels can mount a fat32 file system on there own
[ 396.133702] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 396.133708] sdb: sdb1
[ 396.135373] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[ 396.135479] sd 5:0:0:0: Attached scsi generic sg2 type 0
[ 2384.114940] usb 7-1: USB disconnect, address 4
[ 4065.246717] usb 7-1: new high speed USB device using ehci_hcd and address 5
[ 4065.309711] usb 7-1: configuration #1 chosen from 1 choice
[ 4065.310192] scsi6 : SCSI emulation for USB Mass Storage devices
[ 4065.312712] usb-storage: device found at 5
[ 4065.312720] usb-storage: waiting for device to settle before scanning
[ 4066.925675] sd 6:0:0:0: [sdb] Write Protect is off
[ 4066.925683] sd 6:0:0:0: [sdb] Mode Sense: 45 00 00 08
[ 4066.925688] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 4066.928273] sd 6:0:0:0: [sdb] 3940479 512-byte hardware sectors (2018 MB)
[ 4066.929043] sd 6:0:0:0: [sdb] Write Protect is off
[ 4066.929050] sd 6:0:0:0: [sdb] Mode Sense: 45 00 00 08
[ 4066.929055] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 4066.929063] sdb: sdb1
[ 4066.930879] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 4066.930963] sd 6:0:0:0: Attached scsi generic sg2 type 0
You can see in my case that on the third last line I have
[ 4066.929063] sdb: sdb1
So I know that the first partition of my usb drive is sdb1
Issue the commands:
dave@dave-laptop:~$ cd /mnt/
dave@dave-laptop:/mnt$ sudo mkdir usb
[sudo] password for dave:
dave@dave-laptop:/mnt$ sudo mount -t vfat /dev/sdb1 /mnt/usb/
dave@dave-laptop:/mnt$ cd usb
chem_4_kids.sh PDF Lists Groups
IT Room Layout.xls
Junior Cert Science
So you can see, the USB drive is mounted on /mnt/usb/
To unmount it:
dave@dave-laptop:/mnt$ sudo umount /mnt/usb/
dave@dave-laptop:/mnt$ cd usb/