I have this new computer (MSI Ge70 2PE Apache Pro) that came with Windows 8 and UEFI. I made a partition to install Debian testing 64bits on the same HD where Windows is. I had no problem making the partition but after that I tried making a bootable usb to install Debian and it didn't work. So I tried with an install dvd and even when I changed the boot order in the bios it didn't work.

After reading some more I realized that there could be a problem trying to boot a normal installation dvd with UEFi so I disabled Secure Boot and then switched the boot mode on my Bios to UEFI with CSM. Again it didn't work and it booted directly into Windows. So I switched the boot mode to Legacy. This time Windows didn't boot directly but I get a "Reboot and Select proper Boot device" message on a black screen. 

No matter what I do I can't get the dvd to boot to install Debian. Any ideas what should I do?

Edit:

This is was an embarrasing layer 8 problem. I was trying to install this iso debian-testing-ia64-DVD-1.iso which has compatibility problems with many motherboards AND is a live CD not a debian installer iso. I downloaded the debian net installer and that solved the issue.