Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Redhat / Fedora Linux Help > Mounting a Hard Drive (Need Help)

Forgot Password?
 Redhat / Fedora Linux Help   Help and discussion related to Redhat and Fedora Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 04-29-2006   #1 (permalink)
Just Joined!
 
Join Date: Apr 2006
Posts: 10
Mounting a Hard Drive (Need Help)

I'm using Fedora 3 on a SCSI (sda) and have a second IDE hard drive that I have plugged into my computer. It is formatted as a Linux hard drive, and has all my music on it (It used to be a Windows NTFS, so the computer shop backed up my music and formatted the hard drive as a Linux drive, and dumped the music back onto it again).

I know that in order to access this IDE drive on the Gnome desktop I have to open a terminal window and use the "mount" command, but I'm not sure where the folder that contains my music hard drive is located. I thought it was supposed to be in /dev/hda, and I would therefore have to do something like this:

mkdir /musicdrive
mount /dev/hda /musicdrive

but apparently it doesn't work! I can't even find my hard drive in the file tree. Where exactly am I supposed to be looking?

Thank you for your time,

Alex
:::/-\NDRO(V)ED/-\::: is offline  


Reply With Quote
Old 04-29-2006   #2 (permalink)
Linux Engineer
 
spencerf's Avatar
 
Join Date: Jan 2005
Location: Syracuse, NY
Posts: 1,144
First off you should find out what "linux filesystem" the computer shop installed. Most likely it is ext3 but there are many different filesystems for linux including but not limited to jfs, Reiserfs, xfs, ext2.

you also need to find out how many partitions they made?

you can this out by:

Code:
fdisk /dev/hda
[then press] p
[this will show all the partitions, write them down and then quit]
But you need to edit /etc/fstab and add entry into it.

Code:
nano /etc/fstab   --or anyother text editor (gedit, emacs, vim etc...)

/dev/hda1               /musicdrive               ext3             noatime         0 1
this will mount /dev/hda1 at /musicdrive upon boot automatically

but if you want to mount before reboot just issues the command you orginally tried

mount /dev/hda1

adjust fstab according to your partition layout and filesystem type.
__________________
All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL
spencerf is offline   Reply With Quote
Old 04-29-2006   #3 (permalink)
Just Joined!
 
Join Date: Apr 2006
Posts: 10
Okay, let's step back a sec here...something may be wrong. I'm typing the fdisk command you told me to do, but Bash says the command is not found...is there another window that is installed in Gnome that I can use where this command would function correctly?
:::/-\NDRO(V)ED/-\::: is offline   Reply With Quote
Old 04-29-2006   #4 (permalink)
Just Joined!
 
Join Date: Apr 2006
Posts: 10
Also, when I use the File Browser utility to go into the /dev folder, there is no hda, hdb, hdc, etc...does this mean that the OS is not recognizing my hard drive? I'm also searching my Fedora for Dummies book on the topic of mounting filesystems, but I am sill having no luck. Perhaps there is an even <i>simpler</i> book...Fedora for RETARDS? lol

Any further assistance in locating my hard drive would be appreciated. Since I am unable to locate the drive, I am also unable to determine the partition type.
:::/-\NDRO(V)ED/-\::: is offline   Reply With Quote
Old 04-30-2006   #5 (permalink)
Linux Engineer
 
spencerf's Avatar
 
Join Date: Jan 2005
Location: Syracuse, NY
Posts: 1,144
are you typing the fdisk command as root?


to get to root in terminal you need admistrator privileges and can simply enter a terminal and type: su (it will prompt you for password) enter it and then a # symbol will appear before your name this means your in root. a $ means you are in regular user mode.
__________________
All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL
spencerf is offline   Reply With Quote
Old 04-30-2006   #6 (permalink)
Just Joined!
 
Join Date: Apr 2006
Posts: 10
Thumbs up

Hey thanks for your help...I was on the right track; I just had a different directory path, that's all...

I did:

mount /dev/hda1 /mnt/music

And there we go!

Thanks again man!

-Alex
:::/-\NDRO(V)ED/-\::: is offline   Reply With Quote
Old 04-30-2006   #7 (permalink)
Linux Engineer
 
spencerf's Avatar
 
Join Date: Jan 2005
Location: Syracuse, NY
Posts: 1,144
no problem glad it worked out for you.
__________________
All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL
spencerf is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:37 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2