Find the answer to your Linux question:
Results 1 to 7 of 7
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, ...
  1. #1
    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

  2. #2
    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

  3. #3
    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?

  4. #4
    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.

  5. #5
    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

  6. #6
    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

  7. #7
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...