LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 01-16-2005, 07:10 PM   #1
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
can't mount my windows file system


hi there,

i'm running fedora core 1 and i have samba-3.0.7, whenever i try to mount my windows file system like this

# mount -t smbfs -o username=****,password=******** //senior-server/d$ /home/pma/senior_main

i get this message,

mount: wrong fs type, bad option, bad superblock on \192.168.1.1d$,
or too many mounted file systems

can someone help me out ...
 
Old 01-16-2005, 11:21 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
Quote:
# mount -t smbfs -o username=****,password=******** //senior-server/d$ /home/pma/senior_main
The only thing I can think of is maybe it doesn't like that ( d$ ) part.

Here's from my notes....
mount -t smbfs -o uid=linuxuser,gid=linuxgroup //hostname/share /mnt/shares
or
mount -t smbfs -o username=<user>,password=<passwd> //hostname/share /mnt/shares

Last edited by homey; 01-16-2005 at 11:23 PM.
 
Old 01-16-2005, 11:23 PM   #3
matt_com911
Member
 
Registered: Dec 2004
Location: Australia
Distribution: Fedora 2/3
Posts: 40

Rep: Reputation: 15
Alrite, the reason you can't do it is that Fedora Core dosen't intergrate ntfs support. Normally, Windows automatically sets its partition to ntfs. To fix this download a patch from this website;

http://linux-ntfs.sourceforge.net/rpm/fedora1.html

Find the patch that suits your kernel (to find out what kernel you are running [uname -r]). Try now and post back if it still dosen't work
 
Old 01-16-2005, 11:27 PM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
matt_com911
I think you are talking about accessing an NTFS partition on a dual boot system where he is trying to access a network share.
 
Old 01-17-2005, 12:45 AM   #5
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Original Poster
Rep: Reputation: 30
yea, thats right i am trying to access a network drive, but it is under windows 2000 server so it is a NTFS file system i'll try and download that patch and give it a go then
 
Old 01-17-2005, 12:52 AM   #6
rsmith
Member
 
Registered: Jan 2005
Location: Arizona
Distribution: SuSE 9.3 Pro / Slackware 10.1 / WBEL 3
Posts: 57

Rep: Reputation: 15
If you're trying to access it, I did this exact thing today. Edit the fstab as follows:

/dev/(hard drive windows stuff is on) /home/win2k (mount point) ro,user,umask=000,users 0 0

That should take care of it. This will cause the windows shares to be auto-mounted and grant you access. by doing mount -t ntfs -o username="",password="" //server/share /home/folder you won't achieve the desired results and because mounting can only be done by root, only root will be able to view these files let alone access any subdir.
 
Old 01-17-2005, 02:41 AM   #7
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
Quote:
Originally posted by rsmith
If you're trying to access it, I did this exact thing today. Edit the fstab as follows:

/dev/(hard drive windows stuff is on) /home/win2k (mount point) ro,user,umask=000,users 0 0

That should take care of it. This will cause the windows shares to be auto-mounted and grant you access. by doing mount -t ntfs -o username="",password="" //server/share /home/folder you won't achieve the desired results and because mounting can only be done by root, only root will be able to view these files let alone access any subdir.
He is trying to access a network share, in which case the NTFS drivers won't do anything for you so don't worry about installing them. Try dropping the dollar sign or maybe samba isn't configured right, does typing smbmount in a console output a usage page?
 
Old 01-17-2005, 01:53 PM   #8
rsmith
Member
 
Registered: Jan 2005
Location: Arizona
Distribution: SuSE 9.3 Pro / Slackware 10.1 / WBEL 3
Posts: 57

Rep: Reputation: 15
Ah okay. Well then:

mount -t smbfs -o username=user,password=pass //server/D$ /home/rsmith/smbmount

That's what I do on my home network and I have no problems whatsoever. Windows shares are all on NTFS.
 
Old 01-17-2005, 04:19 PM   #9
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Original Poster
Rep: Reputation: 30
hey there, DJ P@CkMaN, you were right i installed the NTFS file and it didn't help at all i'm still having the problem, as for samba being install correctly the only install i can get to work is the install from the original fedora CD's i've download the tar.gz file uncompressed it, cd'ed into samba-3.0.10/packaging/Fedora and used the command sh makerpms.sh and then a mammoth list of file operations come up and two hours later it tells me there is an error. i'll do that again and tel you the error maybe that'll help ... see you in two hours

ps: just to tell you what kinda samba i'm running if i run the command rpm -qa | grep samba this is the result i get:

# rpm -qa | grep samba
samba-common-3.0.7-2.FC1
samba-3.0.7-2.FC1
 
Old 01-17-2005, 06:15 PM   #10
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Original Poster
Rep: Reputation: 30
extracting debug info from /var/tmp/samba-3.0.10-root/lib/libnss_wins.so
cpio: samba-3.0.10/source/getdate.c: No such file or directory
cpio: samba-3.0.10/source/getdate.y: No such file or directory
19992 blocks
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
Processing files: samba-3.0.10-1
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.65645
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd samba-3.0.10
+ DOCDIR=/var/tmp/samba-3.0.10-root/usr/share/doc/samba-3.0.10
+ export DOCDIR
+ rm -rf /var/tmp/samba-3.0.10-root/usr/share/doc/samba-3.0.10
+ /bin/mkdir -p /var/tmp/samba-3.0.10-root/usr/share/doc/samba-3.0.10
+ cp -pr README COPYING Manifest /var/tmp/samba-3.0.10-root/usr/share/doc/samba-3.0.10
+ cp -pr WHATSNEW.txt Roadmap /var/tmp/samba-3.0.10-root/usr/share/doc/samba-3.0.10
+ cp -pr docs /var/tmp/samba-3.0.10-root/usr/share/doc/samba-3.0.10
+ cp -pr examples/autofs examples/LDAP examples/libsmbclient examples/misc examples/printer-accounting /var/tmp/samba-3.0.10-root/usr/share/doc/samba-3.0.10
+ cp -pr examples/printing /var/tmp/samba-3.0.10-root/usr/share/doc/samba-3.0.10
+ exit 0
Provides: audit.so cap.so config(samba) = 3.0.10-1 default_quota.so expand_msdfs.so extd_audit.so fake_perms.so full_audit.so netatalk.so pam_smbpass.so perl(smbldap_conf) = 1.00 perl(smbldap_tools) = 1.00 readonly.so recycle.so shadow_copy.so
Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires(postun): /bin/sh
Requires: /bin/sh /bin/sh /etc/pam.d/system-auth config(samba) = 3.0.10-1 initscripts >= 5.54-1 libacl.so.1 libacl.so.1(ACL_1.0) libattr.so.1 libattr.so.1(ATTR_1.0) libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2 libcrypt.so.1 libcrypto.so.4 libcups.so.2 libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2 libk5crypto.so.3 libkrb5.so.3 liblber.so.2 libldap.so.2 libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpam.so.0 libpopt.so.0 libresolv.so.2 libssl.so.4 logrotate >= 3.4 pam >= 0.64 perl(Exporter) perl(smbldap_conf) perl(strict) perl(vars) samba-common = 3.0.10
Processing files: samba-client-3.0.10-1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /bin/sh /usr/bin/perl libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2 libcrypt.so.1 libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2 libk5crypto.so.3 libkrb5.so.3 liblber.so.2 libldap.so.2 libncurses.so.5 libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpopt.so.0 libreadline.so.4 libresolv.so.2 samba-common = 3.0.10
Obsoletes: smbfs
Processing files: samba-common-3.0.10-1
Provides: CP437.so CP850.so config(samba-common) = 3.0.10-1 libnss_winbind.so libnss_wins.so libsmbclient.so.0 pam_winbind.so
Requires(interp): /bin/sh /bin/sh /sbin/ldconfig
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires(postun): /sbin/ldconfig
Requires: /bin/sh config(samba-common) = 3.0.10-1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2 libcrypt.so.1 libcrypto.so.4 libcups.so.2 libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2 libk5crypto.so.3 libkrb5.so.3 liblber.so.2 libldap.so.2 libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpam.so.0 libpopt.so.0 libresolv.so.2 libssl.so.4
Processing files: samba-swat-3.0.10-1
Provides: config(samba-swat) = 3.0.10-1
Requires(interp): /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires: config(samba-swat) = 3.0.10-1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2 libcrypt.so.1 libcrypto.so.4 libcups.so.2 libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2 libk5crypto.so.3 libkrb5.so.3 liblber.so.2 libldap.so.2 libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpam.so.0 libpopt.so.0 libresolv.so.2 libssl.so.4 samba = 3.0.10 xinetd
Processing files: samba-debuginfo-3.0.10-1
Provides: CP437.so.debug CP850.so.debug audit.so.debug cap.so.debug default_quota.so.debug expand_msdfs.so.debug extd_audit.so.debug fake_perms.so.debug full_audit.so.debug libnss_winbind.so.debug libnss_wins.so.debug libsmbclient.so.debug netatalk.so.debug pam_smbpass.so.debug pam_winbind.so.debug readonly.so.debug recycle.so.debug shadow_copy.so.debug
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/samba-3.0.10-root
error: Installed (but unpackaged) file(s) found:
/usr/share/man/man8/pam_winbind.8.gz


RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/share/man/man8/pam_winbind.8.gz
Done.

yes when i go into /usr/share/man8 i can't find this file :S i'm not sure whats going on i've tried removing the older samba packages before installing this one, i've tried doing a fresh install with no samba files being installed and then trying to install it but once again to no avail i get the same message
 
  


Reply


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
How to read .chm file in fedora, can't mount ntfs file system ishti_du Linux - Newbie 12 03-06-2007 03:27 AM
Mounting file system in a file with mount Denes Programming 6 11-11-2005 12:04 PM
Can't mount windows file system kaega2 Linux - Software 4 05-29-2005 11:12 AM
How do I Mount a Windows NTFS file system explorer Linux - Networking 15 05-06-2004 08:01 PM
Can We Mount NTFS Windows file System from linux gautam_iiith Linux - General 6 10-23-2003 06:47 PM


All times are GMT -5. The time now is 01:11 PM.

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