Virus in Dual boot pc

Pc is installed with dual booting operating systems. suppose there is a virus in one Operating system, how can i delete that operating system and boot from other operating system without virus infect to second operating system?
