Recently i have encountered booting problems in windows xp (Home /Profesional ). Problems like ntdlr missing / boot.ini/ntoskrnl.exe / hal.dll (errors)

To recitfy these problems follow the steps below :

1. Insert Windows xp compact disc and press R
2. Press Enter : 1
3. c:\windows > cd..
4. c:\attrib -h c:\boot.ini
c:\attrib -R c:\boot.ini
c:\attrib -S c:\boot.ini
5. del boot.ini
6. bootcfg /rebuild
7. Total Identified windows installs :1
8. Add Installation to bootlist ? (YES)
9. Enter load identifier : Windows XP Home / Professional Edition
10. c:\fixboot
11. sure you want to write bootsector to the partition c:\y
12. Exit