If the router’s JUNOS software is damaged in some way that prevents the JUNOS software from loading completely, you can use the emergency boot disk to revive the router. The emergency boot disk repartitions the primary disk and reloads a fresh installation of the JUNOS software.
The procedures outlined in this section discuss how to create an emergency boot disk for any M-series, MX-series, T-series, or TX Matrix routing platform.
To create an emergency boot disk:
start shell
cd /var/tmp
su [enter]
password: [enter SU password]
dd if=/dev/zero of=/dev/externalDrive count=20
dd if=installMedia of=/dev/externalDrive bs=64k
where:
The following code example can be used to create an emergency boot disk using a PC Card on an M20 router:
dd if=/dev/zero of=/dev/ad3 count=20
dd if=install-media-9.0R2.10–domestic.tgz of=/dev/ad3 bs=64k
The following code example can be used to create an emergency boot disk using a USB storage device on an M120 router:
dd if=/dev/zero of=/dev/da0 count=20
dd if=install-media-9.0R2.10–domestic.tgz of=/dev/da0 bs=64k
exit