How do I mount a smb share with a live cd?

Asked by feedfish

Hello,
I try for a few days to mount my LaCie disk storage (a samba share) when using a live cd. My goal is to use partimage on my root partition, in order to do that I have to use a live cd.
When The live is boot I don't success mounting my smb share.
I try:
mount -t cifs //hipserv/masauvegarde /media/samba
mount -t smbfs //hipserv/masauvegarde /media/samba
mount -t [smbfs|cifs] -o username=guillaume,password=xxx //hipserv/masauvegarde /media/samba

So after trying a lot of unworking command I am a little worried.
Can you help dear community?
Guillaume

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
feedfish
Solved:
Last query:
Last reply:
Revision history for this message
Dr Paul Brewer (drpaulbrewer) said :
#1

Is everything installed?

Try this from the Live CD:
sudo apt-get install smbfs smbclient

If it installs stuff, then you may have been missing something you needed...

If that was the problem, then, obviously, you'll have to do this every time or create a customized CD...

Revision history for this message
Corey Gallon (captivus) said :
#2

The syntax you're using is for a remote share. If the drive containing the partition is physically located on the system you are booting the live CD from, you need to use syntax like this:

sudo mount -t ntfs /mnt/windows /dev/hda1

Obviously you should change the details on the device and mount point to fit your specific configuraiton.

Revision history for this message
feedfish (anonymous4478) said :
#3

Sorry for the convenience but my problem was resolved by itself.
I use cifs and the ip of the share and it works!