Hi Fourdee,
I’m on a Rpi 2 Model B. I use Samsung’s SD, 64 Gb. My setup is headless, no X nor VNC. Dropbear, Subsonic plus a webserver stack with Lighttpd/MariaDB/Php. I also used to have smbd and nmbd running, but it seems no daemons are running anymore as they couldn’t be launched. I’m lucky that Dropbear is on at least!
root@jpi:~# dietpi-services
-bash: /DietPi/dietpi/dietpi-services: No such file or directory
root@jpi:~# /boot/dietpi/dietpi-services
sed: can't read /DietPi/dietpi/.hw_model: No such file or directory
/boot/dietpi/dietpi-services: line 144: /DietPi/dietpi/func/dietpi-notify: No such file or directory
DietPi-Services
Available commands: start / stop / restart / enable / disable
I’m not sure about the last command run before /DietPi disappeared, but it could have been after a restart upon update to the latest release. Now I can’t even run dietpi-update as the script seems to have been located in the missing folder. Here are my answers.
root@jpi:/boot# systemctl status dietpi-ramdisk -l
● dietpi-ramdisk.service - DietPi-RAMdisk
Loaded: loaded (/etc/systemd/system/dietpi-ramdisk.service; enabled)
Active: active (exited) since Tue 2017-01-17 11:03:02 CET; 1 day 21h ago
Jan 17 11:03:01 jpi systemd[1]: Starting DietPi-RAMdisk...
Jan 17 11:03:01 jpi bash[410]: DietPi-Ramdisk: Starting
Jan 17 11:03:01 jpi bash[410]: cp: cannot stat ‘/boot/boot.ini’: No such file or directory
Jan 17 11:03:01 jpi bash[410]: sed: can't read /DietPi/boot.ini: No such file or directory
Jan 17 11:03:01 jpi bash[410]: cp: cannot stat ‘/boot/uEnv.txt’: No such file or directory
Jan 17 11:03:01 jpi bash[410]: sed: can't read /DietPi/uEnv.txt: No such file or directory
Jan 17 11:03:02 jpi bash[410]: DietPi-Ramdisk: Completed
Jan 17 11:03:02 jpi systemd[1]: Started DietPi-RAMdisk.
I’ve removed commented lines from fstab:
root@jpi:/boot# cat /etc/fstab
#Internal Drives---------------------------------------------------
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot auto defaults,noatime,discard 0 2
/dev/mmcblk0p2 / auto defaults,noatime,discard 0 1
tmpfs /tmp tmpfs defaults,noatime,nodev,nosuid,mode=1777 0 0
tmpfs /var/log tmpfs defaults,size=20m,noatime,nodev,nosuid,mode=1777 0 0
tmpfs /DietPi tmpfs defaults,size=10m,noatime,nodev,nosuid,mode=1777 0 0
#External Drives---------------------------------------------------
#NB: Please use dietpi-drive_manager to setup and control your external drives.
/dev/sda1 /mnt/usb_1 auto defaults,noatime,nofail,x-systemd.automount 0 0
/dev/sda2 /mnt/NAS auto defaults,noatime,nofail,x-systemd.automount 0 0
Permissions:
root@jpi:~# ls -lha /DietPi
total 4.0K
drwxrwxrwt 2 root root 40 Jan 17 13:01 .
drwxr-xr-x 20 root root 4.0K Nov 1 17:50 ..
Any ideas how to reach dietpi-software, dietpi-services (and others)? I’d like to get daemons up again, and I have another issue with MariaDB and would like to reinstall it.
Should I symlink /DietPi to /boot/dietpi? Or should I just use apt-get? (A bit worried this will break “integration” with DietPi packages I have installed such as PhpMyAdmin and Wordpress.)