PDA

View Full Version : Mounting Windows Share



forcefeeld
04-24-2009, 06:58 PM
I've been using the Knoppix 5.1 live CD to boot client machines up so that I can make/restore images using partimage by mounting a windows share directory.

The normal commands i've been using and still works is as follows

sudo su
cd /mnt
mkdir windows
mount -t smbfs -o username=administrator,password=mypass //myserver/images /mnt/windows

Once i started using the Knoppix 6 CD using the same command, i get an error message saying that smbfs is an unknown file type. the error says

mount: unknown filesystem type 'smbfs'

I've read all kinds of posts about using cifs or ntfs-3g and other file system types and I haven't had any luck. I even tried options adding the windows domain but no luck.

Any thoughts on why its different? I like the 3d Desktop Environment on the Knoppix 6 cd and im currently downloading the 5.3 dvd iso hoping its similar, but i'd also like to be using the latest version of Knoppix. BTW is there is Knoppix 6 live dvd loaded with more extras or is that the same as 5.3 dvd?

patelbhavesh
04-25-2009, 03:59 AM
That is because samba is not installed in the CD.
So you will need to do the following

apt-get install samba

I have not tried the above but i think it will work.

there is no 6.0 dvd as yet .

forcefeeld
04-27-2009, 04:14 PM
Still getting the same error message running the mount command.

rusty
04-28-2009, 01:17 AM
Try:


aptitude install smbfs

I also recommend pyneighborhood, which can be downloaded via apt and integrates nicely with PCMan.

HTH

patelbhavesh
04-30-2009, 04:50 AM
Still getting the same error message running the mount command.
I just not installed samba and it is working fine for me


mount -t smbfs //192.168.1.4/c$ /mnt/test -o username=<your username>,password=<your password>

I honestly don't know what might be wrong in your setup as samba is typically a no hassle straightforward install.