No dice with the script in rc0.d. I've also created a script to create a log of the shutdown process following this tutorial. http://ubuntu.flowconsult.at/linux/ubuntu-14-10-rc-local-rc0-d-debugging-test-scripts/ It doesn't seem to work, somehow the newly created scripts are not run in the shutdown ...
Thanks. This happens before cutting down power, I just ssh the pi to shutdown. Using the hdparm -Y command seems to shutdown the HDD properly. I was wondering if this command can somehow be inserted when executing the shutdown option of the media center.
OK, so running sudo hdparm -Y /dev/sda before shutting down the Pi makes the HDD disk stop spinning and the shutdown goes softly. Is there any way I can add this command to the shutdown option in the media center (OSMC)? /etc/rc.local runs boot scripts but I don't know where to find shutdown scripts.
you could umount the drive in raspbian then just remove the power to the HD that will do the same Thanks. I'm running OSMC, there's an option in the file manager to safely remove the HDD but I end up with the same abrupt halt to HDD spinning when shutting down. I've also tried unmounting in SSH but...
Thanks for your replies. Indeed I've been reading that the shutdown command would allow the HDD to be safely disconnected. However, to my nontechnical mind it sounds wrong! The same HDD being ejected in two different machines should follow similar procedures but it doesn't seem to be the case. If th...
Hello there I've successfully included a 2.5" HDD to the Pi 2 and it seems to be working OK being mounted and read normally. I do have a question regarding the HDD health. Whenever I use the shutdown command I can hear the HDD plates spinning down after the Pi shuts down. However, whenever connect t...
I'm using OSMC Alpha4 on a Pi 2. OSMC uses connection manager instead of the typical interfaces file in /etc/network and IP tables. They key is to edit the connman.conf file in /etc. Opening this file up I’ve changed the following: SinglePreferredTechnology=false PreferredTechnologies=wifi,ethernet ...
I’ve been trying to get my TV to connect to the internet using an ethernet cable. However, everytime I connect the ethernet cable the Wifi shuts down. I’ve seen on other pages that purging ifplugd or including eth0 allow-hotplug would solve those issues. I have allow-hotplug eth0 and purged ifplugd ...