Juniper Networks J-Series User Manual

Page 215

Advertising
background image

Recovery software packages are available from the same location as J-series upgrade
software packages. (See “Downloading Software Upgrades from Juniper
Networks” on page 181.)

To recover an internal compact flash:

1.

Plug the compact flash into a PCMCIA adapter or USB card reader.

2.

Plug the PCMCIA adapter or USB card reader into the host PC and verify that the
compact flash is recognized by the operating system.

3.

Select the appropriate recovery software package according to the size of your
compact flash. The uncompressed package must have the same size as the target
compact flash capacity: 128 MB, 256 MB, 512 MB or 1024 MB. The recovery
software package name indicates the size of the package. For information about
recovery software package names, see “Upgrade and Downgrade
Overview” on page 179
.

4.

Copy the software package to a temporary directory on the host PC and
uncompress it with a compression utility, such as

WinZip

.

5.

Copy the uncompressed software package from the temporary directory to the
compact flash with one of the following commands:

CAUTION: You must use the correct target device name. Failure to do so might
damage other storage devices connected to the host PC.

On a UNIX PC, use the command

dd if=filename of=/dev/device_name

.

Replace

filename

with the name of the uncompressed image, and

device_name

with the name of the unformatted PCMCIA card device. For example:

root# dd if=junos-jseries-7.0–20041028.0–export-cf128 of=/dev/hde

250368+0 records in250368+0 records out

On a Windows 2000 or Windows XP PC, use the Norton Ghost,

dd

, or

physdiskwrite

utility. The following example shows the use of

physdiskwrite

:

C:\> physdiskwrite —u junos-jseries-7.0–20041028.0–export-cf512

physdiskwrite v0.5 by Manuel Kasper
Searching for physical drives...
Information for \\.\PhysicalDrive0:
Windows: cyl: 2432
tpc: 255
spt: 63
C/H/S: 16383/16/63
Model: HITACHI_DK23DA-20
Serial number: 123ABC
Firmware rev.: 00J2A0G0
Information for \\.\PhysicalDrive1:
Windows: cyl: 125
tpc: 255
spt: 63
Which disk do you want to write? (0..1) 1

Recovering Primary Boot Devices

193

Chapter 10: Performing Software Upgrades and Reboots

Advertising