pxe 安装期间不支持 Mount.cifs,但重启后可以工作。为什么?

pxe 安装期间不支持 Mount.cifs,但重启后可以工作。为什么?

我在 pxe 无人值守安装时无法添加 AD。问题出在 mount.cifs 上,这个脚本在 pxe 启动安装时会给出以下错误,但在重启后 2 分钟内就可以正常工作。

有人知道这里发生了什么事吗?

谢谢。

#################
expect: /usr/bin/expect /usr/share/man/man1/expect.1.gz
########################
Reading package lists...
Building dependency tree...
Reading state information...
smbclient is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mount: /bin/mount /sbin/mount.ntfs-3g /sbin/mount.fuse /sbin/mount.cifs /sbin/mount.lowntfs-3g /sbin/mount.smbfs /sbin/mount.ntfs-fuse /sbin/mount.ntfs /usr/share/man/man8/mount.8.gz /usr/share/man/man2/mount.2.gz
/bin/mount
/sbin/mount.cifs
###################
spawn **mount.cifs //xx.xx.xx.xx/software /home/sysop/fs -o username=sccmdeploy
Password: 
mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)**
(END) 

谢谢

答案1

尝试看看是否有效。

modprobe cifs

听起来好像安装时模块没有被加载?

事实上,给我一个之前的输出

lsmod | grep cif 

之后

lsmod | grep cif

笔记:Cif 可能是该模块的错误词语。:P

相关内容