Unable to open Pi-Config/Missing config file

Hello!
I am unable to open Pi-Config under the myOSMC program.

Logs: https://paste.osmc.tv/qiqixacase

This is a new install with only a few add-ons added and a mycloud mounted device.

Steps for the install

  1. Downloaded the OSMC_TGT_rbp2_20200204.img.gz image
  2. Downloaded the osmc-installer.exe.
  3. Plugged 32gb SD card into USB reader and ran installed to install image via the installer.
  4. Booted up and connected via SSH; Setup fstab for mycound
  5. Went to go check Pi-Config and would not load. Checked logs and logs say

Exception in thread Thread-18:
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 801, in __bootstrap_inner
self.run()
File “/usr/share/kodi/addons/script.module.osmcsetting.pi/resources/osmc/OSMCSetting.py”, line 206, in run
config = parser.read_config_file(self.config_location)
File “/usr/share/kodi/addons/script.module.osmcsetting.pi/resources/lib/OSMC_REparser.py”, line 1104, in read_config_file
with open(location, “r”) as f:
IOError: [Errno 2] No such file or directory: ‘/boot/config.txt’

  1. SSH’ed back in and checked cd /boot/
  2. Folder does exist but ls -al shows the folder empty.

Hi,

====================== fstab =================== qiE9Dtax
//192.168.0.30:/Public /mnt/Cloud  cifs  _netdev,user=admin,passwd=owlbear,rw,f$/dev/mmcblk0p1  /boot    vfat     defaults,noatime,noauto,x-systemd.automount    0   0
# rootfs is not mounted in fstab as we do it via initramfs. Uncomment for remount (slower boot)
#/dev/mmcblk0p2  /    ext4      defaults,noatime    0   0
//192.168.0.30:/Public /mnt/Cloud cifs user=admin,passwd=owlbear,rw,comment=systemd.automount 0 0 

---------------------- fstab END --------------- qiE9Dtax

Looks like when setting up the fstab entries for /mnt/Cloud, you may have broke the /boot mout. Try reformating /etc/fstab so it looks like this:

/dev/mmcblk0p1  /boot    vfat     defaults,noatime,noauto,x-systemd.automount    0   0
# rootfs is not mounted in fstab as we do it via initramfs. Uncomment for remount (slower boot)
#/dev/mmcblk0p2  /    ext4      defaults,noatime    0   0
//192.168.0.30:/Public /mnt/Cloud cifs user=admin,passwd=owlbear,rw,comment=systemd.automount 0 0 

Essentially if your remove: //192.168.0.30:/Public /mnt/Cloud cifs _netdev,user=admin,passwd=owlbear,rw,f$ from the topline of /etc/fstab and reboot, I believe all should be good again.

Thanks Tom.

Yep; Looks like I pasted it on the wrong line /boot/ does now exist and has the needed files. Thank you!

1 Like