Corrupt SD card from power hit

My system would not come up after a power hit. I was able to read all the files off of the SD card onto my PC. I reformatted the SD card and re-installed the latest OMSC version. The system now boots up. Rather than spending a lot of time and effort to re-install preferences and shares, etc. Can I try and copy them from the files on my PC? If so, what files do I need to copy over? Thanks in advance. Tony

You should be able to copy your home directory (/home/osmc/) without issues. That should give you back shares you made in kodi. For other things, it gets more complicated and depends on what you want to restore.

Thanks for the reply. Directory listing is below. Which directories are you referring to?

10/09/2017 03:29 AM 15,656 bcm2708-rpi-0-w.dtb
10/09/2017 03:29 AM 15,452 bcm2708-rpi-b-plus.dtb
10/09/2017 03:29 AM 15,193 bcm2708-rpi-b.dtb
10/09/2017 03:29 AM 14,912 bcm2708-rpi-cm.dtb
10/09/2017 03:29 AM 16,519 bcm2709-rpi-2-b.dtb
10/09/2017 03:29 AM 17,620 bcm2710-rpi-3-b.dtb
10/09/2017 03:29 AM 16,376 bcm2710-rpi-cm3.dtb
10/09/2017 03:29 AM 9,132 bcm2835-rpi-a-plus.dtb
10/09/2017 03:29 AM 9,032 bcm2835-rpi-a.dtb
10/09/2017 03:29 AM 9,417 bcm2835-rpi-b-plus.dtb
10/09/2017 03:29 AM 9,325 bcm2835-rpi-b-rev2.dtb
10/09/2017 03:29 AM 9,184 bcm2835-rpi-b.dtb
10/09/2017 03:29 AM 9,028 bcm2835-rpi-zero.dtb
10/09/2017 03:29 AM 10,299 bcm2836-rpi-2-b.dtb
09/26/2017 01:42 PM 50,248 bootcode.bin
01/01/1980 12:00 AM 63 cmdline.txt
10/09/2017 02:03 AM 128,909 config-4.9.29-10-osmc
07/29/2017 01:24 AM 128,908 config-4.9.29-9-osmc
11/01/2017 10:01 PM 216 config.txt
01/01/2018 04:26 PM 0 dir_listing.txt
01/01/2018 10:37 AM dtb-4.9.29-10-osmc
01/01/2018 10:37 AM dtb-4.9.29-9-osmc
09/26/2017 01:42 PM 9,836 fixup_x.dat
01/01/1980 12:00 AM 2,271 install.log
11/01/2017 09:59 PM 7,758,152 kernel.img
09/26/2017 01:42 PM 1,494 LICENCE.broadcom
01/01/2018 10:37 AM overlays
03/07/2016 01:55 AM 95 preseed.cfg
09/26/2017 01:42 PM 3,954,404 start_x.elf
10/09/2017 02:55 AM 2,157,365 System.map-4.9.29-10-osmc
07/29/2017 02:33 AM 2,157,365 System.map-4.9.29-9-osmc
10/09/2017 02:55 AM 7,758,152 vmlinuz-4.9.29-10-osmc
07/29/2017 02:33 AM 7,758,160 vmlinuz-4.9.29-9-osmc

From a windows pc you can only read the root partition with a third party software like this free one: Access to Ext 2/3/4, HFS and ReiserFS from Windows| DiskInternals

Then you can access your /home/osmc folder

I suspect you have not backed up the root (linux) partition if you just copied those files in windows. If so, you have lost all your stuff. :frowning_face:

1 Like