LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-25-2003, 06:57 PM   #1
JDeer0618
Member
 
Registered: Oct 2003
Posts: 30

Rep: Reputation: 15
"Mounting" Problems


Hola,

I have searched for this problem in the old threads but i cant really find what i need... I have been having problems with my USB devices locking up my machine but i somehow managed to get that worked out, my problem now is just trying to read what is on the USB Mass Storage when it is plugged in. I am very new to Linux but i do believe the solution would be to mount the device but i cant figure out how... Please help.


Thank You,
Lost in Code
 
Old 10-26-2003, 12:59 AM   #2
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
What is the device name for the USB Mass Storage? Like your hard drive is /dev/hda.

Once you know what the device name is, then I would assume you mount it like any other device.

mount -t filesytem type /dev/devicename /mnt/destinationname
mount -t vfat /dev/hda1 /mnt/win98

All this as root.
 
Old 10-26-2003, 10:28 AM   #3
JDeer0618
Member
 
Registered: Oct 2003
Posts: 30

Original Poster
Rep: Reputation: 15
This is the output that i get when i type in the command:

[root@localhost root]# mount -t fat32/dev/sda1 /mnt/usb
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options].
For many more details, say man 8 mount .

I know this is the instructions on how to do it but so far it is just blowing my mind...

Thanks for yalls help
 
Old 10-26-2003, 10:34 AM   #4
JDeer0618
Member
 
Registered: Oct 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Should the command look like this:

mount -t fat32/dev/sda1 /mnt/usb

Or should there be no space between "sda1" and "/mnt"
 
Old 10-26-2003, 10:35 AM   #5
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
mount -t fat32/dev/sda1 /mnt/usb

fat32 is not the right name. It's called vfat. If the mountpoint exists (i.e. there is directory called /mnt/usb) and /dev/sda1 is the device name, and it is formatted in fat32, then
mount -t vfat /dev/sda1 /mnt/usb
should do it.

edit: you need a space between -t and vfat; another space between vftat and /dev/sda1 and another space between /dev/sda1 and /mnt/usb

Last edited by quatsch; 10-26-2003 at 10:36 AM.
 
Old 10-26-2003, 10:44 AM   #6
JDeer0618
Member
 
Registered: Oct 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Great thank you it worked... there was no dir called usb, all that was in there was cdrom and cdrom1 so i just made a dir called usb and mounted the the device. Low and behold i can finally see what is on there... thanks to everyone on this board, yall are awsome!!! This is really making the migration a 1000 times easier
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error message when pressing "Next" "BIOS Problems" , help ! HeRCuLeSX Fedora 3 07-21-2004 02:37 PM
why iam getting problems like "...too many files opened" or "segmentation fault" naren_0101bits Linux - Newbie 2 07-19-2004 12:20 PM
mounting problems "hdb : driver not present" joshuarpf Linux - Newbie 2 07-08-2004 04:28 AM
Problems mounting "My Documents" from /etc/fstab paul.nel Linux - Networking 6 05-12-2004 10:40 PM
anging "Protocol" option to "IMPS/2" in XF86Config-4 causes problems zstingx Linux - General 2 10-27-2003 09:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration