Unable to expand file during Recovery Console mode

C

ck

Hi,
My w2k w SP4 machine not able to bootup prompted
\winnt\system32\drivers\pci.sys is missing or corrupted.
I followed the MS guide try to recopy back the file by using
expand d:\i386\pci.sy_ c:\winnt\system32\drivers /y but it prompted
"Unable to create file pci.sys. 0 file(s) expanded".

Any idea?
Thanks a lot!
 
P

Pegasus \(MVP\)

ck said:
Hi,
My w2k w SP4 machine not able to bootup prompted
\winnt\system32\drivers\pci.sys is missing or corrupted.
I followed the MS guide try to recopy back the file by using
expand d:\i386\pci.sy_ c:\winnt\system32\drivers /y but it prompted
"Unable to create file pci.sys. 0 file(s) expanded".

Any idea?
Thanks a lot!

Try expanding it to a floppy while Windows is up
and running, then copy it from the floppy to its
final destination in Recovery Console mode.
 
C

ck

Hi Pegasus,
I tried to copy it from floppy, it prompted me "the fiel could not be
copied".
I tried to rename the original pci.sys, it prompted me "The name specified
is not a directory"
I tried to delele the original pci.sys, it prompted me "The delete operation
failed"

I am sure logged on to recovery console by Adminisrator role.
 
P

Pegasus \(MVP\)

Unfortunately you only posted error messages but did
not post the actual commands you were using. Without
those we cannot tell you what's wrong.

Deleting a suspect file is not a good idea. Your problem
might be caused by someting other than this file, in which
case you would have made a bad situation worse. Renaming
the file is much safer.
 
D

Dave Patrick

Try;

dir D:\i386
dir %windir%\system32\drivers
to confirm these are both valid locations

then
rename %windir%\system32\drivers\pci.sys pci.old
then
expand D:\I386\pci.sy_ %windir%\system32\drivers\pci.sys

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
 
C

ck

What i typed were:
A:\>copy pci.sys c:\winnt\system32\drivers (to copy from floppy)
C:\winnt\system32\drivers>ren pci.sys pci.old (try to rename the file)
C:\winnt\system32\drivers>del pci.sys (try to delete the file)
 
C

ck

Hi Dave,
I confirm both are valid directory.
I did tried to rename but system gave me "The name specified is not a
directory."
I also did tried to expand the file from CD, system alerted with "Unable to
create file pci.sys. 0 file(s) expanded."

Dave Patrick said:
Try;

dir D:\i386
dir %windir%\system32\drivers
to confirm these are both valid locations

then
rename %windir%\system32\drivers\pci.sys pci.old
then
expand D:\I386\pci.sy_ %windir%\system32\drivers\pci.sys

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

ck said:
Hi Pegasus,
I tried to copy it from floppy, it prompted me "the fiel could not be
copied".
I tried to rename the original pci.sys, it prompted me "The name
specified is not a directory"
I tried to delele the original pci.sys, it prompted me "The delete
operation failed"

I am sure logged on to recovery console by Adminisrator role.
 
D

Dave Patrick

You may have some file system damage and or a failed disk.

Try running;
chkdsk /r
from the recovery console.

To start the Recovery Console, start the computer from the Windows 2000
Setup CD or the Windows 2000 Setup floppy disks. If you do not have Setup
floppy disks and your computer cannot start from the Windows 2000 Setup CD,
use another Windows 2000-based computer to create the Setup floppy disks. At
the "Welcome to Setup" screen. Press F10 or R to repair a Windows 2000
installation, and then press C to use the Recovery Console. The Recovery
Console then prompts you for the administrator password. If you do not have
the correct password, Recovery Console does not allow access to the
computer. If an incorrect password is entered three times, the Recovery
Console quits and restarts the computer. Note If the registry is corrupted
or missing or no valid installations are found, the Recovery Console starts
in the root of the startup volume without requiring a password. You cannot
access any folders, but you can carry out commands such as chkdsk, fixboot,
and fixmbr for limited disk repairs. Once the password has been validated,
you have full access to the Recovery Console, but limited access to the hard
disk. You can only access the following folders on your computer: drive
root, %systemroot% or %windir%

Also download a diagnostic utility from the drive manufacturer's web site.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
 
P

Pegasus \(MVP\)

There is nothing wrong with either of these commands. If I was
in this situation then I would examine the disk in some more
detail. Here are a couple of ways of doing it:

a) Temporarily install the disk as a slave disk in some other
Win2000/XP PC, then try to replace pci.sys. Don't run
chkdsk straightaway - it might ruin whatever you have left.

b) Boot the machine with a Bart PE CD (www.bootdisk.com).
To make one you need this:
* The tool from the above site.
* A WinXP Professional CD (but no licence number)
* A CD burner
* About three hours of your time

A Bart PE CD gives you a WinXP-like environment to work
in. It gives you full access to NTFS partitions, independently
of what works on your current disk. To make one is a
substantial investment in time and effort - it's what the
professionals do.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top