I recently bought an SRX210B cheaply from ebay. This unit is EOL but still relevant for learning the Junos OS. This post follows the setup of the unit once recieved from password recovery to OS upgrade.
After resetting password i also found that it was booting into alt root as it has a dual root partition setup. To repair you need to copy back to primary partition. This doesnt take more than 5-10 mins and a reboot.
Restore primary partition
After successfull copy reboot SRX
confirm booting from the current primary (not always be first partition number)
Check for faults on the device
device version and info
Now i can take a look at software versions and hardware info.
When connected to console or ssh, enter the cli
print the current installed junos os.
print the hardware information with detail
get the routing engine status
check for device alarms
review current dual partition state and version
get current active boot partition this should be primary from previous
Junos OS supported versions
Because this unit is EOL its difficult to know what junos versions it supports. I found this forumn with most likely answer given junos os release dates and EOL notice for the SRX210B.
SRX100b/H, SRX110H, SRX210B/H/BE/HE, SRX220H, SRX240B/H/B2 do not support 12.3X48 image.
Last junos image supported on the above devises is 12.1X46-D65.
Juniper appears to show different but probably for the high memory variants.
I am going to stick with the known working 12.1X46-D65.
Upgrading Junos OS
Copy the release archive to a FAT formatted USB storage device. In this instance junos-srxsme-12.1X46-D65.4-domestic.tgz.
MD5 : d52a7fd9531acbfeb74060dfc96b3325
SHA1 : 185931dcb605a909264f354cec12f3346fc4ba85
Insert the USB storage device into USB port.
Log onto the console or SSH.
Mount the storage device
switch to the cli
Execute the upgrade proceedure with the archive from mount point and wait . . .
On success exit the cli and umount the storage device
enter cli mode again and request reboot
Log back in and show version and look for alarms
The SRX210B device is now been successfully identified, factory reset, I have remote root access and the Junos OS has been upgraded to a known good version. I have also shown there are no problems with the device at present.
The primary partition has now been changed to da0s1a. The upgrade process formatted this partition and promoted it for next startup. The original partition is still in place as backup now and i can revert to it. I will give it some time to ensure it is okay then issue the ‘request system snapshot slice alternate’ to bring it to the same version ‘12.1X46-D65.4’ as the primary.