In message <> "Orv"
<pcbidderathotmail.com> wrote:
>Have a Hitachi 120gb SATA hd with bad sectors and will not boot up (Vista).
>The drive does have a recovery/image partition (Sony Vaio Laptop), however I
>cant get to it. I tried the Vista rescue/repair CD with no luck either.
>I was able to connect to it, using a WinXP system, as an external HD and
>running chkdsk. It located the bad sectors, however, can only be fixed upon
>reboot because of files being locked. I get all this.
>
>How do I get chkdsk to run at boot (using WinXP) and perform it on the
>external before the files get locked??? Can I create a autoexec file or add
>a line of code to a boot file??? Time for a new hd & os??
>Not sure if this is the right group, but any help is appreciated.
Assuming the drive is mounted as e:, "chkdsk e: /f", and you're running
as an administrator, then for an external disk, chkdsk will be able to
break all file handles and perform the check immediately, just follow
the prompts.
If chkdsk can't break file handles for some reason (normally only OS
files, pagefile.sys or hibernat.sys cause this) then it will offer to
chkdsk after bootup.
|