Go to advanced search

by h_ramus
Thu Mar 05, 2015 5:26 pm
Forum: Beginners
Topic: Pi 2 HDD eject before shutdown?
Replies: 18
Views: 5460

Re: Pi 2 HDD eject before shutdown?

Thanks @asandford. I edited the K01bluetooth file to include the command but still no joy.

I think I'll wait for the release of the stable version of OSMC as it may work then.
by h_ramus
Wed Mar 04, 2015 7:15 pm
Forum: Beginners
Topic: Pi 2 HDD eject before shutdown?
Replies: 18
Views: 5460

Re: Pi 2 HDD eject before shutdown?

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 ...
by h_ramus
Wed Mar 04, 2015 9:10 am
Forum: Beginners
Topic: Pi 2 HDD eject before shutdown?
Replies: 18
Views: 5460

Re: Pi 2 HDD eject before shutdown?

Thanks @asandford. I'll have a look at it.
by h_ramus
Tue Mar 03, 2015 9:45 pm
Forum: Beginners
Topic: Pi 2 HDD eject before shutdown?
Replies: 18
Views: 5460

Re: Pi 2 HDD eject before 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.
by h_ramus
Tue Mar 03, 2015 8:17 pm
Forum: Beginners
Topic: Pi 2 HDD eject before shutdown?
Replies: 18
Views: 5460

Re: Pi 2 HDD eject before shutdown?

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.
by h_ramus
Tue Mar 03, 2015 12:22 pm
Forum: Beginners
Topic: Pi 2 HDD eject before shutdown?
Replies: 18
Views: 5460

Re: Pi 2 HDD eject before shutdown?

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...
by h_ramus
Tue Mar 03, 2015 12:00 pm
Forum: Beginners
Topic: Pi 2 HDD eject before shutdown?
Replies: 18
Views: 5460

Re: Pi 2 HDD eject before shutdown?

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...
by h_ramus
Tue Mar 03, 2015 11:41 am
Forum: Beginners
Topic: Pi 2 HDD eject before shutdown?
Replies: 18
Views: 5460

Pi 2 HDD eject before shutdown?

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...
by h_ramus
Mon Feb 23, 2015 3:00 pm
Forum: General discussion
Topic: My Wifi is gone after plug in ethernet cable.
Replies: 18
Views: 16782

Re: My Wifi is gone after plug in ethernet cable.

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 ...
by h_ramus
Tue Feb 17, 2015 7:18 pm
Forum: General discussion
Topic: My Wifi is gone after plug in ethernet cable.
Replies: 18
Views: 16782

Re: My Wifi is gone after plug in ethernet cable.

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 ...

Go to advanced search