problem in sharing folders on Suse 11.1

334 views
Skip to first unread message

Shainky Gupta

unread,
Mar 4, 2009, 8:08:41 AM3/4/09
to GNU/Linux Users' Group, NIT Durgapur
hi,
I installed SUSE Linux a few days back. During the installation, it seems the system32 file of windows got deleted(or corrupted may be) somehow.So I am unable to access Windows.My files are mounted on Linux now. But I am unable to share my folders(It says : 'net usershare' returned error 255: net usershare: usershares are currently disabled)
. Installing DC++ could have been an option but I dont want my files to be accessed by any other person but by only those for whom it is intended.Please help.

--
-Shainky Gupta
4th Year, ECE
NIT Durgapur

Shainky Gupta

unread,
Mar 4, 2009, 8:19:27 AM3/4/09
to GNU/Linux Users' Group, NIT Durgapur
I just tried Samba server,where i clicked on allow users to share their directories.But again an error message appeared sayin:
" 'net usershare' returned error 255: net usershare add: cannot share path /media/Local Disk_/study as we are restricted to only sharing directories we own.
    Ask the administrator to add the line "usershare owner only = False"
    to the [global] section of the smb.conf to allow this. "
Now, how and where to add this line .

Shainky Gupta

unread,
Mar 4, 2009, 8:43:43 AM3/4/09
to GNU/Linux Users' Group, NIT Durgapur
Another attempt to sort out this problem was done by me. This time I went to Samba server ->Identity-> Advanced settings -> expert global settings -> add
and then I pasted "usershare owner only = False" there. This time when I tried to share my folder a new error popped up saying:
'net usershare' returned error 255: [2009/03/04 19:09:08,  0] param/loadparm.c:lp_bool(5453)
  lp_bool(false =): value is not boolean!
net usershare add: cannot convert name "Everyone" to a SID. The connection was refused. Maybe smbd is not running.
* Please help *

Shainky Gupta

unread,
Mar 4, 2009, 8:57:47 AM3/4/09
to GNU/Linux Users' Group, NIT Durgapur


--
-Shainky Gupta
320.gif
323.png

abhishek gupta

unread,
Mar 4, 2009, 9:20:04 AM3/4/09
to nitd...@googlegroups.com


Is the error which you get while accessing windows something like this
cannot locate WINDOWS/SYSTEM32/winload.exe 
ERROR CODE something something 
If your problem is similar to above then you need to do the following task
Boot into your linux

$ fdisk -l
which will show your disk partitons from which you identify your windows drive device say it is sda2
Become root and open /boot/grub/menu.lst into a text editor and locate the windows entry there .
What you need to do here to edit the entry something like 
title windows 1
    rootnoverify (hd0,5)   // it may be different in your case.
    chainloader (hd0,0)+1

and rectify the entry to the proper one which in case of the windows drive being sda2 will be (hd0,1)
It goes something like this
sdaX   implies hd(X-1)
Your winload.exe should be back now.




Sandeep Sreenath

unread,
Mar 4, 2009, 9:36:57 AM3/4/09
to nitd...@googlegroups.com
On Wed, Mar 4, 2009 at 6:38 PM, Shainky Gupta <shainky...@gmail.com> wrote:
First of all, thanx for taking this much trouble and not giving up on Linux :).
here are the steps:

1) Open a terminal. Type su - . When the red prompt appears after you have entered your root password, type smbpasswd -a shainky. enter your new passwords.

2) go to Yast->Network Services->Samba Server. Click on the shares tab and then click on the ADD tab. Add the folder you want by browsing.  Also make sure you are *not* a primary domain controller. Then click finish.

3) In the terminal that was open, type service smb restart.

4) now ask your friend to open smb://ipaddress if on linux or //ipaddress if on windows. Username=shainky, password=whatever you specified.

 

Shainky Gupta

unread,
Mar 4, 2009, 11:45:19 AM3/4/09
to nitd...@googlegroups.com
Thanks a lot Sandeep and Abhishek.
Now I am able to share my folders .
But the windows problem is still persisting. All I can see when I tried to start windows is

root noverify(hd0,0)
chainloader +1
NITLDR missing

Lets hope it will also be sorted out by tomorrow.
330.png

Sumit Sati

unread,
Mar 4, 2009, 11:56:22 AM3/4/09
to nitd...@googlegroups.com
if windows is still in the partition then copy NTLDR, NTDETECT and boot.ini from any windows installation to your windows partition.
Hope this will work.

Lets hope it will also be sorted out by tomorrow.

--
-Shainky Gupta
4th Year, ECE
NIT Durgapur





--
Regards
Sumit Sati
Dick Cavett  - "If your parents never had children, chances are... neither will you."

Sandeep Sreenath

unread,
Mar 4, 2009, 1:55:49 PM3/4/09
to nitd...@googlegroups.com

Thanks a lot Sandeep and Abhishek.

Thank Debayan, he gave the solution to your problem.
 
330.png
Reply all
Reply to author
Forward
0 new messages