Salta al contenuto principale

How to permanent mount CIFS share?

Thread needs solution

Hi there!

I'm have usb media with ATI 2018 and i want permanently save credentials and path to cifs share.

I'm edit init file from ramdisk_merged64.dat.initrd

last lines from my file:

asamba dhcp -n

mount -t cifs -o username=USER,password=PASS,iocharset=utf8,file_mode=0666,dir_mode=0777,_netdev,vers=3.0 //192.168.0.130/images/ /mnt/smb

exec /bin/init

asamba dhcp -n  not working there, but it's not a problem.

If after boot GUI, press Ctrl + Shift + F2 open text mode , and mount manualy - cifs mounted normally, 

and from /mnt/smb has access to //192.168.0.130/images/.

But from GUI no access to /mnt/smb.

 

How to permanent mount CIFS share to gui ATI 2018?

Manualy access to smb share //192.168.0.130/images/  from GUI takes a lot of time and provides many problems.

0 Users found this helpful

Matvey, welcome to these User Forums.

I have never used CIFS shares and from what I have read these have been obsolete for many years with SMB and NFS having superceded CIFS.

I would suggest trying the MVP Custom ATIPE builder tool which can be found via the link for the MVP User Tools and Tutorials here in the forum.  The creates WinPE Rescue Media and allows for mapping of network drives by adding the correct command syntax to the Map.cmd file in the MappedDrive folder of the tool.  You will need either the Windows Recovery Environment or to install the Windows 10 ADK kit to provide the WinPE components used by the tool.

Matvey, glad to hear that the suggestion has worked for you, thank you for the feedback.