Computing.Net > Forums > Linux > Mounting a Windows Share

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Mounting a Windows Share

Reply to Message Icon

Name: Michael J (by mjdamato)
Date: March 26, 2005 at 01:17:46 Pacific
OS: Debian 3.0r4
CPU/Ram: 200MHz P1/128MB
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: nilbus
Date: March 26, 2005 at 20:44:19 Pacific
Reply:

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.


0

Response Number 2
Name: Michael J (by mjdamato)
Date: March 26, 2005 at 23:15:38 Pacific
Reply:

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


0

Response Number 3
Name: quacked
Date: March 28, 2005 at 22:20:50 Pacific
Reply:

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 !!!!


0

Response Number 4
Name: 3Dave
Date: March 29, 2005 at 05:28:37 Pacific
Reply:

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


0

Response Number 5
Name: Michael J (by mjdamato)
Date: April 2, 2005 at 22:41:38 Pacific
Reply:

Thanks 3Dave, that looks like exactly what I want. I'll let you know if it works!

Michael J


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Mounting a Windows Share

Mounting a windows 2000 NTFS partition i www.computing.net/answers/linux/mounting-a-windows-2000-ntfs-partition-i/6531.html

Use Samba to print to a Windows shared printer? www.computing.net/answers/linux/use-samba-to-print-to-a-windows-shared-printer/1949.html

Automounting a Windows share www.computing.net/answers/linux/automounting-a-windows-share/8771.html