Download your favorite Linux distribution at LQ ISO.
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 02-26-2004, 04:54 PM   #1
LQ Newbie
Registered: Feb 2004
Location: UK
Posts: 6

Rep: Reputation: 0
"Can't resolve mount point ..." - Mandrake 9.2 to WinXP host

Hi. New Linux user here: Mandrake 9.2 running on VMWare under Windows XP Pro SP1. I am a very experienced Windows user and I have a brain but I am new to Linux. Networking is all configured and running properly, DNS etc works, so I am convinced this is a viable installation despite the weirdness of it being under VMWare.

Problem: I'm trying to mount a share on a Windows machine (not the VMWare host) in the Linux machine. I keep getting the message "Can't resolve mount point /mnt/vmtools"

What I have done so far:

Created share called "vmt" on Windows machine, permissioned for Everyone / Full Control. Machine is called "bart". Share can be accessed as \\bart\vmt from Windows.

In console window in Linux typed "su -" and logged in then typed:

mount -t smbfs -o username=user,password=password //bart/vmt /mnt/vmtools

Then got the error message as above "Can't resolve mount point /mnt/vmtools".

So after some thought and some googling I created a directory /mnt/vmtools... and got the same error.

So after more thought I did a "chmod 777 /mnt/vmtools" in case it was a permissions thing but get same error.

Next I edited /etc/fstab putting in this line:

//bart/vmt /mnt/vmtools smbfs noauto,rw,username=user 0 0

(because I found it with google as a suggested solution). But I still get the same error. However! Now if I remove the directory /mnt/vmtools I get "mount: can't find /mnt/vmtools in /etc/fstab or /etc/mtab"

I am now very confused :-)

- Are you supposed to create the mount point as a directory before you mount it, or not?

- Do you have to put the entry in /etc/fstab or not?

- Help! What am I doing wrong?

Thanks in advance for any help offered.

Old 02-26-2004, 05:38 PM   #2
LQ Newbie
Registered: Feb 2004
Location: UK
Posts: 6

Original Poster
Rep: Reputation: 0
I forgot to mention that I can ping bart from the console on the linux machine.
Old 02-27-2004, 11:45 AM   #3
LQ Newbie
Registered: Feb 2004
Location: UK
Posts: 6

Original Poster
Rep: Reputation: 0
Ok I've sorted this out. Along the way I discovered:

- You can't use //server/share for a windows share, you have to use \\server\share like in Windows. And if you do it on the command line you have to escape the backslash with another backslash, like this: \\\\server\\share. However if you do it in fstab you don't have to escape it;
- You MUST create the directory before you can mount something into it;
- You don't have to put the entry in the fstab file but if you want it to load every boot then it's advisable (not sure if just putting it in there is enough or if you need to give it a particular parameter);
- You have to do "su -" to log in as root before you can do lots of stuff like editing system files.

Old 02-27-2004, 01:17 PM   #4
LQ Newbie
Registered: Feb 2004
Posts: 5

Rep: Reputation: 0
Just discovered (my system - RH9) in "rs.sysinit" script:
if you put "smb" as fs type in fstab it will be treated as local filesystem - will try to mount before network start, and fails.
if you put "smbfs" it will be treated as network filesystem (like NFS) - will mount after network start, and you can remove noauto.


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
problems with smbfs mount-point in /etc/fstab - "mount -a" works, but not at boottime MarkSide Linux - Software 4 11-20-2005 03:30 PM
Update...."Couldn't resolve host." oMr_To Mandriva 8 07-31-2005 10:56 AM
Mandrake 10.0 Network Install "Error: Bad Host Name" tonylmiller Mandriva 3 05-29-2004 06:44 AM
dont understand "local host name " for mandrake 9.2 internet connection oarumple Linux - Newbie 4 11-23-2003 08:02 PM
Disk quotas on "/" mount point? HighLife Linux - Newbie 5 08-10-2003 09:18 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:18 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration