Posts: 8
Joined: Feb 2014
Reputation:
0
Chaps, I have been stung before by simply pulling out the power cord following a raspbmc freeze. My 1tb hard drive that I had hooked up to a powered subs hub partitioned and it has taken me 1 month to recover some of the data.
So my question is, when this happens again, what can I do that won't partition my hard drive?
Posts: 478
Joined: Feb 2013
Reputation:
15
2014-03-23, 23:53
(This post was last modified: 2014-03-23, 23:56 by DBMandrake.)
Ssh in and run 'sudo reboot'. Usually a freeze will only be an XBMC freeze not the underlying Linux OS. This will do a controlled reboot that won't corrupt any files.
If you can't ssh in or even ping the Pi then pulling the plug is the only choice though.
Kodi 18.3 - Mid 2007 Mac Mini, 4GB, 2TB HD, Windows 7 SP1
Kodi 18.3 - Vero4k, Raspberry Pi 2. OSMC.
Posts: 542
Joined: May 2013
Reputation:
4
Keep current backups of the partition table and partitions
Posts: 29
Joined: Jan 2014
Reputation:
0
Thanks for the 'sudo reboot' suggestion, I was looking for an answer to this too. I've experienced problems when pulling the plug or doing 'shutdown -r now', not being able to boot or getting a kernel panic when booting. Could that be because of a corrupted SD or USB caused by improper shutdown?