Having just got hold of my copy of Windows 7, I decided to install it on my rather long-in-the-tooth PC. It is a 2.5Ghz P4 with only 1.75GB of memory and a 40GB hard drive… OK stop laughing there at the back… But it works for me as I am mainly an Apple Mac user…
Anyway… I stuck the Windows 7 DVD in the drive and booted and I got this strange error: “Cannot boot from CD – Code 5″
This is quite odd as other DVDs boot fine on this machine including Windows Vista. After a bit of research I discovered that something changed in the boot loader for Windows 7. This error is mainly seen on computers with older motherboards from companies like “AsRock” or “MSI”.
Solution

There are several different solution posted on the Internet including amazing ways to burning a new version of the Windows 7 DVD with the boot loader from a Windows Vista DVD… But I wanted a quick and easy solution and here it is.
In a nutshell what you need to do is boot from a copy of the Ultimate Boot CD and use Smart BootManager to boot the Windows 7 DVD.
Step by step
- Download the Ultimate Boot CD.
- Burn it to a CD (see the tutorials if don’t know how to do this).
- Insert the Ultimate Boot CD in your DVD drive and boot the PC. Of course you need to make sure your BIOS is set to boot from the DVD and not the hard drive.
- In the Ultimate Boot CD, go to Filesystem Tools->Boot Managers->Smart BootManager
- Once the Smart BootManager is loaded, take out the Ultimate Boot CD and put in your Windows 7 DVD.
- Now scroll down to CD0 and hit ENTER.
You PC should now boot from the Windows 7 DVD without any problems.
Many thanks, worked like a charm!
You sir are a genius! My ‘ol reliable desktop is booting up to the Win7 DVD finally. Thank you!!
You are the smartest cookie around, thanks
Worked first time on an old (8 yr) HP Vectra Pentium 1.5ghz 700mb ram!
THank YOU!!!
Nice one mate. Beat all that guff about adding boot sectors to the original image file.
Worked like a charm.
Hi, am looking for some help, when using Smart boot manager, I can’t get the CD to run, I get the error message: Disk error! 0×01. Any ideas?
Found out, you need to do a bios update and then go to integrated peripherals and then turn on sata, on mine it was switched off. That then recognised the hard drive and am installing windows 7 as I write!
hey hi.. this solution is just awesome.. too too gud. i have been facing this problem and i used to follow someother method .. like using the boot of some other cd and makin windows 7 boot. this method is damm cool.. thanks a ton dude..
Very nice, just what I looked for! I got the error Disk Error! 0xAA when trying to select CD0. The fix was to change DVD drive because I had Win7 burnt on a DVD+R and that recorder did only support DVD-R.
Markus´s last blog ..Dual boot med OS X och Ubuntu
Whooot lots of thanx !!!!!
Grtzzzz from belgium
Man.
This works. I have an old ASrock mobo and 1GB ram. I googled for so long and everyone was giving those stupid solutions. Thanks god that I didnt burn my iso file again and waste my time.
This thing works.
Great.
Thanks.
Thanks.
THANK YOU !!!
Thanks!
worked well for me
Thanks
Thanks a million….
booting into Windows 7 now. thanks!
Well ive read some drawn out complicated methods to sort this problem out but this option is the fastest and best option ive seen, works without any problems and you get a gread boot disk. Nice one,,Thanks a lot for your time.
Hey, the idea is awesome but after i go through the steps up until switching cd’s to my win7 dvd and choosing CDO it says “choose a cd image” and has ‘=Lf’. Also got the error Disk Error! 0xAA.
Someone help please =]
thanks
Thanks a lot, but yeah.. im having pretty much the same problem as Ash. I select CD0, then it asks me to select a CD image, =@f or =@f. Anyone know a solution?
MSI K8T Neo FSR + 2gb ram
Thanks a lot
Many thanks for taking the trouble to post this solution…
Worked a treat.
Would still like to know what causes it though! I guess it wouldn’t happen if trying to install on a new empty drive (because this m/c was ok last time, when it was such a drive).
Thanks but i am having a problem here. When Smartboot Manager loads I do not see Cd0. The dvd rom is shown in my bois and it is working otherwise I would not be able to read the CD in the first place. Can anybody help me?
Worked like a dream, after much frustration and wasted time trying other peoples suggestions.
THANKS!!!!!
I figured it out.. It turns out that the DVD ROM that I was using just wasn’t being recognized by the smartboot manager. It was an AOpen DVD ROM. I put in an LG DVD writer and it worked like a charm. Thanks for this method. It is much better than any other method out there. BTW. microsoft should be shot for screwing this one up. It seems that most people who have MSI or AsRock motherboards that are more than 4 years old are running into this problem. I have an AsRock that is 2 years old and Windows 7 installed without a hitch. My wife’s MSI had the Code 5 error problem. A friend of mine had the same problem as well with an MSI board. Thanks again and good luck to all those trying to overcome this glitch.
After I go through all the steps and press Enter to boot from the Win7 DVD I get the following message, “The file is possibly corrupt. The file header checksum does not match the computed checksum.” Any suggestions as to what I should try next? Thanks.
Wow you are a geniousssssssss my old pc is running now windows 7 thanksss alot!!
THANKS MAN, THIS IS AMAZING, STILL HALF WAY THROUGH LOADING THE CD, BUT THIS IS THE SHIT MAN!
THANKS ALOOTT
BEEN SEARCHING FOOR A LONG TIME, MADE SEVERAL CD’S AND THIS IS DEFINATLY THE ONE FOR OLDER COMPUTERS!
Thank you so much. By following your beautifully written, clear concise and easy instructions, I have finally managed to successfully install Windows 7 Home Premium OEM on my new build pc after many hours of futile frustration. You are the business, thanks again!
Thanks man,
I almost gave up installing win7 on my old laptop, but when i googled the “cannot boot from cd code 5″ error I found your post. I already had an old Ultimate boot cd so it was a breeze booting up with your tip
It works!!! I love you man
It works for the first boot, but then Win7 initiates reboots and it fails to load again.
Hi I have got some problems i go through thise steps and boot the win 7 and its starting copy files and when its finish come the little load screen under it Microsoft Corp. and after few minutes its just stop and dont do anything else
well done i’ve been looking for an easy way like this for ages. works perfectly
It doesnt load my DVD drive, and I dont why it appear a floppy drive, because I dont have any floppy installed.
Worked like a charm, thank you so much!
Thanks heaps!
Thank you very much!
Im able to run Win 7 on K7S41GX from Asrock with 500 ram. System is up and running. I got also Cd0 error, but I wasnt really paying attention to it. Just pressed enter few times and setup started to load. Your advice saved me 110€ for new Win7. Thanks!