Re: Can't mount CIFS
Greetings,
On Fri, May 1, 2009 at 10:04 AM, Juergen Fiedler
<juergen.fiedler@gmail.com> wrote:
> Hello,
>
> On Fri, May 1, 2009 at 10:00 AM, Richard Nelson <unixabg@gmail.com> wrote:
>> Greetings,
>>
>> On Thu, Apr 30, 2009 at 10:10 PM, Juergen Fiedler
>> <juergen.fiedler@gmail.com> wrote:
>>> Hello,
>>>
>>> This is the first entry in my life.cfg:
>>>> label live
>>>> menu label Live
>>>> kernel debian-live/i386/vmlinuz-2.6.26-2-486
>>>> append initrd=debian-live/i386/initrd.img-2.6.26-2-486 boot=live union=aufs netboot=cifs nfsroot=//192.168.1.1/bootimage/
>>
>> That looks ok.
>>
>> It has been several years since I used the cifs, and I know you are
>> running a windows server, but with samba as the server I used these
>> parameters:
>>
>> map to guest = Bad Password
>> guest account = root
>>
>> [cifs-testing]
>> comment = debian-live server
>> path = /path/to/live
>> read only = yes
>> guest ok = yes
>> locking = no
>>
>> Do the logs on the windows server show any attempts to connect?
>
> No trace of any attempt to connect. I think it may have to do with the
> lack of /sbin/mount.cifs in the initrd.
> Is live-helper normally supposed to put that in the initrd if I
> specify cifs as the root filesystem, or do I have to add that to
> LH_LINUX_PACKAGES or someting?
I asked on irc for you and I am informed that:
smbfs gets installed by lh_chroot_hacks if LH_BINARY_IMAGES=net
Below is an exert from lh_chroot_hacks that confirms that information:
case "${LH_BINARY_IMAGES}" in
net)
if [ ! -f chroot/usr/bin/smbmount ]
then
Apt install smbfs
fi
So it should be in there. Are you able to setup samba and test with it?
>
>
> Thanks,
> ~Juergen
>
Reply to: