Technical Documentation

Creating an Emergency Boot Disk

If the router’s Junos OS is damaged in some way that prevents the Junos OS 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 OS.

The procedures outlined in this section discuss how to create an emergency boot disk for any M Series, MX Series, T Series, TX Matrix, or TX Matrix Plus router.

To create an emergency boot disk:

  1. Use FTP to copy the installation media into the router’s /var/tmp directory.
  2. Insert the PC Card into the external PC Card slot.
  3. In the UNIX shell, navigate to the /var/tmp directory:
    start shell
    cd /var/tmp
  4. Log in as su:
    su [enter]
    password: [enter SU password]
  5. issue the following commands:
    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 or a TX Matrix Plus router:

    dd if=/dev/zero of=/dev/da0 count=20
    dd if=install-media-9.0R2.10–domestic.tgz of=/dev/da0 bs=64k
  6. Log out as su:
    exit

Related Topics


Published: 2010-07-13

Help
|
My Account
|
Log Out