windows 7 Medion Akoya E6234

I have the Medion Aloya E6234  fór reinstallation on another disc drive.

problem: the pc will not boot from cd.

solution:  in bios disable “secure boot” and enable “cms”

new problem:   now the pc boots from the cd but it gives me the old “error code 5

solution: install the pc with win vista first then upgrade to win 7 from there.