LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Getting MP3's off NTFS Drive (https://www.linuxquestions.org/questions/linux-newbie-8/getting-mp3s-off-ntfs-drive-103070/)

InEeDhElPlInUx 10-12-2003 11:11 AM

Getting MP3's off NTFS Drive
 
Alright so I have my 60 gig cut in half xp on one then redhat on the other. I have my 80 gig as NTFS. It has all my music...software...etc. I would be nice to have that when I boot up linux. Now how do I get it so I can find that shared drive. I have it shared in windows and I can get on the the other shared drive on my network when I click on Network Servers. Do I need Samba or something along those lines? I think I've already installed it...not sure though. Still learning :)

daveo 10-12-2003 11:47 AM

Re: Getting MP3's off NTFS Drive
 
Quote:

Originally posted by InEeDhElPlInUx
Alright so I have my 60 gig cut in half xp on one then redhat on the other. I have my 80 gig as NTFS. It has all my music...software...etc. I would be nice to have that when I boot up linux. Now how do I get it so I can find that shared drive. I have it shared in windows and I can get on the the other shared drive on my network when I click on Network Servers. Do I need Samba or something along those lines? I think I've already installed it...not sure though. Still learning :)
That 80gb disk with the music, is that on a network server ? or is it a fysicall disk inside your machine ?

hw-tph 10-12-2003 12:02 PM

If the 80GB disk you want to access is on the same computer simply mount it.

1. Create a mountpoint. This is a directory where you will be able to access the partition once it's mounted. The /mnt directory is where you usually mount things, so create a directory called "windows" (or something) there.

2. Check what the partition name is. If the disk is mounted as slave on the primary IDE controller it should be called /dev/hdb. You could run /sbin/fdisk /dev/hdb and then, in fdisk, type p to list the partitions and then q to exit fdisk. It should be listed as ntfs.

3. Mount the disk. As root, do mount -t ntfs /dev/hdb1 /mnt/windows, where /dev/hdb1 is the NTFS partition you wish to mount and /mnt/windows is the mountpoint that you created.

If no error messages are displayed you should be able to go to /mnt/windows and list the files and dirs and access them as usual, but the NTFS module is by default limited to read-only operations.

hw

InEeDhElPlInUx 10-12-2003 01:58 PM

alright so I did that and everyone was good until it said my kernel doesnt support it. I tried upgrading my kernel but Redhat wont boot with it because of my FX5600. I says that the kernel doesnt support my nvidia driver. Any suggestions?

quatsch 10-12-2003 02:05 PM

go back to your old redhat kernel. Then take a look at this thread - the search function is your friend:
http://www.linuxquestions.org/questi...hreadid=103088
it gives you a link where you can download an rpm that will install ntfs support for redhat.

InEeDhElPlInUx 10-12-2003 02:36 PM

Thanks a bunch but I still dont know how to give myself...not root permission to read the folder. It's alright when I'm logged on as root but as soon as I log on as myself I says I dont have permission into the folder

quatsch 10-12-2003 02:53 PM

do you have an entry in the fstab? Then add umask=0 as one of the options. E.g.

/dev/hda1 /mnt/winxp ntfs auto,ro,umask=0 0 0

if you're mounting manually:
mount -t ntfs -o umask=0 /dev/hda1 /mnt/winxp

of course, change the mount point to what you have.

InEeDhElPlInUx 10-12-2003 03:01 PM

how would I add an entry into the fstab...if I did that it would mean I would have to manually mount it everytime right?

quatsch 10-12-2003 03:09 PM

the full path of the fstab file is
/etc/fstab
you have to be root to be able to edit it. When you look at it, you'll see various entries for what partition gets mounted where with what options. You can add an entry for your xp partition. Something like
/dev/hda1 /mnt/winxp ntfs auto,ro,umask=0 0 0

you can change the mount point to your liking. After this, it will get mounted at boot time and will stay mounted until you unmount it manually.
Take a look at
man fstab
and
man mount
for more details about what you can do. Hope this helps.


All times are GMT -5. The time now is 02:38 PM.