PeTe said:
Hi. When i start up my pc it says something like Invalid
boot.ini booting from c:/windows is there a way i can
restore the file ps
Provided you have a 'proper' XP CD and not some OEM restore one, Set the
BIOS to boot CD before Hard Disk. Boot the XP CD and, instead of Setup,
take the immediate R for Repair. Assume any password requested is
blank, and TAB over. Give
BootCfg /Rebuild
If you can't do that you will have to do a manual edit. have Folder
Options - View set to show Hidden files, and *not* Hide Protected mode
ones then edit C:\boot.ini with Notepad.
Provided this is a simple setup, with XP in the C:\windows and no older
partitions around the disk from a dual boot; the file should look
something like
[boot loader]
timeout=10
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP" /fastdetect
(Note /fastdetect is not on a new line)
There is also a useful free editor for the boot.ini file that you can
run from a DOS bootable floppy (even if C: is NTFS), so can be used if
you run into trouble - having things say 'can't find hal.dll indicates
that there is something wrong, probably the partition(n) items. Get
that at the free tools section at
www.bootitng.com