Back in the 80's few machines had hard drives, and often only one floppy. So if you put your disk in the drive and fired up the machine then bang, you were infected.
Also, lots of machines with hard drives were configured to boot from floppy by default. Few floppies had working boot sectors, so most people never noticed. Until they put an infected disk into A:, turned on the computer and saw chaos ensue.