LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 08-01-2003, 09:14 PM   #1
CameronChampion
LQ Newbie
 
Registered: Aug 2003
Location: Atlanta
Distribution: Redhat 9
Posts: 4

Rep: Reputation: 0
Arrow Mounting USB Storage - Here come the dumb questions...


I am using Linux for the first time tonight. I figured formatting and only installing RH9 would force me to learn Linux.

I can't get this USB Hard Drive to mount... I don't even fully understand what [mount] does or how it works. I read [man 8 mount] and just confused me more.

Using Hardware Browser, I see my FugiFilm USB Drive listed as /dev/sda so I try this:

[cameron@pcp04030052pcs cameron]$ mount /dev/sda /mnt/sda
mount: only root can do that
[cameron@pcp04030052pcs cameron]$ mount /dev/sda sda1
mount: only root can do that
[cameron@pcp04030052pcs cameron]$ mount /dev/sda1 fugi
mount: only root can do that

Am I trying to mount it correctly?
Plus, why do I have to be root to mount a stupid drive?
Can I gain root access without logging off my [cameron] username?

Thank you so much in advance for any help offered!!

~ Cameron
 
Old 08-01-2003, 09:33 PM   #2
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

Rep: Reputation: 31
Yes you can do 'su -l' that will make you root. When you logout from that
you'll go right back to your own user account.
'mount /dev/sda /mnt/sda' looks like the right command. Does the directory
/mnt/sda exist? If not do 'mkdir /mnt/sda' then run your mount command.
If you need more help let us know.

Michael

P.S. Welcome to Linux.
 
Old 08-01-2003, 09:34 PM   #3
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
yes

type su

then when it prompts for password, enter root password

(do this in terminal window)
 
Old 08-02-2003, 04:52 AM   #4
CameronChampion
LQ Newbie
 
Registered: Aug 2003
Location: Atlanta
Distribution: Redhat 9
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you so much for the fast reply!

su -l worked great... Here's what I tried:

mount /dev/sda /mnt/sda
mount: you must specify the filesystem type

>> to learn about types:
man 8 mount

mount -t vfat /dev/sda /mnt/sda
mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems

>> Hardware Browser lists type on device as fat16:
mount -t fat16 /dev/sda /mnt/sda
mount: fs type fat16 not supported by kernel

So, I guess I just can't uses that drive on RH9....

~ Cameron
 
Old 08-02-2003, 05:48 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
You need to specify a partition number.

Try

mount -t vfat /dev/sda1 /mnt/sda
 
Old 08-02-2003, 12:27 PM   #6
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

Rep: Reputation: 31
He's right. I did forget about the partition number. Also, concerning the
filesystem, has your USB drive been formated yet. If not, or if there is no
data on it, try 'fdisk /dev/sda'. Create a partition on the drive. Then try
'mkfs.ext3 /dev/sda1'. In the command I said partition 1, but
use what ever partition number you need should you make more than 1
partition.
If you need more help let me know.
 
Old 08-02-2003, 01:06 PM   #7
peace
Member
 
Registered: Jul 2003
Location: Canada
Posts: 214

Rep: Reputation: 31
$ mkdir /flash
$ mount -t vfat /dev/sda1 /flash


^ I have a USB Key, and that is how I mount it in RH9.
 
Old 08-02-2003, 07:55 PM   #8
CameronChampion
LQ Newbie
 
Registered: Aug 2003
Location: Atlanta
Distribution: Redhat 9
Posts: 4

Original Poster
Rep: Reputation: 0
Grr.... More trouble...

# mount -t vfat /dev/sda1 /mnt/sda
mount: special device /dev/sda1 does not exist
# mount -t vfat /dev/sda /mnt/sda
mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems

Hardware Browser Image:
http://gocameron.com/public/Screenshot.png

This is so frustrating. I feel dumb because I can answer virtually any Windows question & here I can't even use a USB key. There is an active partition. This USB Key works fine on my WinXP PC and has files on it, so I don't want to format.

Are there any resources to aquaint Windows users with the [mount]ing procedures in Linux?
Is there a program that will automatically mount/unmount via GUI?

Thanks so much in advance!

~ Cameron
 
Old 08-02-2003, 08:31 PM   #9
Cafrow
Member
 
Registered: Aug 2003
Location: Mesa, AZ
Distribution: Redhat 9
Posts: 45

Rep: Reputation: 15
Hey cameron, What I am thinking is that you will need to change the filesystem from Fat16 if you want to use it with linux. I have done the same thing as you, I have removed windows and all NTFS filesystems from my computers. I am tryign to force myself to do linux also.

ANyways, my understanding of what Mount does is basicly "Link" a device to a 'Folder" on your HD.

This linux stuff is not as easy as Windows, i am still having a hard time understanding what Installing RPMs actually does and how to compile programs that I download.

PS. Cameron, do you have AIM, MSN, or Yahoo?

thanks
 
Old 08-03-2003, 04:56 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
It might be just formated as FAT.
try:
mount -t auto /dev/sda1 /mnt/sda
 
  


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
mounting, adding storage space questions babag Mandriva 4 09-08-2005 08:07 PM
Mounting USB storage devices COKE CAN Debian 18 08-02-2005 02:14 AM
mounting usb storage prEying Linux - Hardware 2 12-25-2004 11:42 AM
Automatically Mounting USB Storage Devices??? nalmo Linux - General 6 08-13-2004 03:15 PM
Mounting USB Storage Seoi Linux - Hardware 1 06-18-2002 07:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:35 AM.

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