Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-30-2003, 08:01 AM   #1
LQ Newbie
Registered: Jun 2003
Posts: 8

Rep: Reputation: 0
Question Sharing folders on anohter Harddisk

HI there,

I just installed Mandrake 9.1 for the first time in my life, First linux installation that is, and I am very impressed with it.
I ditched windows but got one problem :

I got 2 hard disks in my PC, I would like to share my entire 2nd hard disk (is mounted hda2).
When I try to right click on one of the folders on my 2nd hard disk, it says that I can only share my HOME folder!
How is this going to work, this means that I can only share folders on the harddisk where I have got Linux installed (hda1)?
I have Samba installed, and that is workign fine, i can see the other pc's on the network.

So to wrap it all up : How can I share folders that are on another Harddisk?

Thank you very much, and HAIL to linux.
Old 06-30-2003, 11:24 AM   #2
LQ Newbie
Registered: Jun 2003
Posts: 8

Original Poster
Rep: Reputation: 0
so nobody knows an answer to this one?
Old 06-30-2003, 12:09 PM   #3
LQ Newbie
Registered: Jun 2003
Location: Toronto, Ontario
Distribution: Gentoo
Posts: 28

Rep: Reputation: 15
In order to access files and folders on a Windows partition from Linux, the Windows partition would have to be FAT. If your partition(s) are FAT-type, cd to /, mkdir osshare(1,2,3,etc for each partition), then open your /etc/fstab in a text editor and add a line that looks like this for each partition:

/dev/hda2 /osshare vfat umask=000 0 0

Note the spaces, save, reboot and check /osshare.
Old 07-01-2003, 06:40 AM   #4
LQ Newbie
Registered: Jun 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you very much for your reply, I will try it tonight.
My second hard disk is using NTFS, now i know that linux is not able to write to NTFS, but can read. Will the windows machines that are able to see my NTFS partition able to read/write, or only read?

Thank you very much.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
samba sharing ntfs harddisk wesleywest Linux - Networking 1 11-01-2004 10:22 AM
sharing folders jstephens84 Fedora 1 09-18-2004 12:13 PM
Sharing folders over the Internet..? SSJ-sHaDoW Mandriva 1 10-03-2003 01:43 PM
sharing folders atari303 Linux - Networking 5 05-26-2001 09:59 AM
sharing folders atar303 Linux - Distributions 1 05-25-2001 08:44 AM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration