Let me first mention a misunderstanding. The BIOS-password is totally unrelated to your hard disk, so not changed at all when formatting a partition on a hard disk. In fact, you need to know the BIOS-password to be able to reinstall XP.
Assuming your question is right and you mean the BIOS-password, not the Windows XP-password, you'll have to reset the BIOS. The 2 usual ways to do that: (1) find the reset-BIOS-jumper on the motherboard and (2) remove power adapter and laptop battery and CMOS-battery and wait a few minutes. Where to find everything depends on the laptop, of course.
If you mean the Windows XP password, this doesn't apply. Then please post again, so we can tell you the two common ways to handle that.
I have a problem in my laptop. I forgot my BIOS password so please help me out how can I log in to my system without formatting my system.
Note: This post was edited by forum moderator. to remove signature link which is prohibited in these forums. on 04/21/2011 on 11:02 AM PT