HP Integrity Superdome SX1000 Recovering Windows Server 2003 on HP Integrity S - Page 18

file. The OutputFile, example of a device name for a new partition is

Page 18 highlights

boot sector). At the system prompt, enter the commands. For a list of commands, enter help; or enter help for help on a specific command. Recovery Console provides the following commands: attrib changes attributes on one file or folder. batch executes commands that you specify in the InputFile.txt file. The OutputFile contains the output of each batch command. If you omit the OutputFile argument, output is displayed on the screen. cd (chdir) operates only on system directories in the current Windows installation, removable media, the root directory of any hard drive partition, or the local installation sources. chkdsk The /p switch runs Chkdsk even if the drive is not flagged as dirty. The /r switch locates bad sectors and recovers readable information (this switch implies /p). Chkdsk requires Autochk. Chkdsk automatically looks for Autochk.exe in the startup folder or in the boot folder. If Chkdsk cannot find the file in the startup folder, it looks for the Windows Server 2003 installation CD. If Chkdsk cannot find the installation CD, it prompts the user for the location of Autochk.exe. cls copy clears the screen. copies one file to a target location. By default, the target cannot be removable media, and you cannot use wildcard characters. Copying a compressed file from the Windows Server 2003 installation CD automatically decompresses the file. del deletes one file. The Del command operates on the system directories of the current Windows installation, removable media, the root directory of any hard drive partition, or the local installation sources. By default, you cannot use wildcard characters. dir displays a list of all files, including hidden and system files. disable disables a system service or device driver. diskpart manages partitions on hard drive volumes. • The /add option creates a new partition. • The /delete option deletes an existing partition. • The device-name argument is the device name for a new partition. One example of a device name for a new partition is \device\harddisk0. • The drive-name argument is the drive letter for a partition you are deleting, such as drive D. • Partition-name is the partition-based name for a partition you are deleting, and can be used instead of the drive-name argument. One example of a partition-based name is \device\harddisk0\partition1. • The size argument is the size in megabytes of a new partition. enable enables a system service or device driver. exit quits the Recovery Console and restarts the computer. expand expands a compressed file. The source argument is the file you want to expand. By default, you cannot use wildcard characters. The destination argument is the directory for the new file. By default, the destination cannot be removable media or read-only media. You can use the attrib command to remove the read-only attribute from the destination directory. The option /f:filespec is required if the source contains more than one file. This option permits wildcard characters. The /y switch disables the overwrite confirmation prompt. The /d switch specifies that the files should not be expanded and displays a directory of the files in the source. 18 Recovery Options for HP Integrity Servers Running Windows Server 2003

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22

boot sector). At the system prompt, enter the commands. For a list of commands, enter
help
; or
enter
help <commandname>
for help on a specific command.
Recovery Console provides the following commands:
attrib
changes attributes on one file or folder.
batch
executes commands that you specify in the
InputFile.txt
file. The OutputFile
contains the output of each batch command. If you omit the OutputFile
argument, output is displayed on the screen.
cd
(chdir) operates only on system directories in the current Windows installation,
removable media, the root directory of any hard drive partition, or the local
installation sources.
chkdsk
The
/p
switch runs
Chkdsk
even if the drive is not flagged as dirty. The
/r
switch locates bad sectors and recovers readable information (this switch implies
/p
).
Chkdsk
requires
Autochk
.
Chkdsk
automatically looks for
Autochk.exe
in the startup folder or in the boot folder. If
Chkdsk
cannot find the file in the
startup folder, it looks for the Windows Server 2003 installation CD. If
Chkdsk
cannot find the installation CD, it prompts the user for the location of
Autochk.exe
.
cls
clears the screen.
copy
copies one file to a target location. By default, the target cannot be removable
media, and you cannot use wildcard characters. Copying a compressed file
from the Windows Server 2003 installation CD automatically decompresses the
file.
del
deletes one file. The
Del
command operates on the system directories of the
current Windows installation, removable media, the root directory of any hard
drive partition, or the local installation sources. By default, you cannot use
wildcard characters.
dir
displays a list of all files, including hidden and system files.
disable
disables a system service or device driver.
diskpart
manages partitions on hard drive volumes.
The
/add
option creates a new partition.
The
/delete
option deletes an existing partition.
The device-name argument is the device name for a new partition. One
example of a device name for a new partition is
\device\harddisk0
.
The drive-name argument is the drive letter for a partition you are deleting,
such as drive D.
Partition-name is the partition-based name for a partition you are deleting,
and can be used instead of the drive-name argument. One example of a
partition-based name is
\device\harddisk0\partition1
.
The size argument is the size in megabytes of a new partition.
enable
enables a system service or device driver.
exit
quits the Recovery Console and restarts the computer.
expand
expands a compressed file. The source argument is the file you want to expand.
By default, you cannot use wildcard characters. The destination argument is
the directory for the new file. By default, the destination cannot be removable
media or read-only media. You can use the
attrib
command to remove the
read-only attribute from the destination directory. The option
/f:filespec
is required if the source contains more than one file. This option permits wildcard
characters. The
/y
switch disables the overwrite confirmation prompt. The
/d
switch specifies that the files should not be expanded and displays a directory
of the files in the source.
18
Recovery Options for HP Integrity Servers Running Windows Server 2003