osmc@osmc4K:~$ sudo mkdir /mnt/Movies7
osmc@osmc4K:~$ sudo mount /mnt/Movies7
osmc@osmc4K:~$
ls -lah /mnt/Movies7
osmc@osmc4K:~$ sudo mount -a
osmc@osmc4K:~$ sudo nano /etc/fstab
osmc@osmc4K:~$ sudo mount /mnt/Movies7
Couldn’t chdir to /mnt/Movies7: No such file or directory
osmc@osmc4K:~$ mount /mnt/Movies7
mount: /mnt/Movies7: No such file or directory
osmc@osmc4K:~$ sudo apt-get install smbclient
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
armv7-libass-osmc armv7-libnfs-osmc dh-python gnupg-agent libbind9-140
libcdio13 libcryptsetup4 libdevmapper-event1.02.1 libdns162 libenca0
libevent-2.0-5 libhdhomerun3 libicu57 libisc160 libisccc140 libisccfg140
libiso9660-8 liblvm2app2.2 liblwres141 libncurses5 libntfs-3g871 libprocps6
libpython3.5-minimal libpython3.5-stdlib libssl1.0.2 libunistring0
libwebpmux2 python-imaging python3-distutils python3-lib2to3 python3.5
python3.5-minimal
Use ‘sudo apt autoremove’ to remove them.
The following additional packages will be installed:
libarchive13
Suggested packages:
lrzip heimdal-clients
The following NEW packages will be installed:
libarchive13 smbclient
0 upgraded, 2 newly installed, 0 to remove and 42 not upgraded.
Need to get 704 kB of archives.
After this operation, 1900 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org buster/updates/main armhf smbclient armhf 2:4.9.5+dfsg-5+deb10u1 [428 kB]
Get:2 Index of /debian buster/main armhf libarchive13 armhf 3.3.3-4+deb10u1 [277 kB]
Fetched 704 kB in 0s (3598 kB/s)
Selecting previously unselected package libarchive13:armhf.
(Reading database … 32012 files and directories currently installed.)
Preparing to unpack …/libarchive13_3.3.3-4+deb10u1_armhf.deb …
Unpacking libarchive13:armhf (3.3.3-4+deb10u1) …
Selecting previously unselected package smbclient.
Preparing to unpack …/smbclient_2%3a4.9.5+dfsg-5+deb10u1_armhf.deb …
Unpacking smbclient (2:4.9.5+dfsg-5+deb10u1) …
Setting up libarchive13:armhf (3.3.3-4+deb10u1) …
Setting up smbclient (2:4.9.5+dfsg-5+deb10u1) …
Processing triggers for libc-bin (2.28-10) …
osmc@osmc4K:~$ smbclient -L 192.168.1.77 -U Dan
mkdir failed on directory /var/lib/samba/private/msg.sock: Permission denied
Unable to initialize messaging context
Enter WORKGROUP\Dan’s password:
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Remote Admin
Brother HL-1110 series Printer HL-1110 series
C$ Disk Default share
IPC$ IPC Remote IPC
Movies Disk
print$ Disk Printer Drivers
TV Shows Disk
Users Disk
Reconnecting with SMB1 for workgroup listing.
do_connect: Connection to 192.168.1.77 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
Failed to connect with SMB1 – no workgroup available
osmc@osmc4K:~$ paste-log /etc/fstab
https://paste.osmc.tv/qatubowepa
osmc@osmc4K:~$ https://paste.osmc.tv/qatubowepa
-bash: https://paste.osmc.tv/qatubowepa: No such file or directory
osmc@osmc4K:~$ mkdir /mnt/Movies7
mkdir: cannot create directory ‘/mnt/Movies7’: Permission denied
osmc@osmc4K:~$ mount /mnt/Movies7
mount: /mnt/Movies7: No such file or directory
osmc@osmc4K:~$ osmc@osmc4K:~$ mkdir /mnt/Movies7
-bash: osmc@osmc4K:~$: command not found
osmc@osmc4K:~$ mkdir: cannot create directory ‘/mnt/Movies7’: Permission denied
-bash: mkdir:: command not found
osmc@osmc4K:~$ osmc@osmc4K:~$ mount /mnt/Movies7
-bash: osmc@osmc4K:~$: command not found
osmc@osmc4K:~$ mount: /mnt/Movies7: No such file or directory
-bash: mount:: command not found
osmc@osmc4K:~$ osmc@osmc4K:~$
-bash: osmc@osmc4K:~$: command not found
osmc@osmc4K:~$ sudo mkdir /mnt/Movies7
osmc@osmc4K:~$ sudo mount /mnt/Movies7
osmc@osmc4K:~$ ls -lah /mnt/Movies7
total 80K
drwxrwx— 2 osmc osmc 8.0K Apr 18 22:26 .
drwxr-xr-x 4 root root 4.0K Apr 22 20:56 …
drwxrwx— 2 osmc osmc 0 Apr 18 21:41 Argo
drwxrwx— 2 osmc osmc 0 Apr 18 21:41 ‘Bill and Ted Face the Music.2020.1080p.WEB-DL.H264.AC3-EVO’
drwxrwx— 2 osmc osmc 0 Apr 18 21:43 ‘Blade Runner 2049’
drwxrwx— 2 osmc osmc 0 Apr 18 21:45 ‘Blood Father 2016 720p HDRIP AC3 X264 MutzNutz’
drwxrwx— 2 osmc osmc 0 Apr 18 21:46 Grave.of.the.Fireflies.1988
drwxrwx— 2 osmc osmc 0 Apr 18 21:50 Hamilton.2020.1080p.WEB-DL.H264.DDP5.1-EVO
drwxrwx— 2 osmc osmc 0 Apr 18 21:51 Jurassic.World.2015
drwxrwx— 2 osmc osmc 0 Apr 18 21:51 ‘Machete[2010]DvDrip-aXXo’
drwxrwx— 2 osmc osmc 0 Apr 18 21:54 ‘Men in Black International.2019.1080p.WEB-DL.H264.AC3-EVO’
drwxrwx— 2 osmc osmc 0 Apr 18 22:04 Parasite.2019.1080p.HC.BluRay.X264-EVO
drwxrwx— 2 osmc osmc 0 Apr 18 22:04 Samsara
drwxrwx— 2 osmc osmc 0 Apr 18 22:06 ‘Star Wars-The Last Jedi 2017 10bit multi hevc-d3g’
drwxrwx— 2 osmc osmc 0 Apr 18 22:13 Star.Wars.Episode.VII.The.Force.Awakens.2015.1080p.BRRIP.HEVC.x265.AC3-VALiANT
drwxrwx— 2 osmc osmc 0 Apr 18 22:14 Terminator.Genisys
drwxrwx— 2 osmc osmc 0 Apr 18 22:15 ‘The Revenant’
drwxrwx— 2 osmc osmc 0 Apr 18 22:25 The.Girl.on.the.Train.2016.1080p.BluRay.DTS-HD.MA7.1.x264-iFT
-rwxrwx— 1 osmc osmc 65K Apr 3 2016 Thumbs.db
drwxrwx— 2 osmc osmc 0 Apr 18 22:26 War.Dogs
drwxrwx— 2 osmc osmc 0 Apr 18 22:30 Zombieland.Double.Tap.2019.1080p.HDRip.HC.AC3.x264-CMRG
osmc@osmc4K:~$
Ok, so it’s working. Try reboot
and see if ls -lah /mnt/Movies7
still shows your files.
osmc@osmc4K:~$ ls -lah /mnt/Movies7
total 80K
drwxrwx— 2 osmc osmc 8.0K Apr 18 22:26 .
drwxr-xr-x 4 root root 4.0K Apr 22 20:56 …
drwxrwx— 2 osmc osmc 0 Apr 18 21:41 Argo
drwxrwx— 2 osmc osmc 0 Apr 18 21:41 ‘Bill and Ted Face the Music.2020.1080p.WEB-DL.H264.AC3-EVO’
drwxrwx— 2 osmc osmc 0 Apr 18 21:43 ‘Blade Runner 2049’
drwxrwx— 2 osmc osmc 0 Apr 18 21:45 ‘Blood Father 2016 720p HDRIP AC3 X264 MutzNutz’
drwxrwx— 2 osmc osmc 0 Apr 18 21:46 Grave.of.the.Fireflies.1988
drwxrwx— 2 osmc osmc 0 Apr 18 21:50 Hamilton.2020.1080p.WEB-DL.H264.DDP5.1-EVO
drwxrwx— 2 osmc osmc 0 Apr 18 21:51 Jurassic.World.2015
drwxrwx— 2 osmc osmc 0 Apr 18 21:51 ‘Machete[2010]DvDrip-aXXo’
drwxrwx— 2 osmc osmc 0 Apr 18 21:54 ‘Men in Black International.2019.1080p.WEB-DL.H264.AC3-EVO’
drwxrwx— 2 osmc osmc 0 Apr 18 22:04 Parasite.2019.1080p.HC.BluRay.X264-EVO
drwxrwx— 2 osmc osmc 0 Apr 18 22:04 Samsara
drwxrwx— 2 osmc osmc 0 Apr 18 22:06 ‘Star Wars-The Last Jedi 2017 10bit multi hevc-d3g’
drwxrwx— 2 osmc osmc 0 Apr 18 22:13 Star.Wars.Episode.VII.The.Force.Awakens.2015.1080p.BRRIP.HEVC.x265.AC3-VALiANT
drwxrwx— 2 osmc osmc 0 Apr 18 22:14 Terminator.Genisys
drwxrwx— 2 osmc osmc 0 Apr 18 22:15 ‘The Revenant’
drwxrwx— 2 osmc osmc 0 Apr 18 22:25 The.Girl.on.the.Train.2016.1080p.BluRay.DTS-HD.MA7.1.x264-iFT
-rwxrwx— 1 osmc osmc 65K Apr 3 2016 Thumbs.db
drwxrwx— 2 osmc osmc 0 Apr 18 22:26 War.Dogs
drwxrwx— 2 osmc osmc 0 Apr 18 22:30 Zombieland.Double.Tap.2019.1080p.HDRip.HC.AC3.x264-CMRG
osmc@osmc4K:~$
Good stuff. Thanks so much!
I was able to load the source on the 4K
Will I just be able to edit the fstab to add other folders?
Well yes you can add additional into fstab but you add shares not folders.
looking good so far… Success!
Thanks for your help fzinken
Hi, I was hoping for help again?
I still have the same osmc4k. I have a W11 PC, shared the folder, set a static IP, edited the fstab file with the new ip address
Local account same log in credentials
osmc@osmc4K:~$ sudo nano /etc/fstab
https://paste.osmc.tv/naxavimucu
osmc@osmc4K:~$ sudo mount -a
osmc@osmc4K:~$ sudo systemctl daemon-reload
sudo systemctl restart remote-fs.targetosmc@osmc4K:~$ sudo systemctl restart remote-fs.target
osmc@osmc4K:~$
osmc@osmc4K:~$ sudo systemctl daemon-reload
osmc@osmc4K:~$ sudo systemctl restart remote-fs.target
osmc@osmc4K:~$ cd/mnt/Movies9
-bash: cd/mnt/Movies9: No such file or directory
osmc@osmc4K:~$
There must be a space between the program your running (cd) and its parameters which in this case is a folder location.
That was the key to eventually figuring it out thanks