Cannot share windows partition from ubuntu

Asked by aneesh

My machine is dual boot that is ubuntu and windows .I Cannot share windows partition from ubuntu .When I try to share a windows folder from ubuntu, its shows follwing error "Failed to execute child process "testparm" (No such file or directory).What is the problem here ?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tom (tom6) said :
#1

Hi :)

Is the problem that you cannot see the Windows partition? or can you see &read/write to it but just not share over the network?

Regards from
Tom :)

Revision history for this message
aneesh (aneesholv) said :
#2

Yes I can see windows partition and also can read and write to it

On Mon, Apr 26, 2010 at 6:22 PM, Tom
<email address hidden>wrote:

> Your question #108442 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/108442
>
> Status: Open => Answered
>
> Tom proposed the following answer:
> Hi :)
>
> Is the problem that you cannot see the Windows partition? or can you see
> &read/write to it but just not share over the network?
>
>
> Regards from
> Tom :)
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/108442/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/108442
>
> You received this question notification because you are a direct
> subscriber of the question.
>

--
------with regards,

                      Aneesh.T.V
                      Mob:9544067525

Revision history for this message
Ed S (edgar-b-dsouza) said :
#3

testparm is a program installed by Samba packages (the package names probably vary across Ubuntu versions, on 10.04 beta2, this program is installed by the "samba-common-bin" package). If your Samba server packages (not the client ones, which I think are installed by default) are not installed, then the testparm command will not be available. This command parses your /etc/samba/smb.conf file and displays the entries therein, and reports if there are errors with the configuration file. It is probably used by the Nautilus "Share Folder" dialog to check that the Samba configuration is valid.

According to https://help.ubuntu.com/community/SettingUpSamba#Samba%20Server%20Configuration%20-%20Graphical -- "If samba is not installed you will get a pop up menu "Sharing services are not installed". Select "Install Windows networks support (SMB)" and deselect "Install Unix networks support (NFS)" -> then click "Install services"."

Have you seen such a message when attempting to share the folder?

What version of Ubuntu are you using?

Have you tried sharing a folder that is not on the Windows partition, for example, a folder like 'Documents' in your Ubuntu user account's home folder? If not, please try and let us know.

Revision history for this message
aneesh (aneesholv) said :
#4

Iam trying to share is a NTFS filesystem and it was mounted while the
ubuntu operating system loaded
On 4/28/10, Ed S <email address hidden> wrote:
> Your question #108442 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/108442
>
> Status: Open => Needs information
>
> Ed S requested for more information:
> testparm is a program installed by Samba packages (the package names
> probably vary across Ubuntu versions, on 10.04 beta2, this program is
> installed by the "samba-common-bin" package). If your Samba server
> packages (not the client ones, which I think are installed by default)
> are not installed, then the testparm command will not be available. This
> command parses your /etc/samba/smb.conf file and displays the entries
> therein, and reports if there are errors with the configuration file. It
> is probably used by the Nautilus "Share Folder" dialog to check that the
> Samba configuration is valid.
>
> According to
> https://help.ubuntu.com/community/SettingUpSamba#Samba%20Server%20Configuration%20-%20Graphical
> -- "If samba is not installed you will get a pop up menu "Sharing
> services are not installed". Select "Install Windows networks support
> (SMB)" and deselect "Install Unix networks support (NFS)" -> then click
> "Install services"."
>
> Have you seen such a message when attempting to share the folder?
>
> What version of Ubuntu are you using?
>
> Have you tried sharing a folder that is not on the Windows partition,
> for example, a folder like 'Documents' in your Ubuntu user account's
> home folder? If not, please try and let us know.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/108442
>
> You received this question notification because you are a direct
> subscriber of the question.
>

--
------with regards,

                       Aneesh.T.V
                       Mob:9544067525

Revision history for this message
Michael Lustfield (michaellustfield) said :
#5

What I normally do is just add a FAT32 partition that both systems can natively read/write from without issues. That will save you a lot of headaches.

Revision history for this message
Tom (tom6) said :
#6

Hi :)

Fat32 is very old and wobbly. Ntfs is better because it is journalised so data is a lot safer. In the same way, for the same reason, ext3 & ext4 are safer than ext2.

On dual-boot machines i am moving towards having my /home partition as ntfs to reduce the number of partitions required to get both operating systems working together well. then just use loads of short-cuts to "drive" D: in Windows and keep it's C: quite small (well about 30Gb, which is larger than most drives i have ever owned).

This issue is not about that tho. The data can be accessed fine from the same machine but it can't be shared out to other machines on the network. That was my first question because i thought the point was unclear back then too.

I am also having trouble sharing a folder over my network too but in my case its mainly a lack of understanding about networking. The folder i want to share is on a ext3 file-system and again i can read/write fine from this machine but just not over the network. I get a completely different error message.

Regards from
Tom )

Can you help with this problem?

Provide an answer of your own, or ask aneesh for more information if necessary.

To post a message you must log in.