Go into the BIOS while your computer is starting up and see what your boot sequence is. I’m guessing your boot order is set to check optical drives and flash drives before checking for an HDD or SSD. If you have a CD in or flash drives in it will try to boot from those, fail then keep going down the line till it hits…