Last login: Sat Feb 3 01:32:07 UTC 2018 from summit1ru-vpnqa05 on pts/0
You have new mail.
root@ SRX4600:/var/tmp# ls -lrt *usb*
-rw-r--r-- 1 root root 2147483648 Feb 3 01:31
junos-install-media-usb-srxhe-x86-64-17.4R1-S1.9.img
6. Check if the USB flash drive is recognized.
root@ SRX4600:/var/tmp# lsscsi
[4:0:0:0] disk ATA TS960GV8MD1YTJM O122 /dev/sda
[5:0:0:0] disk ATA TS960GV8MD1YTJM O122 /dev/sdb
[6:0:0:0] disk USB DISK 2.0 PMAP /dev/sdc
The USB flash drive name is sdc
7. 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 (sdc) and n = number of blocks.
root@ SRX4600-node -node: /var/tmp# dd if=/dev/zero of=/dev/sdc count=20
20+0 records in
20+0 records out
10240 bytes (10 kB) copied, 0.0156234 s, 655 kB/s
2. Copy the install-media image to the USB flash drive using the command dd
if=<LOCATION>/<junos-install-media> of=/dev/<Device Name> bs=<n>m . For example:
LOCATION = Locally where Junos OS image is stored (/var/tmp/), junos-install-media = Junos OS
install media image, Device Name = the node name given to the USB flsh drive (da0), bs = block size
and n = number of blocks.
root@ SRX4600-node: /var/tmp# dd if=junos-install-media-usb-srxhe-x86-64-17.4R1-S1.9.img
of=/dev/sdc bs=16M
128+0 records in
128+0 records out
2147483648 bytes (2.1 GB) copied, 618.131 s, 3.5 MB/s
3. Exit from the hypervisor.
106