i have a laptop and the cd drive does't work, can i install a new operating system?

King IV

Honorable
Oct 10, 2013
1
0
10,510
ok so i have a laptop that my girlfriend just completely wiped and also my cd drive doesn't work, is there a way i can install an operating system on a hard drive and just plug that into my laptop?