Support Support Downloads Knowledge Base Service Request Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[SRX] How is the boot partition selected in dual-boot partition

0

0

Article ID: KB23710 KB Last Updated: 14 Nov 2017Version: 2.0
Summary:
This article provides information on how to select the boot partition in dual-boot partition devices.
Symptoms:
How to select the boot partition in dual-boot partition devices.
Solution:
When the device is rebooted, Uboot marks a partition as the primary, from which the device should boot and Uboot sets a flag for that primary partition and informs the loader. When the loader starts loading the kernel and OS, it verifies the information received from Uboot and starts loading the kernel and OS from the same partition, which was selected by Uboot. Once the OS is completely loaded, the loader informs Uboot that the OS was loaded from the same partition, which was selected by Uboot.

In case Uboot does not receive the confirmation from the loader, then in the next boot Uboot change the boot partition and selects the backup partition as the boot partition and sets the flag. This information is passed to the loader. Now the device will boot from the backup partition.

If you boot the device, which was booted from the backup partition, it follows the same process; that is it will mark the primary partition as the boot partition by setting the flag and the information is passed to the loader.
 
Modification History:

2017-11-02: Added new SRX 300 series to product categories.

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Security Alerts and Vulnerabilities

Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search