CDBoot: Cannot boot from cd Code 5

July 31, 2015 at 09:24:52
Specs: Windows xp
Hp pavilion 7955 I put in a clean hard drive and want to install windows xp pro but can't get past the dos screen that says CDBoot: Cannot boot from cd Code 5. I did not do anything with the cd or dvd players just changed the hard drive. Any idea what I can do to make it read the disk and install it.

message edited by hunterp


See More: CDBoot: Cannot boot from cd Code 5

Report •

#1
July 31, 2015 at 11:04:28
Did you actually set the boot device as the CD/DVD drive?

Report •

#2
July 31, 2015 at 11:12:26
Yes I did sometimes it says that it has no emulation. I don't know what it is talking about.

message edited by hunterp


Report •

#3
July 31, 2015 at 12:08:13
Presumably this is an EIDE system - not SATA drive etc.?

Also does it use Cable Select (CS) or the older Master/Slave configuration?

Check the (jumper) settings on the "new" drive as well as that for CDROM;to see if they are set correctly.

This post (from 2007) deals with assorted possible solutions:

http://forums.techguy.org/hardware/...

Also is the XP setup disk a bona-fide one from M$-land, or HP? Or is it a recovery disk - and if so what is its provenance (did you make it way back when)?

Is the CD unit only CD device (not DVD as well), and is the XP disk you have a CD or a DVD? Or is the "CD unit" actually a CD/DVD unit?

message edited by trvlr


Report •

Related Solutions

#4
July 31, 2015 at 12:14:53
I have checked the jumper several times and yes it does use the older Master/Slave. I do not have a start up disk of any kind I was going to do a clean install from a new windows xp disk that I have.

Report •

#5
July 31, 2015 at 12:21:48
So the hard drive is Master and CD is Slave?

Is the XP disk CD or DVD; and is your CD device actually a CD/DVD unit?

What is the origin of your XP setup disk; is it an actual M$ branded (genuine); or a copy of one?

There are various references out there (via Google etc.) that suggest there "may" be a problem with some of the system files on the XP disk; not the least the essential boot/start-up files...


Report •

#6
July 31, 2015 at 12:31:00
There are two drives one CD one is DVD it also has a floppy disk drive and my xp disk is genuine.windows disk that I bought. with a key and it has a service pack two with it. The disk does start up but does nothing and then it comes up with the code 5.

Report •

#7
July 31, 2015 at 12:38:18
Are you sure you're addressing the correct drive (the CD unit) when you insert the XP disk (presumably a CD); i.e. is the correct device (CD) set in the boot sequence - or is per chance the DVD unit there instead? I would be inclined to disconnect the DVD drive temporarily - to reduce confusions various. Hope that makes sense.

The boot sequence would be typically: floppy, CD/DVD (or CD as you have separate drives - and presuming the DVD is disconnected); hard drive.


Report •

#8
July 31, 2015 at 12:45:29
When I do that it says disk boot failure, insert system disk and press enter

Report •

#9
July 31, 2015 at 12:55:32
You hav boot sequence as floppy, CD (DVD is NOT connected); hard drive?

Try CD (again no DVD connected); hard drive.

Also do you have any other CD that is bootable? Doesn't matter what the OS or software is... If so try booting with "that" CD - with boot sequence as above.


Report •

#10
July 31, 2015 at 13:03:44
I have the boot sequence as CD then hard drive I also have a genuine windows 7 disk but it does the same thing and shows the same errors.

Report •

#11
July 31, 2015 at 13:23:58
Is the Win-7 a CD - I thought they were all DVD? My copies of win-7 are DVD; XP and '9x and all upto XP came on CD.

When you try the win-7 disk replace the CD unit in the boot sequence with the DVD?

Verify each time you switch drives around that the CD "or" DVD is Slave to the HD Master; "or" (if you have two controllers - and likely there are as this a tower/desktop system) - ensure the CD or DVD is set as Master on its own controller. (IEDE-2).

Also, although not specific to any particular brand of standard desktop/tower the info is relevant to all, and may be of help here; re' how to connect a device to the second EIDE controller...

http://www.mikeshardware.com/howtos...

http://www.kitchentablecomputers.co...

message edited by trvlr


Report •

#12
July 31, 2015 at 13:29:52
Sorry it is a DVD not a CD ok I will check out these links

Report •

#13
July 31, 2015 at 14:00:55
mmm Easy to overlook; CD (XP) requires a CD "reader" at least. win-7 and onwards a DVD likewise...

As you have another working computer... you might also download a Linux ISO which burn to a DVD. ubuntu.com is one of the more common flavours. It's free.

Try booting with that - disconnect the CDROM and put the DVDROM in its place in the boot sequence; ensuring the DVDROM is either Slave to the Master HD; or Master on the second EIDE controller - and double-check the jumper on the DVD is set to match its status/position...

If the system won't boot with a ubuntu disk... then there is something amiss somewhere - and not necessarily related to changing the hard drive. Ubuntu will boot and start to load itself into RAM only. Once it has installed itself (I'd let it) see if you can find the hard drive...

message edited by trvlr


Report •

#14
July 31, 2015 at 15:56:41
Another thing you could try:
Wash the disk in washing up water and warm water. Use your thumb from center to outside edge all around the underside of the disk. Rinse off and dry thoroughly with kitchen roll.

Always pop back and let us know the outcome - thanks


Report •

#15
August 1, 2015 at 01:07:29
The xp disk should boot from either drive. Have you tried both? Are they the original cd and dvd drives that came with the computer?

There's a lot of suggested causes and solutions--bios update, incompatible chipset or motherboard, a problem with the cd boot sector--but no one specific fix.

It shouldn't matter but what size hard drive did you install? It looks like that one came with a 40 gig. Did you upgrade the ram? It only came with 256 meg.

Prior to this time, when was the last time you attempted to boot from an OS disk?

I think it would be a good idea to try a different known-good optical drive just to make sure the problem isn't there. Try a new cable for the same reason.


Report •

#16
August 1, 2015 at 02:13:47
Equally test the disk in another computer. Check it can be accessed from within whichever OS, and also if it will boot the system as if starting an installation?

I don't think simply inserting the XP disk and booting with it actually do anything to the resident hard drive in the computer testing the disk. By that I mean you let system detect and boot up (if it can) but you don't let it go any further.; and thus it won't affect, or write to, or change the resident mbr and installed OS?

You merely see if the disk will boot another computer; and then close out, remove the disk and let that system reboot as normal?

When you tested the problem computer with the win-7 DVD (using the DVDROM not the CDROM) did you get the same/simliar error code?


Report •

#17
August 1, 2015 at 06:49:27
With XP you can hold the Shift key down for a while when inserting a disk and it will not try to run it.

[A feature I missed and have managed to kinda re-invent on my Win 8.1 using a reg file started with AutoHotkey].

Always pop back and let us know the outcome - thanks


Report •

#18
August 2, 2015 at 21:23:57
My 2 cents, I'm thinking Code 5 error is a special HP only kinda thing and the answer might be found in an HP forum faster?

Lee


Report •

#19
August 2, 2015 at 23:00:26
Good point from "meiee5

There do seem to be one or two odd effects/problems which seem specific to HP kit.


Report •

#20
August 20, 2015 at 08:57:43
Thanks for your help but nothing helped it was an old computer so I junked it and bought a new one.

Report •

#21
August 20, 2015 at 09:56:34
The fix to end all fixes! Thanks for the feedback.

Always pop back and let us know the outcome - thanks


Report •

Ask Question