WARNING: When you create a bootable USB flash-drive, the contents of the USB
flash-drive are deleted.
Creating a Bootable USB Flash Drive using an SRX High-end Device
To create a bootable USB flash-drive using an SRX High-end device:
1. Connect to any SRX High-end device that has enough storage (approx. 3GB), through a console.
2. Copy the Junos OS image to the /var/tmp directory of the SRX High-end device.
In the example below, the junos install media is copied onto an SRX5800 Services Gateway:
user@srx5800% cd /var/tmp/
user@srx5800% ls -lrt *srxhe*
-rw-r--r-- 1 root wheel 2147483648 Jan 8 16:56
junos-install-media-usb-srxhe-x86-64-17.4R1-S1.9.img
3. Insert a USB flash drive into the USB port of the SRX High-end device and check if the USB flash drive
is recognized.
For Example:
user@srx5800% umass0: Generic Mass Storage, rev 2.00/1.00, addr 3
da0 at umass-sim0 bus 0 target 0 lun 0
da0: Generic Flash Disk 8.07 Removable Direct Access SCSI-4 device
da0: 40.000MB/s transfers
da0: 15200MB (31129600 512 byte sectors: 255H 63S/T 1937C)
4. Configure the USB flash drive as a boot disk using the dd commands:
1. To check if the system can read and write the USB flash drive, erase the initial sectors of the USB
flash drive using the command dd if=/dev/zero of=/dev/<Device Name> count=<n> . For example:
Device Name= the device name given to the USB flsh drive (da0) and n = number of blocks.
user@srx5800% dd if=/dev/zero of=/dev/da0 count=20
20+0 records in
20+0 records out
10240 bytes transferred in 0.016966 secs (603556 bytes/sec)
104