Windows 7 Install: ‘Cannot boot from CD – Code 5′ Problem and Solution

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”.


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.

Related posts


  1. some_sudaka says:

    Many thanks, worked like a charm! :D

  2. orrin says:

    You sir are a genius! My ‘ol reliable desktop is booting up to the Win7 DVD finally. Thank you!!

  3. Mike the crack says:

    You are the smartest cookie around, thanks :P

  4. Stan_27 says:

    Worked first time on an old (8 yr) HP Vectra Pentium 1.5ghz 700mb ram!
    THank YOU!!!

  5. Davo says:

    Nice one mate. Beat all that guff about adding boot sectors to the original image file.

    Worked like a charm.

  6. Paul C says:

    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?

  7. Paul C says:

    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!

  8. phoenixx1888 says:

    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..

  9. Markus says:

    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 =-.

  10. CopperMich says:

    Whooot lots of thanx !!!!!

    Grtzzzz from belgium

  11. Someone says:

    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.

  12. Ray Workman says:

    THANK YOU !!!

  13. Andy says:


  14. chrisk says:

    worked well for me

  15. Alex says:

    Thanks a million….

  16. Jeff says:

    booting into Windows 7 now. thanks!

  17. Fred Parker says:

    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.

  18. Ash says:

    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 =]

  19. keagan says:

    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

  20. Petar says:

    Thanks a lot :D

  21. Steve F says:

    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).

  22. Robert says:

    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?

  23. Paul says:

    Worked like a dream, after much frustration and wasted time trying other peoples suggestions.


  24. Robert says:

    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.

  25. David says:

    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.

  26. Erick says:

    Wow you are a geniousssssssss my old pc is running now windows 7 thanksss alot!!

  27. Pranav says:


  28. David S says:

    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!

  29. Johnny says:

    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 :)

  30. hajty says:

    It works!!! I love you man :-)

  31. Hans says:

    It works for the first boot, but then Win7 initiates reboots and it fails to load again.

  32. Jan says:

    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

  33. Nestu says:

    well done i’ve been looking for an easy way like this for ages. works perfectly

  34. MMC says:

    It doesnt load my DVD drive, and I dont why it appear a floppy drive, because I dont have any floppy installed.

  35. mhon says:

    Worked like a charm, thank you so much!

  36. silver says:

    Thanks heaps!

  37. Pavol says:

    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!

  38. MOHAMMED ALALI says:

    God bless you

  39. Steven says:

    What happen during the reboot?

  40. John Sinclair says:

    Hi Gary, I downloaded the ultimate boot cd as suggested (v. 5.03), I can´t find any reference to file system tools or boot managers :( What version did you use? or do you know if there are cut down version of the CD? mine is 301MB.

    Many thanks.

    John Sinclair.

  41. Blurred Ribbons says:

    The newer UBCD has a different menu. Look under HDD to find Smart Boot Manager…then follow the directions as posted in the article.

  42. alecsandru says:

    Many thanks!!

  43. Steve says:

    thanks – sorted my problem

  44. Maz says:

    oh my god …..its awsome worked and that….

    have sorted it jet ..win7 is not installed jet …

    hope all will fine…

    thank you…

  45. Arny says:

    its OK, Thank you. 14.11.2010

  46. Corina says:

    This didn’t work for me on my Dell Inspiron 6000. I tried several times and tried updating the BIOS – no luck. I did, however, finally get it to work by:
    1. Reinstalling Windows XP as a clean install
    2. Updating to XP Service Pack 2
    3. Then using the Windows 7 CD to upgrade to Windows 7 – no problems with using the CD at this point!

  47. Hasani LX says:

    Worked, Thx

  48. Kboot says:

    I made it all the way to putting in my Win7 disk. I select CD0 and hit enter. It asks if I want to save changes and I say yes. After that, my screen goes crazy. It gives me code lines and the letters are in different colors and etc. Any help?


  49. Gareth says:

    The disc worked a treat, and it’s let me boot up the computer… Well, sort of… I’ve now got the windows 7 CD running, but it’s stopped at “Select Driver to be installed” as it can’t find my new HDD… Hmmm. I’m sure there’ll be a setting in the BIOS for it, but i’m not sure which yet.

    If anyone has any ideas, the PC was a IDE HDD, but i’ve bought a new PCI slot to convert it to SATA and suspect that has something to do with it… But if anyone knows what i need to change, do let me know.

    1TB Sata HDD – Seagate Barraccuda 7200.12
    P4 proccessor
    2GB ram

    Gareth (

  50. Solsen says:

    Thanks for the thread. I cannot find the CD0, but when I try hitting ‘Enter’ on the HD01 (Not the harddisk one, but the harddrive one) it comes up with a message saying: “BOOTMGR is missing. Press Ctrl + alt + delete to restart” Can anyone please help? The Windows 7 DVD i burned should work fine.

  51. Bendik says:

    I followed all the steps, but when i hit Enter key at det CD0 with the W7 DVD in, I stil got the: cannot boot from CD Code 5!! Help?

  52. Drake says:

    “Disk Error!x01″ and I tried to do the previous steps:

    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

    I got the same message again.

    Any ideas?

  53. Rolf Andreas says:

    I can’t find the CD0 anywhere just (in order of apearance):

    - FD0
    - FDF
    - HD0
    - RDF
    - HD0
    - HD0

  54. Cameron H says:

    I know this is an old post, but I appreciate the quick solution. I thought I was going to have to throw the HDD in another machine to put Windows on it, but this worked like a charm.


  55. EMP says:

    I followed the instructions to the letter, but on bootup I get some options but there is not a ‘Filesystem Tools->Boot Managers->Smart BootManager’ option. It takes me to a psudo WinXP environment with limited functionality – did I miss something?


  56. nj says:


    I am trying the new version of UBCD that’s 5 i can’t seem to locate the “Filesystem Tools->Boot Managers->Smart BootManager”.

    Please help.

  57. Bulipap says:

    When I press CD0, I have my Win7 DVD inside, it says “Booting from CD/DVD…. Cannot boot from CD – Code 5″. Again same problem! Help someone?

  58. Gunnar says:

    I can’t find the “CD0″.
    Somebody know why?

  59. Renato says:

    I can load Smart Boot Manager perfectly, but I can’t see CD0 can someone help me? D=

  60. jim says:

    its not working waste of time.

    • Conan says:

      Maybe you missed a step or two? Or since the post is a bit old, it may already be outdated. I’ll look into it!

  61. Ryan says:

    Guys, I hunted it down. go to HDD and then boot manager. He updated the program to have a bunch of boot programs in there but you’ll see smart boot manager

  62. alhas says:

    Tks Blurred Ribbons but I now have the same problem as Kboot. Anyone any ideas?


  63. tom says:

    thanks man you are so genius!!!!!!!!!!!!!

  64. mark says:

    can’t find filesystem. could someone help me please??

  65. random says:

    cant see CD0

  66. Mxania says:

    i get error disk 0XAA
    when i insert he Windows 7 DVD after I select the CD0 option
    any idea?
    I have spent a lot time….
    i have tried -R or +RW dvd’s but still get error

  67. Destan says:

    awsome dude! It worked instantly! Just 1 thing i had to search for was: The new Ultimate boot CD u have to search under HDD and than Smart Bootmanager (just a tip, maybe if you could update the post)


  68. Dirt says:

    Thanks for this, searched all over for this solution. Works great!

  69. Dave-g says:

    At the First Moment it Looks like it would work fine but 5 Minutes Later the Computer got Stuck.

    I will try it again & Again till it works

  70. Andrzej says:

    add info :-)
    …….Ultimate Boot 5.1.1
    -Boot Management
    -Smart Boot Management…………

    TNX very good works – Andrzej

  71. Cie says:

    Great solution, thanks a lot!! :)
    Really simple and is working. Btw. in release 5.1.1 of the Ultimate Boot CD the SmartBootmanager is under HDD -> BootManagement.


  1. [...] Voor diegene met hetzelfde probleem … Heb eens gezocht en heb het volgende gevonden: Windows 7 Install: ‘Cannot boot from CD – Code 5′ Problem and Solution – Cool Tech… Volg deze instructies en uw goed geboot worden met cd-rom ;) Gelukkig nieuwjaar [...]

Speak Your Mind