July 2017

Juniper – WARNING: THIS DEVICE HAS BOOTED FROM THE BACKUP JUNOS IMAGE

2017-07-17T19:25:21+00:00 July 17th, 2017|Juniper - Recovery|

quick fix:

request system snapshot media internal slice alternate

then

request system reboot

check after boot from which partition system is booted

show system storage partitions

with output of:

root> show system storage partitions
fpc0:
--------------------------------------------------------------------------
Boot Media: internal (da0)
Active Partition: da0s2a
Backup Partition: da0s1a
Currently booted from: active (da0s2a)
|
Partitions information:
Partition Size Mountpoint
s1a 183M altroot
s2a 184M /
s3d 369M /var/tmp
s3e 123M /var
s4d 62M /config
{master:0}
root>

then you can change active partition to boot from first partition

request system reboot slice alternate media internal

Juniper – firmware upgrade

2017-07-18T10:14:45+00:00 July 17th, 2017|Juniper - Recovery|

Upgrade firmware from usb – go to shell

root> start shell

find usb drive use

root@:RE:0% ls /dev/da*

then to test drive/partition

root@:RE:0% file -s /dev/da1s2

create folder for usb drive and mount usb drive to the folder

root@:RE:0% mkdir /var/tmp/usb
root@:RE:0% mount -t msdosfs /dev/da1s2 /var/tmp/usb

move image file to /var/tmp

cd /var/tmp/usb && mv jinstall-ex-2200-12.3R8.7-domestic-signed.tgz /var/tmp

go back to cli and run upgrade

root@bbc-temp-sw:RE:0% cli
{master:0}
root@bbc-temp-sw> request system software add /var/tmp/jinstall-ex-2200-12.3R8.7-domestic-signed.tgz validate reboot

Load More Posts