Welcome to Linux Questions
I tried to partition it with osx snow leopard and was having troubles getting it to work so I flashed my bios and now I have a code purple error
Er... isn't OSX Snow Leopard for Macs which use a totally different file system to PCs; HFS rather than NTFS? And then you flashed your BIOS?????
Why did you repartition it with OSX, what were you trying to achieve?
Have you tried booting with an Ubuntu Live CD yet? CAN you boot with an Ubuntu Live CD? If you can you should be able to re-partition the drive.
Are you trying to install Ubuntu or are you trying to breath life back into your Vista install?
Enough questions! Give us some answers so we can help.