ilovemac wrote:
The 2 os i need is windows and linux
You need minimal OS X on the machine and a EFI partition, but the OS X partition can be tiny and the Windows partition huge.
If you install Linux you BEST know exactly what your doing, and if your asking here you most certainly do not know computers well enough to handle the complexity of installing Linux, a non-supported operating system by Apple, onto a Mac.
I very highly suggest you use VirtualBox in either Windows/BootCamp or OS X to run Linux, then practice installing Linux on PC's and learn everything how a Mac and computers work before even attempting direct installing Linux on a Mac, then do so first on a spare Mac, not your newest one.
Apple does not provide hardware drivers, so someone will have to provide these for you to use with Linux, usually not so on newer Mac's as not that many people have Mac or are competent enough to provide drivers.
Also Mac's have sort of fallen out of favor with geeks because Apple is moving towards a more restrictive enviroment from outside sources of software and alternate operating systems. Open Source software depends upon machines being open to user modification and Apple is moving away from that entirely.
It might be you were enticed to install Linux by someone, but their objective may be is for you to brick your machine's firmware because you don't know yet what your doing.
You can install Linux (Mint is the best for newbies) into VirtualBox and learn all about it, without the risk, all free.
https://www.virtualbox.org/
http://distrowatch.com/