OSMC not detecting harddisk at startup. Works when unplugging&replugging harddisk

Hi!
I have downloaded OSMC on my Raspberry Pi (2011.12), and I am planning on installing an IR sensor to remote control it with my existing TV remote!

When I plug in my harddisk (1TB WD MyPassport) it works without fault. I’ve already watched a movie on OSMC. However, when I boot/reboot the system, the harddisk is not found. When using the “fdisk -l” command, I can only see the SD card partitions ammounting to about 16GB.

It is easily fixed by unplugging and replugging the harddisk in the raspberry pi, but I like to tuck things out of the way. Therefore, digging it out from my TV bench and manually plugging and unplugging the harddisk was not part of my plan :stuck_out_tongue:

The harddisk is directly powered by the Pi via USB, and the only other thing plugged in is a keyboard. It seems to me that OSMC won’t mount something if it isn’t ready for it when plugged in… Do you guys know what could be wrong?

full set of logs: http://paste.osmc.io/itucadaxan

To get a better understanding of the problem you are experiencing we need more information from you. Please see How to submit a useful support request - General - OSMC for advice on how to help us.

Add max_usb_current=1 to config.txt.
Ensure that your power supply is good enough to power the Pi and Harddisk

Might try adding rootdelay=10 to /boot/cmdline.txt. Gives 10 sec for disk to spin up. Works for me.

For some reason if works fine today, but after a few minutes of playing video from the harddisk, it freezes… maybe the raspberry pi doesnt have a stable power source. Im going to try to get a USB hub with external power supply to fix it

Not all hard drives can be powered from a Raspberry Pi even with max_usb_current=1. If you are still having problems this is probably the case. It’s always better to power an external drive with its own power adaptor if possible as the Pi is not really designed for powering high power devices.