You are on page 1of 3

corrupt boot.

ini bootcfg /list /list = This option will list every entry in the boot list in the boot.ini file. bootcfg /scan /scan = Using this option will instruct bootcfg to scan all drives for installat ions of Windows and then display the results. bootcfg /rebuild /rebuild = This option will step you through the process of rebuilding the boot. ini file. bootcfg /default /default = the /default switch sets the default boot entry in the boot.ini file. bootcfg /add /add = This option allows for the manual entry of a Windows Fixboot Command Examples: fixboot c: In the above example, the boot sector is written to the partition that's current ly labeled as the C: drive - most likely the partition you are currently logged on to. If that is the case, this command could be run without the c: option. Fixboot Command Availability: The fixboot command is only available from within the Recovery fixmbr (device_name) device_name = This is where you designate the exact drive location that a master boot record will be written to. If no device is specified, the master boot reco rd will be written to the primary boot drive Fixmbr Command Examples: fixmbr \Device\HardDisk0 In the above example, the master boot record is written to the drive located at \Device\HardDisk0. fixmbr In this example, the master boot record is written to the device that your prima ry system is loaded onto. If you have a single installation of Windows installed , which is normally the case, running the fixmbr command in this way is usually the right way to go. diskpart /add add = The /add option will create a new partition on the specified hard drive. diskpart /delete

/delete = This option will remove a specified partition on a specified hard driv e. Diskpart Command Examples: diskpart /add \Device\HardDisk0 5000 In the above example, the diskpart command creates a 5,000 MB partition on the h ard drive located at \Device\HardDisk0. diskpart /delete \Device\HardDisk0\Partition1 In the above example, the diskpart command will remove the Partition1 partition located on the hard drive \Device\HardDisk0. diskpart /delete G: In the above example, the diskpart command will remove the partition currently a ssigned the drive What is the Recovery Console?: The Recovery Console is a command line based, advanced diagnostic feature availa ble in some versions of the Windows operating system. What is the Recovery Console Used For?: The Recovery Console is used to help resolve a number of major system problems. The Recovery Console is particularly useful for repairing or replacing important operating system files. When these files aren't working like they should, Windo ws will sometimes not startup at all. In these cases, you must start the Recover y Console to restore the files. ntdetect.com missing Enter Windows XP Recovery Console. When you reach the command prompt (detailed in Step 6 in the link above), type t he following two commands, pressing Enter after each one: copy d:\i386\ntldr c:\ copy d:\i386\ntdetect.com c:\ In the command listed above, d represents the drive letter assigned to the optic al drive that your Windows XP CD is currently in. While this is most often d, yo ur system could assign a different letter. Also, c:\ represents the root folder of the partition that Windows XP is currently installed on. Again, this is most often the case but your system could be different. If you're prompted to overwrite either of the two files, press Y. Take out the Windows XP CD, type exit and then press Enter to restart your PC. Assuming that missing or corrupt versions of the NTLDR and/or Ntdetect.com files were your hal.dll missing Enter Windows XP Recovery Console. When you reach the command line prompt (detailed in Step 6 in the link above), t ype the following and then press Enter: expand d:\i386\hal.dl_ c:\windows\system32 Using the expand command as shown above, d represents the drive letter assigned

to the often ts the s most

optical drive that your Windows XP CD is currently in. While this is most d, your system could assign a different letter. Also, c:\windows represen drive and folder that Windows XP is currently installed on. Again, this i often the case but your system could be different.

If you're prompted to overwrite the file, press Y. Take out the Windows XP CD, type exit and then press Enter to restart your PC. Assuming that a missing or corrupt hal.dll file was your only issue, Windows XP should now start normally. recovery console installtion insert winxp bootable cd goto click start -> Run -> type cmd -> goto cd drive i386 folder path -> type wi nnt32.exe /cmdcons ask to install the package install and restart.

You might also like