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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-25-2005, 10:40 PM
|
#1
|
LQ Newbie
Registered: Feb 2005
Posts: 19
Rep:
|
Ubuntu will not mount my other hard drive
I just installed Ubuntu. The install was a succes! But I have one problem. I have a bunch of music I would like to listen to off my windows hard drive. I check fstab and its not listed. I checked device manager and saw both my hard drives including the the hard drive with windows. Any ideas

|
|
|
02-25-2005, 11:18 PM
|
#2
|
Member
Registered: Oct 2004
Location: Mysore, India
Distribution: Fedora Core 1, Xandros desktop OS 2
Posts: 54
Rep:
|
First, you need to find out in which partition music is stored. Usually, it's like this:
C drive-> /dev/hda1
D drive-> /dev/hda5
E drive-> /dev/hda6
F drive-> /dev/hda7
Note that this is for Primary Master.
If the hard drive is Primary slave, replace hda by hdb
For secondary master, it is hdc and for secondary slave, it is hdd
Now, assuming that your music is stored in E drive,
1: login ass root
2: Create a mount point. This is done by typing "mkdir /mnt/edrive" (without quotes)
3: mount the device on the mount point. This is done by "mount /dev/hda6 /mnt/edrive"
Now, all your music is found at /mnt/edrive.
To mount the partition every time automatically, you need to add the following line at the end of the file /etc/fstab
/dev/hda6 /mnt/edrive vfat defaults 0 0
You can change the file system type if it is not vfat. You can try auto.
|
|
|
02-26-2005, 01:03 AM
|
#3
|
LQ Newbie
Registered: Feb 2005
Posts: 19
Original Poster
Rep:
|
Thanks for the help that worked but now the it says I dont have the correct permission to acces the folder. How would I got fixing this? This is the error that it pops up "You do not have the permissions necessary to view the contents of "edrive"." How do I go about changing the permisions?
|
|
|
02-26-2005, 01:33 AM
|
#4
|
LQ Newbie
Registered: Feb 2005
Posts: 19
Original Poster
Rep:
|
Also the permissions are not set to allow me to edit the fstab file as well.
|
|
|
02-26-2005, 03:10 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you need to be root to edit that use "su -" in a terminal to become root.
why do people still insist on asying "linux us on my F: drive" or whatever..?? clearly that is just impossible, as windows can't see it, therefore can't give it a drive letter.... 
|
|
|
02-26-2005, 12:38 PM
|
#6
|
Member
Registered: Sep 2003
Distribution: Ubuntu 5.10
Posts: 56
Rep:
|
put in a line similar to this into the fstab. gid is the group identification number for the group you want to be able to access it. This one works well for me
/dev/hda2 /windows ntfs ro,gid=1000,auto,umask=003 0 0
The owner for this will be the root, but gid sets it up to the group you specify. Umask will set the appropriate permisions. The filesystem will be mount automatically (to the directory you specify, here it is /windows {note that you need to create to folder first before it can be mounted there}). Read through the man pages for mount to get all of the options.
Last edited by kevinlyfellow; 02-26-2005 at 12:46 PM.
|
|
|
02-26-2005, 01:08 PM
|
#7
|
LQ Newbie
Registered: Feb 2005
Posts: 19
Original Poster
Rep:
|
Thanks for the help. I am now able to listen to my music! 
|
|
|
All times are GMT -5. The time now is 02:13 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|