I would like to connect an external hard drive to the Raspberry Pi. This hard drive must be powered through USB and comes with a cable that has two ends (to ensure sufficient power). The cable is similar (not identical) to this one:
If I plug both ends into the Raspberry Pi, the hard drive shows symptoms of not getting sufficient power.
Is it safe to plug one end into an USB charger, and the other one (the one carrying data) into the Raspberry Pi? If I do this, do I risk damaging either the hard drive or the Raspberry Pi? Normally both ends would be connected to two different ports of the same computer.