Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Ok, this is the situation. I have built a Linux webserver to host a PHP/MySQL application that will allow browsing and streaming of my mp3 collection (internally).
The mp3's, however, currently reside in a shared folder on my file server which is running WindowsXP. The web application needs access to the mp3's, obviously. How would I go about mounting the Windows share in Linux.
Please keep in mind that although I am very computer literate, with some DOS experience, I am very new to Linux - I set up the Linux server following a tutorial. Thanks in advance for your help.
Michael J

http://www.linux.cu/documentos/RedHat/gsg/s1-q-and-a-windows.htm
This guide assumes that /dev/hda1 is your windows partition (the first partition on the first disk). The naming convention goes like this: /dev/hdXY where X is a-d, or the disk, and Y is 1-9, the partition number.
Also it assumes that you're using FAT32 (vfat) on windows (unlikely). Instead, you can try using -t ntfs, if your drive is formatted in NTFS format.
If you don't know where your windows partition is located, you can attempt to locate it by running (as root) fdisk -l /dev/hda (or hdb, hdc, hdd) Until you find a partition with the system type HPFS/NTFS, or FAT 32.

Thanks for the reply nilbus, but that article is about accessing a Windows partition on the same machine. I need to access a shared folder on a completely separate machine.
Any other ideas?
Michael J

I had a problem mounting the Files on my WinXP machine from my Fedora core 3 machine until I downloaded and installed a Ntfs file reader Plugin.. Not sure of the web address right now... could look for It later... I then was able to mount the files shared after an certian update ...As I understand it because of the Licensing restrictions Red Hat is the only one that doesn't support NTFS file reading .. Out of the box ... or Distro .. there is however the plugin available for this purpose.
I was able to mount,read,and access the shares . However, Until I copied the files to the Linux machine I was unable to get the Mp3 files to play , ( I used the Xmms with the Mp3 plugin. ) Don't Know that much about any other configurations to be able to tell you much about it ,, as I'm a Linux newbie Myself.... Waiting to see someone more Knowledgeable about Linux administration chime in and offer a more complete explanation..How or what script may be written , as far as setting up the user for accessing those shares and streaming them to the web.. well that's another matter ... Sorry if I have rambled on and haven't given any answer Just trying to offer an Idea of something that I had a problem with and still haven't quite found a total solution to myself ... that may or may not be related to your situation...
MSI 845e mb 768 mb ram and a p4 2.4n running xp ,win 2000 advanced server and win 98 SE alot to learn and I know so little !!!!

You can mount the windoze share somewhere
below your web root (often something
like /var/www/html/):
#
smbmount //servername/share /var/www/html/mp3s
-o username=a_windoze_user
Then the directory should appear at
http://servername/mp3s

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |