FAQ: Classification of viruses by type of file infected: boot sector virus

Floppy disks and hard disks store a small program known as the boot record which is run when the computer starts up. Boot sector viruses attach themselves to this program and execute when the computer tries to start up from the infected disk. Once a computer has been infected, any unprotected floppy disk put into the computer will also be infected.