Supported Platforms
Related Documentation
- ACX Series
- Junos OS Release 12.2 or Later Upgrades with Dual-Root Partitioning on ACX Series Routers
- Installing Junos OS Using a USB Storage Device on ACX Series Routers
- Installing Junos OS Upgrades from a Remote Server on ACX Series Routers
- Additional Information
- Installation and Upgrade Guide
Example: Installing Junos OS and Configuring a Dual-Root Partition on ACX Series Routers Using the CLI
This example shows how to install Junos OS Release 12.2 or later and configure a dual-root partition on ACX Series routers with the CLI.
Requirements
This example requires an ACX Series router. Before you begin, back up any important data.
Overview
This example formats the NAND Flash device and installs the new Junos OS image on the media with dual-root partitioning. Install the Junos OS Release 12.2 or later image from the CLI by using the request system software add command. Partitions are automatically created on ACX Series routers and no option needs to be manually entered for creating partitions. This command copies the image to the device, and then reboots the device for installation. The device boots with the Release 12.2 or later image installed with the dual-root partitioning scheme. The formatting and installation process is scheduled to run on the next reboot. Therefore, we recommend that this option be used together with the reboot option.
![]() | Note: The process might take 15 to 20 minutes. The system is not accessible over the network during this time. |
![]() | Warning: Using the request system software add command erases the existing contents of the media. Only the current configuration is preserved. You should back up any important data before starting the process. |
![]() | Note: Dual, internal NAND Flash device (first daOs1, then daOs2) and USB storage device are the storage media available on the ACX Series router. The USB storage device is not dual-root partitioned. |
In this example, add the software package junos-juniper-12.2R1.9-domestic.tgz with the following options:
- no-copy option to install the software package. However, do not save the copies of the package files. You should include this option if you do not have enough space on the internal media to perform an upgrade that keeps a copy of the package on the device.
- no-validate option to bypass the compatibility check with the current configuration before installation starts.
- reboot option to reboot the device after installation is completed.
Configuration
CLI Quick Configuration
To install Junos OS Release 12.2 or later and configure dual-root partitioning on ACX Series routers, copy the following command, paste it in a text file, remove any line break, and then copy and paste the command into the CLI.
From operational mode, enter:
Step-by-Step Procedure
To install Junos OS Release 12.2 or later and configure a dual-root partition:
- Upgrade the ACX Series router to Junos OS Release 12.2 or later using the CLI. See Upgrading Software Packages.
- Install Junos OS Release 12.2 or later and configure the
dual-root partition.user@host>request system software add junos-juniper-12.2R1.9-domestic.tgz no-copy no-validate rebootCopying package junos-juniper-12.2R1.9-domestic.tgz to var/tmp/install Rebooting ...
Results
In operational mode, confirm your configuration by entering the show system storage command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.
Sample output on a system with dual-root partitioning that displays information about the root partition that is mounted (only one root partition is mounted at a point in time):
Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 872M 150M 713M 17% / devfs 1.0K 1.0K 0B 100% /dev /dev/md0 41M 41M 0B 100% /packages/mnt/jbase /dev/md1 183M 183M 0B 100% /packages/mnt/jkernel-ppc-12.2I20121026_1217_sranjan /dev/md2 30M 30M 0B 100% /packages/mnt/jpfe-ACX-12.2I20121026_1217_sranjan /dev/md3 9.1M 9.1M 0B 100% /packages/mnt/jdocs-12.2I20121026_1217_sranjan /dev/md4 55M 55M 0B 100% /packages/mnt/jroute-ppc-12.2I20121026_1217_sranjan /dev/md5 12M 12M 0B 100% /packages/mnt/jcrypto-ppc-12.2I20121026_1217_sranjan /dev/md6 1.0G 8.0K 951M 0% /tmp /dev/md7 1.0G 448K 950M 0% /mfs /dev/da0s1e 92M 18K 91M 0% /config procfs 4.0K 4.0K 0B 100% /proc /dev/da0s3f 3.9G 3.6G 30M 99% /var /dev/da0s3d 447M 2.8M 409M 1% /var/log
If you are done configuring the device, enter commit in configuration mode.
You can issue the fdisk command from the Junos prompt to display information about the entire partition format on the NAND Flash device. All ACX Series routers run with dual-root partitioning. The following example displays the partition details on an ACX Series router with dual-root partitions:
******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=487 heads=255 sectors/track=63 (16065 blks/cyl) parameters to be used for BIOS calculations are: cylinders=487 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 567, size 1011528 (493 Meg), flag 80 (active) beg: cyl 0/ head 9/ sector 1; end: cyl 62/ head 254/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 1012662, size 1011528 (493 Meg), flag 0 beg: cyl 63/ head 9/ sector 1; end: cyl 125/ head 254/ sector 63 The data for partition 3 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 2024757, size 3581928 (1748 Meg), flag 0 beg: cyl 126/ head 9/ sector 1; end: cyl 348/ head 254/ sector 63 The data for partition 4 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 5607252, size 2200338 (1074 Meg), flag 0 beg: cyl 349/ head 9/ sector 1; end: cyl 485/ head 254/ sector 63
In the preceding example, partition 1 and 2 contain two partitions each internally, a root partition and a configuration partition.
Verification
Confirm that the configuration is working properly.
Verifying the Partitioning Scheme Details
Purpose
Verify that the partitioning scheme details on the ACX Series router were configured.
Action
In operational mode, enter the show system storage command. For details about the output of this command and the descriptions of the output fields, see show system storage.
Related Documentation
- ACX Series
- Junos OS Release 12.2 or Later Upgrades with Dual-Root Partitioning on ACX Series Routers
- Installing Junos OS Using a USB Storage Device on ACX Series Routers
- Installing Junos OS Upgrades from a Remote Server on ACX Series Routers
- Additional Information
- Installation and Upgrade Guide
Published: 2013-01-11
Supported Platforms
Related Documentation
- ACX Series
- Junos OS Release 12.2 or Later Upgrades with Dual-Root Partitioning on ACX Series Routers
- Installing Junos OS Using a USB Storage Device on ACX Series Routers
- Installing Junos OS Upgrades from a Remote Server on ACX Series Routers
- Additional Information
- Installation and Upgrade Guide