When i booted a Juniper SRX240 after shipment to other country I experienced this error message.
!!!
1. Since the system has booted on the backup junos image, we know its up and running, so we want to copy existing backup image to the primary image, also known to snapshot backup to primary.
To prove that you are actually running on the backup image
root@SRX240> show system storage partitions
As you can see, its booted from Backup. Now execute the below command to do a snapshot
The following filesystems were archived: /
When that is done, you can upgrade your primary partiion as usual. for more info for that. check this Juniper KB, http://kb.juniper.net/InfoCenter/index?page=content&id=KB16652
!!!
WARNING: THIS DEVICE HAS BOOTED FROM THE BACKUP JUNOS IMAGE
It is possible that the primary copy of JUNOS failed to boot up
properly, and so this device has booted from the backup copy.
Please re-install JUNOS to recover the primary copy in case
it has been corrupted
!!!
So you panic and wonder if there is any hardware problem. But before panicking, try these things. If below still not helps, then you should contact Juniper TAC if you have a support agreement.
1. Since the system has booted on the backup junos image, we know its up and running, so we want to copy existing backup image to the primary image, also known to snapshot backup to primary.
To prove that you are actually running on the backup image
root@SRX240> show system storage partitions
Boot Media: internal (da0)
Active Partition: da0s2a
Backup Partition: da0s1a
Currently booted from: backup (da0s1a)
Partitions information:
Partition Size Mountpoint
s1a 292M /
s2a 293M altroot
s3e 24M /config
s3f 342M /var
s4a 30M recovery
As you can see, its booted from Backup. Now execute the below command to do a snapshot
root@srx1> request system snapshot slice alternate
Formatting alternate root (/dev/da0s2a)…
Copying ‘/dev/da0s1a’ to ‘/dev/da0s2a’ .. (this may take a few minutes)
The following filesystems were archived: /
You can now reboot "request system reboot" After reboot, you can use "show system storage partitions" to verify that you are booted from the "active" partition.
When that is done, you can upgrade your primary partiion as usual. for more info for that. check this Juniper KB, http://kb.juniper.net/InfoCenter/index?page=content&id=KB16652