LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-27-2005, 10:38 PM   #1
Armon
Member
 
Registered: Feb 2005
Distribution: Ubuntu- Dapper Drake and Mac OS X 10.4
Posts: 46

Rep: Reputation: 15
Question how should i mount my drive?


I am running an older machine with a 10 gig and 160 gig hard drive. I originally installed linux on the 10 gig and it is mounted as / . Now I decided to use the computer to stream my music and thus bought the new HD. I am running GNUMP3d and it looks in the /var/music/ directory for the music and media. I am a newb and am wondering how to mount or config the new HD so that i can have the music on it. Currently it is not mounted or plugged in. thnx in advance.
 
Old 12-27-2005, 11:25 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
what kind of drive?
since its an older machine, im assuming its standard IDE stuff.. no raid or sata or firewire.. correct?

if so, just plug in the drive as a slave drive on prim/secondary (whatever you decide) IDE connection and boot up the computer.

if this is the 2nd drive in the system, it will most likely be known as /dev/hdb to the system.

run 'cfdisk /dev/hdb' as root from a terminal/console. read the man page about it if you need some info about it.
it will bring up a nice and easy UI which is pretty self explanatory. create a partition on the drive of whatever size you want. then set the type for the drive.. will you be writting to it from windows? if so youll need it to be FAT32.. if it has nothing to do with windows, reiserfs should work just fine. then 'write' the changes to disk.

create a folder for where to mount this drive, as root, ie 'mkdir /mnt/music'

then edit your /etc/fstab file, as root, add this line, and save.

Code:
/dev/hdb1       /mnt/music       reiserfs    auto,users,umask=000,rw 0 0
now type 'mount /mnt/music'. it should now be mounted fine, and will be whenever computer is booted. g'luck

edit: for the program your using, either edit its configuration so it looks where you have your music mounted, or mount it to where it looks (ie /var/whateverYouSaid..)

Last edited by nadroj; 12-27-2005 at 11:29 PM.
 
Old 12-28-2005, 12:22 PM   #3
Armon
Member
 
Registered: Feb 2005
Distribution: Ubuntu- Dapper Drake and Mac OS X 10.4
Posts: 46

Original Poster
Rep: Reputation: 15
thanks, ill give it a try. you assumed everything correctly, IDE and no winblows in sight! Is it possible to mount it in other locations too? Since that program only streams audio, and the program for video will probably use another folder....
 
Old 12-28-2005, 12:25 PM   #4
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
you can mount it to any folder that exists.. you should be able to know how to change the mount point (in your /etc/fstab).

its always smart to mount drives to /mnt/mntName as a standard. the program your using should allow you to specify where you want it to play/stream/whatever files from.. it wouldnt (i would think) be hardcoded at that /var/whatever location you said.

but if this is this case, which again im sure it isnt, or if u just dont want to change the program to point to your /mnt/whatever folder, you can of course just mount the drive to /var/whateverYouSaid... or better yet, leave the mount point as i said it to be, and create a 'symbolic link' (man ln) to the /var/whatever folder.
 
Old 12-28-2005, 02:01 PM   #5
Armon
Member
 
Registered: Feb 2005
Distribution: Ubuntu- Dapper Drake and Mac OS X 10.4
Posts: 46

Original Poster
Rep: Reputation: 15
thanks for the reply, gave it a try and its working. I just changed the programs config to look in the new location.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
Mount usb drive, umount and mount another drive arubin Linux - Hardware 9 01-17-2007 03:46 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 07:16 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 1 12-24-2005 04:25 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 02:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:45 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