How to beat Cannot boot from CD - Code 5 when installing Windows 7
On some computers, when installing Windows 7, namely at the stage of booting from dvd, the message “Cannot boot from CD - Code 5” appears. Digging in nete suggested several solutions.
The first is to rebuild the image (which works on other computers with a bang) or using Linux.
The first is to rebuild the image with the substitution of the install.wim file.
The first is to rebuild the image (which works on other computers with a bang) or using Linux.
The first is to rebuild the image with the substitution of the install.wim file.
- Take
(download) adisk (image) with Vista SP1 / 2008 - Create 3 folders c: \ efi-iso c: \ efi-exe c: \ efi-dvd
- Download blog.aproductofsociety.org/files/oscdimg.exe in c: \ efi-exe
- Copy the
contents of the diskto the “boot” folder and the files autorun.inf, bootmgr and setup.exe from the root of the Vista SP1 / 2008 disk (image) (or unzip the image using 7Zip or WinRAR) to c: \ efi-dvd We find the largest file “install.wim” in the “Sources” folder and replace it with the file from the Windows 7 installation disk (image)- From the disk (image) of Windows 7, copy all other folders
- Launch the console (Start -> Run -> cmd)
- Enter in the console: cd c: \ efi-exe
- And then: oscdimg -n -m -bc: \ efi-dvd \ boot \ etfsboot.com c: \ efi-dvd c: \ efi-iso \ win7.iso "
- We write the resulting orbases at the lowest possible speed
PS Taken from here social.technet.microsoft.com/Forums/en-US/w7itprohardware/thread/0729c411-84be-45b4-8725-67fe49bac4a3 The
second - using Linux- Download the “Standard” version of Gujin from sourceforge (latest 2.4) sourceforge.net/projects/gujin/files/standard/2.7/standard-2.7.tar.gz/download
- Unpack the downloaded archive
- We are looking for the file “full.img.gz” in the unpacked folder, we also unpack it.
- As a result, we will have a file “floppy.144” - an image of a floppy disk.
- Download “Floppy Image Writer”, for example RawWrite (or WinImage www.winimage.com/download.htm ).
- We write our image "floppy.144" to a floppy disk.
- We "shove" the Windows 7 drive into the drive.
- We load from the floppy and answer all sorts of questions (if any).
- When the GUI appears, select the boot device, press the corresponding “F” boot device
- We see the familiar "Press any key to boot from CD or DVD."
- Next, start the usual installation.