When installing Windows 7, CDBOOT error 5 appears: Cannot boot from CD; why?

This site has a good tutorial on how to burn a bootable DVD that doesn't have this issue:

http://www.unawave.de/windows-7-tipps/code5-error.html?lang=EN

During the boot from the Windows 7 installation DVD on some PCs the error message "Error Code 5 - can not boot from disk" appears. Affected are primarily computer with older motherboards of the company "AsRock" or "MSI". Other DVDs on these PCs can boot without problems; e.g. from a Windows Vista installation DVD. And the Windows 7 installation DVD is also OK, because this DVD can boot on other computers. Also the replacement of the DVD drive does not help. And booting from the USB stick does not help either. The error seems to be an incompatibility of "AsRock" motherboards with the DVD boot sector used by Microsoft in Windows 7 installation DVD.

Here's a way how to create a new bootable DVD with the free burning program ImgBurn which is compatible with the "AsRock" or "MSI" motherboards.

In addition to the burning program, ImgBurn still requires a proper boot sector. If a Windows Vista boot DVD is available, the boot sector can be extracted from this DVD. If no Windows Vista boot DVD is available, the freeware vLite can be used. In the program directory of vLite there is a suitable file "boot.bin", which is also a compatible boot sector.

  1. After starting ImgBurn, choose in the overview "Create image file from files/folders
  2. Insert Windows Vista DVD. On the "Advanced" tab -> "Bootable Disc" -> "Extract Boot Image" select the appropriate DVD drive and then click on the floppy icon.
  3. Give the boot sector file a meaningful name; e.g. "Vista-BootImage.ima"
  4. The next message window will ask whether this file shall be used for the current project
    • this saves filling out the above fields manually
  5. Thus, the fields under "Make Image Bootable" is automatically filled
  6. On the "Options" tab, select "ISO9660 + UDF" and activate the checkbox for "Include Hidden Files" and "Include System Files"
  7. On the "Labels" tab add the "Volume Label" for ISO9660 and UDF
  8. On the "Advanced" tab -> "Restrictions" -> "ISO9660" activate the checkbox "Don't Add ';1' Version Number To Files"
  9. On the "Advanced" tab -> "Restrictions" -> "UDF" nothing needs to be changed
  10. Now insert the Windows 7 installation DVD and choose the DVD as source
  11. Choose "Destination" ISO file name
  12. For creating the ISO file click on the large button
  13. After a short analysis the ISO file is created
  14. After completion of the ISO file select the "Ez-Mode Picker"
  15. As final step choose "Write image file to disc" in the overview window to burn the newly created ISO image file to disc
  16. Select the just created ISO file as source
  17. After inserting a blank DVD the burning process can now be started with the big button

Boot XP and install Windows 7 from there. (Worked for me. Probably would work if Vista was already installed, instead of XP.)


I found a German post (Google Translate see below) that describes how to create a bootable Windows 7 DVD if you encounter "error 5" while trying to boot from the Windows 7 DVD. It appears as if the 4 years old MSI board I was using is the source of the problem as I've replaced the DVD drive with a currrent model, which did not solve the problem.

The post describes how to patch the Windows 7 DVD with the boot image of a Windows Vista DVD. If you're able to boot from a Windows Vista DVD but not from a Windows 7 DVD, the procedure is likely to solve your problem.

Because I'm a new user I am allowed to post only one link. Here's the English translation of the article referenced above.