Run-time error R6003 - integer divide by 0

I have a Compaq Presario 5170 to which I have just installed a new 40GB HD. System has everything stripped out appart from CDR. It has 128M memory.
I inserted the Windows 98SE disc and when prompted I asked for "Intsall from CD". Almost immediately i get the error "Run-time error R6003 - integer divide by 0"
This may also have something to do with it :-
on first boot, I had a 164 memory error, but the system re-booted and I didn't get it?
Can anyone plase help?
mithrandrirAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

owensleftfootCommented:
You need to go into your bios and disable the boot antivirus check. When you install windows it needs to write to the boot sector. By default most bios have an option to prevent writes to this area of the disk to protect against boot-sector viruses. Disable this and then re-enable it once windows is installed.
HTH
mithrandrirAuthor Commented:
Thanks for that.
I did read, on some web site that that might be a cure.
I don't know how to get into the BIOS setting on this Compaq machine. When I tried Del or F10 I gor a Setup screen but with no BIOS options. Do you have any idea of how to access the BIOS. The MOB came with the Compaq and theer are no indications on boot up as to what it is. I just get a Compaq logo.
stevenlewisCommented:
press F10 when the cursor is on the right side of the screen, but, compaq uses a small partiton (about 8mb, non dos) to store it's bios info on, and since this is a new drive, you have to create it
go here, and search around for it
http://h18007.www1.hp.com/support/files/index.html
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

mithrandrirAuthor Commented:
Thanks for that.
I did read, on some web site that that might be a cure.
I don't know how to get into the BIOS setting on this Compaq machine. When I tried Del or F10 I gor a Setup screen but with no BIOS options. Do you have any idea of how to access the BIOS. The MOB came with the Compaq and theer are no indications on boot up as to what it is. I just get a Compaq logo.
mithrandrirAuthor Commented:
For stevenlewis.

Tghanks Steven for taking the time to assist. I have been to the site you suggested but I am unable to find anything that helps. Could you advise any further?
stevenlewisCommented:
need to know the model number of the machine please
stevenlewisCommented:
duh,,, If i just read the question LOL
OK
see here
http://web14.compaq.com/falco/detail.asp?FAQnum=FAQ2096
you will have to put the old drive in to create the diskettes you will need to create the partition
and get the bios configuration working
mithrandrirAuthor Commented:
OK guys, I have cracked this. Just call me "dummy".
I stripped the PC down and re-built it. I realised staright away what I had done.............
I put the HD on IDE1 instead of 0. Having said that, I find it the error message very confusing.

Thanks for all your help anyway.

MODERATOR.
Please close message.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
paullamhkgCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is to:

Be PAQ'd/Points Refunded

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Paul
EE Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Operating Systems

From novice to tech pro — start learning today.