Hello,
Try replacing the USB cable. A faulty cable might be the cause of this issue.
If your computer wont boot while the external drive is plugged in then i recommend you take a look at this links:
Problems booting a PC with an external USB drive connected
Computer hangs or fails to boot when a USB drive is attached