Starting in CTPOS 9.0R1, the compact flash contains two partitions each of which can have its own CTPOS version. If you use the dual image script, which comes with the CTPOS 9.0R1 upgrade package to create the two partitions, image1 will be the existing image (must be 7.1 or later) and image2 will be 9.0R1. However, there is another way to create a dual-imaged compact flash.
This article explains how to create a dual-imaged compact flash by using the alternative method.
A CTP flash image is available that will create a dual-imaged compact flash by using the dd command in Linux.
dd
Note: The flash image is g-zipped on the Juniper download site and will occupy 4Gb of disk space after it is unzipped. So you need to make sure that you have at least that much space on the Linux server.
Perform the following steps to burn the CTPOS 9.0R1 flash image:
Extract the g-zipped flash image file flash_9.0R1.img on any Linux system by using the following command:
flash_9.0R1.img
gunzip flash_9.0R1.img.gz
Install the compact flash on a USB/compact flash adapter, and then install it on a Linux server. Make sure to note the device name when it mounts, for example: /dev/sda .
/dev/sda
cd to the folder where the unzipped flash_9.0R1.img file resides.
cd
Use the dd command to copy the image to the compact flash that is mounted on the Linux system. For example:
dd if=flash_9.0R1.img of=/dev/sdc bs=1M << In this example, the compact flash is mounted as /dev/sdc.
When the dd command completes, install the compact flash on the CTP platform and power it up. You will notice that there are two 9.0R1 images when the grub loader screen appears.
Note: It is not possible to "downgrade" one of the images to a 7.x release at this time.