Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Boot error code: 5

08 Jan 2011   #51

Windows 7 Ultimate x64

Quote   Quote: Originally Posted by Nick1001 View Post
Some old motherboards chipsets cannot boot from the Windows 7 Installation CD

The easiest way is to boot from a Windows Vista System Repair Disk, go to fix computer option , got to command line, then insert Win 7 install disk, enter D:, enter cd sources, enter setup

I also had to update my motherboard bios first (ASRock) to be able to even boot from the vista disk. If your vista does not boot, check your bios (enter with F2 or Del right after booting and check the Bios version or see motherboard manufacturer website how to check this) download the newest version and burn to a CD. If it's not bootable by itself you need to create a DOS boot disk, boot from that and then use it - I used the Ultimate Boot CD - Overview and booted the Netware DOS, the entered T: or whatever letter your CD drive has been assigned and updated the downloaded bios from another CD (Burn as simple ISO), then the vista boot disk worked

Have fun

Quote   Quote: Originally Posted by refacho View Post
Hello friends i'm new in this forum. I downloaded the last version of Windows 7 in microsoft page, burned a dvd and when tryed install using boot and appears this message: Cannot boot from CD - Code error: 5

Need help,

Thx anyway.
I just registered so I can thank you for this awesome info... It really helped after 12
hours on trying to install windows 7 on an old pc of mine with MSI motherboard. Thank you Nick1001 ^_^

My System SpecsSystem Spec
26 Jun 2011   #52

windows 7

To AlfaMikeDelta:

I cannot find the file "full.img.gz" to make a bootable disk, what am I doing wrong?

My System SpecsSystem Spec
26 Jun 2011   #53

Microsoft Community Contributor Award Recipient


What bootable disk are making?
My System SpecsSystem Spec

13 Oct 2011   #54

ms windows 7 ultimate 32bit sp1

I have a laptop that previously had windows vista on it, but now has linux mint completely on it, no dual boot just linux. I tried putting windows 7 on there, but it came up with the boot error code 5. Will the solutions on this thread still work even though it has linux on it?
My System SpecsSystem Spec
13 Oct 2011   #55
Microsoft MVP


Wipe the HD first to be sure all Linux code is overwritten and cannot interfere: SSD - HDD Optimize for Windows Reinstallation
My System SpecsSystem Spec
13 Oct 2011   #56

Microsoft Community Contributor Award Recipient


All Linux code must be deleted using the CLEAN ALL command.As you have had linux on the HD you need do a Clean all & full format.

Make sure you use the CLEAN ALL command, in the above tutorial in gregrocker,s post.
My System SpecsSystem Spec
17 Feb 2012   #57
Caio Zink

Win 7
Cannot find full.img.gz

Downloaded 2.4 Gujin, extracted with 7zip....but...full.img.gz is nowere to be found ??!! help, please !

Quote   Quote: Originally Posted by AlfaMikeDelta View Post
Hi everyone again!

I've managed to install Windows 7 using a boot manager floppy (you can use other media but you will need knowlege on how to make CD's or USB's booteable from a floppy image).

This method uses a linux boot manager called Gujin to "emulate" BIOS functions for booting media (any media).

Here are the steps I followed to build it:

- Download "Standard" version of Gujin from sourceforge (the latest is 2.4)
- Use your favourite decompressing software to unGzip/unTar (I recommend 7-zip, it's free)
- Inside the uncompressed folder, you will find a file named "full.img.gz", unGzip this file too.
- Now you will have a file named "floppy.144", this is the floppy image.
- Download a "Floppy Image Writer", for exmple RawWrite (or WinImage).
- Grab a floppy and write the file "floppy.144" to it.
- Put the Windows 7 Beta DVD in the drive.
- Boot your PC with the floppy, it will show a screen searching for boot records in your computer, follow the instructions about the video resolution.
- Once you are inside the GUI, there will be a list of supported booteable media, press the "F" key corresponding to the one that reads "no emul" or "no emulation" (it should be your DVD)
- Pay attention to the message "Press any key to boot from CD or DVD", so do it!
- Yeah! Windows 7 installer is running!

Hope this helps you a bit with the beta testing...


PS: For instructions on how to make a booteable CD in Nero with a floppy image, read this. For Gujin documentation, troubleshooting and screenshots read this.
My System SpecsSystem Spec
06 Feb 2013   #58

Win 7 32bit Home Premium

Okay, I've read through the entire forum on the "code 5 error" message and none of it applies to my situation. I originally installed Win7 Home premium from my purchased DVD and now I get the message when trying to do a repair install. I can boot Linux live DVDs from this drive so the drive is not the problem. Last fall I missed quickly not stopping some kind of malicious software download in a drive-by and it has corrupted my system. Things still work but there are anomalies that I want to correct. I have run every known malicious software cleaner, SFC, and Windows Defender and nothing shows up. SFC says there are system files that are corrupt but it can't repair them. They need to be taken from the install DVD which now won't boot ! My system is about 7 years old and is an Hp220, 2.7 GHz Intel processor with 2Gb of ram and has no floppy drive. The BIOS are old enough that I can't boot from a USB drive either. I can boot both from the DVD and CD drives with various Linux live CD's. I have not tried booting from a Vista or Win 8 DVD yet. What I'm trying to understand is why when I upgraded from XP Pro to Win7 with a completely clean install, did my BIOS get changed so I can no longer boot from the very same DVD I originally used to do the install !! Any help would be greatly appreciated. Thanks in advance.
My System SpecsSystem Spec
06 Feb 2013   #59
Microsoft MVP


Are you following these steps for How to Boot A Computer from CD or DVD - YouTube ?

Do you get a prompt to "Press any key to boot disk" when you set DVD drive first to boot in BIOS setup?

If not try triggering DVD with the one-time BIOS boot menu key given on first boot screen.

If it doesn't boot then there's something wrong with the DVD, ISO or burn. Is DVD new, clean and unscratched?

If in doubt start over from Steps 1 and 2 from Clean Reinstall - Factory OEM Windows 7.

If DVD method fails then try the USB install method given. If that fails unplug the DVD drive and try again.

If it continues to fail try resetting BIOS to defaults: Clear CMOS - 3 Ways to Clear the CMOS - Reset BIOS

You can also boot free Partition Wizard which will boot itself to wipe the HD: Partition Wizard Wipe Disk - Video Help. This will force the installer to boot.

PW is also on Hirenís BootCD 15.1 which boots itself too, and can wipe the HD as well as rescue your files using XP explorer.
My System SpecsSystem Spec
07 Feb 2013   #60

Win 7 32bit Home Premium

Meaning no disrespect, but did you read my entire post ? There is nothing wrong with the DVD as it boots on other machines. There is also nothing wrong with the DVD drive as I can boot anyone of a number of Linux live CD's. I also used this very same Win7 DVD to originally install the system so again I know the DVD is good. What happens now when trying to boot from it to do a Repair Install, is I receive a "Boot code 5 error" and the system just halts at this point. I never see any kind of a boot menu as I am still at the BIOS level. Without a DVD in the drive, the system boots normally which is where I'm typing this post in Firefox ! System File Checker reports there are corrupted system files that it cannot repair and tells me I need to get them off the install disk WHICH WON'T BOOT so I can get at them. Again I mean no disrespect but you have not really helped at this point.:)
My System SpecsSystem Spec

 Boot error code: 5

Thread Tools

Similar help and support threads
Thread Forum
Boot Loop, no keyboard, error code 0xc00000e9
I'm having major issues with my Dell Inspiron 1720. It has Windows 7 Ultimate on it but hasn't been used in a year. My cat knocked over a soft drink onto my keyboard a year ago and resulted in keys constantly going off. I have a USB keyboard so I tried to disable the regular keyboard but the...
General Discussion
Error Code: 3F0 appearing on boot
Whenever I turn my computer on, I get a pop up box referencing an "error occurred." Screenshot here. The error says: File: Window.cpp Line: 44 Error Code 3F0 Message: An attempt was made to reference a token that does not exist
General Discussion
Windows boot error code 0x45d
I have recently having problems with booting Windows 7 on my computer. When I load windows, it goes into the boot screen, and stays there indefinitely, which for a while, I could not figure out the problem. I'll start from when I started having these problems. About a week prior to this...
Hardware & Devices
Dual Boot Produces Error Code 0x0000007B
Hello, I have recently purchased a new pc. Specs: Gigabyte GA-A55M-S2H AMD A4 3400
Installation & Setup
Code 5 error on boot with Windows 7
I am having a problem with the install of Windows 7 on a 32 bit AMD system. I DL'd the file and copied it to DVD however after I set the setup to boot from CD 1st it looks for the boot files and then tells me that it cannot find the files and gives an error 5. I have loaded a beta version of Vista...

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 22:28.
Twitter Facebook Google+