Can I make a ubuntu partition and reformat windows later without touching ubuntu?

My vista has gone completely batshit. Unfortunately, I don’t have a vista disc to reformat with so can i run on a ubuntu partition, reformat windows later and keep my ubuntu intact (i already wanted ubuntu before this happened)?