Upgrading to Dual Image on CTP150 and CTP2000 Series Devices
You can upgrade to CTPOS 9.1R3 on a CTP150 and CTP2000 Series device through three different interface methods.
- CLI or manual
- USB
- CTPView
Upgrading to Dual Image on CTP150 or CTP2000 Series Device
Installing Dual Image on CTP150 or CTP2000 Series Device Manually through CLI
The following steps illustrate how to manually upgrade to a CTPOS 9.1R3 dual image from an existing single image or a dual image using CLI commands.
The steps involved to upgrade dual image on a CTP150 or CTP2000 series device varies from the steps to upgrade dual image on a CTP151 device.
The package acorn_310_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz is needed to upgrade to CTPOS 9.1R3 on CTP150 or CTP2000 Series devices running CTPOS 9.0Rx and acorn_429_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz package is needed to upgrade to CTPOS 9.1R3 on CTP150 or CTP2000 Series devices running CTPOS 7.3Rx. This package, when executed:
On a single image system, it will |
|
On a dual image system, will | Prepare the system to accept image upgrade tar ball (create RAM disk). |
The “upgrade” program is executed to run acorn_310_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz or acorn_429_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz package on CTP2000 and CTP150.
When running “upgrade” program from a CTPOS version 9.x, the acorn_310_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz is required.
When running “upgrade” program from a CTPOS version 7.x, the acorn_429_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz is required.
The following steps show how to upgrade to a CTPOS 9.1R3 dual image on an existing CTPOS 9.0R1 on a CTP150 device.
- Copy acorn_310_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz to
/tmp
of CTP Device.
/tmp#scp acorn_310_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz ctp_cmd@10.216.118.87:/tmp
No login banner configured
Password: - Run "upgrade y" on CTP Node. You can also run “upgrade”
to execute in interactive way.
Note This “upgrade” program, when issued with the “y” option, will execute non-interactively, and not ask the you for any inputs. If you want to guide the upgrade process, then you must execute “upgrade” instead.
[root@ctp_87:/tmp 4]# upgrade y
[root@ctp_219:/tmp 26]# ls acorn_310_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz [root@ctp_219:/tmp 15]# upgrade y CTP system software upgrade utility - Version 1.5.0 Found kernel version 3.14.39ltsi-WR7.0.0.27_standard. Could not set KVER. Exiting..\n\nChecking for active menu sessions Found USB storage device... Mounting System version is 310 Here is a list of all the found compatible CTP code archive files: /tmp/acorn_310_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz Removing old installation residue... /tmp/acorn_310_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz is the newest archive file... Copying /tmp/acorn_310_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz to /tmp cp: '/tmp/acorn_310_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz' and '/tmp/acorn_310_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz' are the same file ===== Uncompressing and Extracting Archive ===== Archive file: /tmp/acorn_310_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz ./acorn_install/ ./acorn_install/gui_instr tar: ./acorn_install/gui_instr: time stamp 2021-08-13 20:41:38 is 57784861.093926227 s in the future ./acorn_install/install tar: ./acorn_install/install: time stamp 2021-08-13 20:34:54 is 57784457.092679816 s in the future tar: ./acorn_install: time stamp 2021-08-13 20:41:30 is 57784853.092440233 s in the future Running install non-interactively !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!! You are executing in Non-Interactive Mode !!!! SYSTEM will *REBOOT* automatically once the !!!! execution completes successfully !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Backing up system identity files . . . [ OK ] Shutting down ctp ... Stopping CTP daemon [ OK ] Removing CTP kernel driver [ OK ] Voice Compression driver not loaded Removing Menu Semaphore: [ OK ] Unmounting all partitions of /dev/sda Unmounting Image1...[ OK ] Unmounting all partitions of /dev/sda Mounting Image1 to /mnt/ ...[ OK ] mounting tmpfs at /mnt/ramdisk[ OK ] ============================================================== System Type : CTP150 CPU Type : gluon Flash Type : 4G Compact Flash Currently Running CTPOS : 9.0R1 System State : Running Total RAM Size : 997 MB Free RAM Size : 592 MB No. of partitions on /dev/sda : 9 CTPOS installed on : Image1 & Image2 Running Image : Image1 (9.0R1-comp-190503-160652-load-190518-164510) Non-Running Image : Image2 (9.0R1-comp-190503-160652-load-190518-114638) NOTE: 9.1R3-comp-YYMMDD-HHMMSS-load-YYMMDD-HHMMSS decoded as : 9.1R3 : Release Name comp-YYMMDD-HHMMSS : Root-FS/Kernel compile timestamp load-YYMMDD-HHMMSS : Image upgrade timestamp Dual Image on Flash has two logical images : Image1 - consists Five partitions (1,5,6,7,8) Image2 - consists Five partitions (1,9,10,11,12) First partition(bootable) is common to both Image1 and Image2 ============================================================== *** Image archive not found at /mnt/ramdisk *** *** Please copy CTPOS Image archive .tgz first *** *** and then re-execute dual image upgrade *** !!! NOTE: There is 592 MB available space in /mnt/ramdisk(RAM) !!! If your flash image .tgz is larger than this, *do not* continue !!! with this image upgrade. Please contact JTAC for assistance. Unmounting all partitions of /dev/sda Unmounting all partitions of /dev/sda Mounting Image1 to / ...[ OK ] Exiting... ===== Archive Cleanup ===== Unmounting USB storage device Done... [root@ctp_219:/tmp 16]#
- Copy CTPOS_partitions tar ball to
/mnt/ramdisk
of CTP Node.tmp#scp CTPOS_9.1R3_partitions_ctp150_ctp2k-02_-03_211119.tgz ctp_cmd@10.216.118.87:/mnt/ramdisk
No login banner configured Password:
[root@ctp_87:/tmp 5]# ls -ltrh /mnt/ramdisk/
total 149M -rwxr-xr-x 1 ctp_cmd ctp_cmd 149M Sep 15 12:48
CTPOS_9.1R3_partitions_ctp150_ctp2k-02_-03_211119.tgz - Run "upgrade" on CTP Node. Type “y” when asked
for system reboot. You can run “upgrade y” to execute
in a non-interactive way.
[root@ctp_219:/tmp 16]# upgrade
CTP system software upgrade utility - Version 1.5.0 Found kernel version 3.14.39ltsi-WR7.0.0.27_standard. Could not set KVER. Exiting..\n\nChecking for active menu sessions Found USB storage device... Mounting System version is 310 Here is a list of all the found compatible CTP code archive files: /tmp/acorn_310_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz Removing old installation residue... /tmp/acorn_310_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz is the newest archive file... ****************************************************************** NOTE: CTPOS code upgrades will interrupt data on running circuits. Say "no" to run more interactive or install a different archive) ******************************************************************
Do you want to install the newest archive in quick mode (no questions)? y[n]: n
Do you want to install the newest archive interactively (w/ questions)? y[n]: y
yContinuing... Copying /tmp/acorn_310_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz to /tmp cp: '/tmp/acorn_310_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz' and '/tmp/acorn_310_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz' are the same file ===== Uncompressing and Extracting Archive ===== Archive file: /tmp/acorn_310_dual_image_upgrade_ctp150_ctp2k-02_-03_211119.tgz ./acorn_install/ ./acorn_install/gui_instr tar: ./acorn_install/gui_instr: time stamp 2021-08-13 20:41:38 is 57784688.7664793 s in the future ./acorn_install/install tar: ./acorn_install/install: time stamp 2021-08-13 20:34:54 is 57784284.765239345 s in the future tar: ./acorn_install: time stamp 2021-08-13 20:41:30 is 57784680.765001678 s in the future Running install interactively [ OK ] Unmounting all partitions of /dev/sda Unmounting Image1...[ OK ] Unmounting all partitions of /dev/sda Mounting Image1 to /mnt/ ...[ OK ] ============================================================== System Type : CTP150 CPU Type : gluon Flash Type : 4G Compact Flash Currently Running CTPOS : 9.0R1 System State : Running Total RAM Size : 997 MB Free RAM Size : 444 MB No. of partitions on /dev/sda : 9 CTPOS installed on : Image1 & Image2 Running Image : Image1 (9.0R1-comp-190503-160652-load-190518-164510) Non-Running Image : Image2 (9.0R1-comp-190503-160652-load-190518-114638) NOTE: 9.1R3-comp-YYMMDD-HHMMSS-load-YYMMDD-HHMMSS decoded as : 9.1R3 : Release Name comp-YYMMDD-HHMMSS : Root-FS/Kernel compile timestamp load-YYMMDD-HHMMSS : Image upgrade timestamp Dual Image on Flash has two logical images : Image1 - consists Five partitions (1,5,6,7,8) Image2 - consists Five partitions (1,9,10,11,12) First partition(bootable) is common to both Image1 and Image2 ============================================================== CTPOS_9.1R3_partitions_ctp150_ctp2k-02_-03_211119.tgz Image archive file found at /mnt/ramdisk Verifying CTPOS_9.1R3_partitions_ctp150_ctp2k-02_-03_211119.tgz archive ... CTPOS_9.1R3_partitions_ctp150_ctp2k-02_-03_211119.tgz md5sum - Matched !!! There is 444 MB free space available on /mnt/ramdisk(RAM) Please choose Image no. for upgrading: 1. Upgrade to Image1: 2. Upgrade to Image2: 3. Exit:
Please enter valid input: 2
***Upgrading Image2 partition with CTPOS_9.1R3_partitions_ctp150_ctp2k-02_-03_211119.tgz *** Unmounting all partitions of /dev/sda Mounting Image2 to /mnt/ ...[ OK ] Extracting CTPOS_9.1R3_partitions_ctp150_ctp2k-02_-03_211119.tgz to Image2 ... flash_root.tgz to /mnt/flash_root [ OK ] flash_home.tgz to /mnt/flash_home [ OK ] flash_var.tgz to /mnt/flash_var [ OK ] flash_local.tgz to /mnt/flash_local [ OK ] flash_boot.tgz to /boot [ OK ] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! If you do not transfer system identity files (config and user information), CTP will go to first boot which requires a console connection to complete. You need to have console access to do the password and ethernet configs during first boot. If you transfer your identity files you do not need a console connection (but it is always recommended to use console access for upgrades). When upgrading from CTPOS 7.x release, only the ethernet configs will be transferred and all other configs will be lost. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Are you sure you want to transfer system identity files? y/n :n
*** Proceeding without transferring system identity files. *** *** You need to do first boot after rebooting the system. *** Unmounting Image2...[ OK ] Updating grub conf files... [ OK ] Unmounting all partitions of /dev/sda *** *** Upgrading Image2 partition with CTPOS_9.1R3_partitions_ctp150_ctp2k-02_-03_211119.tgz complete The system needs to be rebooted *** ***
Do you want to reboot system now [y/n]?: y
*** *** !!!!!!!Rebooting System... *** *** INIT: Broadcast message from root@ctp_219 (console) (Tue Oct 15 01:25:27 2019): The system is going down for reboot NOW! Hangup [root@ctp_219:/tmp 17]# iptables: Bad rule (does a matching rule exist in that chain?). ip6tables: Bad rule (does a matching rule exist in that chain?). CTP daemon not running CTP kernel driver not loaded Voice Compression driver not loaded Stopping OpenBSD Secure Shell server: sshd[ OK ] Stopping atd: [ OK ] Stopping system message bus: dbus. Shutting down irqbalance: [ FAIL ] Stopping ntpd: [ OK ] Stopping FreeRADIUS daemon radiusd[ OK ] stopping rsyslogd ... [ OK ] Stopping crond: [ OK ] Stopping snmpd snmpd[1577]: Received TERM or STOP signal... shutting down... [ OK ] Shutting down interface eth0: [ OK ] Shutting down loopback interface: [ OK ] Disabling IPv4 packet forwarding: [ OK ] Backing up /var to nonvolatile storage.. /etc/rc6.d/K80local: line 147: [: 580: unary operator expected /var Backup Failed : Please clean up /var/log Backing up /home to nonvolatile storage.. mount: /flash_home not mounted or bad option In some cases useful info is found in syslog - try dmesg | tail or so. mount: /flash_home not mounted or bad option In some cases useful info is found in syslog - try dmesg | tail or so. mount: /flash_root not mounted or bad option In some cases useful info is found in syslog - try dmesg | tail or so. Backing up / to nonvolatile storage.. mount: /flash_root not mounted or bad option In some cases useful info is found in syslog - try dmesg | tail or so. Sending all processes the TERM signal... logout Sending all processes the KILL signal... Unmounting remote filesystems... Deactivating swap... Unmounting local filesystems... Rebooting... reboot: Restarting system Phoenix TrustedCore(tm) Server Copyright 1985-2007 Phoenix Technologies Ltd. All Rights Reserved Juniper JPR-BIGBYP (B131) V3.0 (05/13/2009) CPU = Intel(R) Celeron(R) D CPU 440 @ 2.00GHz No TPM or TPM has problem 1024M System RAM Passed 512 KB L2 Cache System BIOS shadowed Video BIOS shadowed Fixed Disk 0: AT Press <DEL> to enter SETUP Initializing cgroup subsys cpuset ▒ Initializing cgroup subsys cpu ▒ Initializing cgroup subsys cpuacct ▒ Linux version 3.14.39ltsi-WR7.0.0.27_standard (svikrams@bng-ctp-build2) (gcc version 4.9.1 (Wind River Linux 4.9.1-37) ) #2 SMP Wed Sep 4 19:55:27 IST 2019 KERNEL supported cpus: ▒ Intel GenuineIntel ▒ AMD AuthenticAMD ▒ NSC Geode by NSC ▒ Cyrix CyrixInstead▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Centaur CentaurHaulskeys to select which entry is highlighted. Transmeta GenuineTMx86t the selected OS, 'e' to edit the Transmeta TransmetaCPUoting, 'a' to modify the kernel arguments UMC UMC UMC UMCing, or 'c' for a command-line. e820: BIOS-provided physical RAM map: BIOS-e820: [mem 0x0000000000000000-0x000000000009cbff] usableconds. BIOS-e820: [mem 0x000000000009cc00-0x000000000009ffff] reserved BIOS-e820: [mem 0x00000000000ce000-0x00000000000cffff] reserved BIOS-e820: [mem 0x00000000000dc000-0x00000000000fffff] reserved
The system will reboot and come up with CTPOS 9.1R3 image.
Installing Dual Image on CTP150 or CTP2000 Series device from USB
The USB flash image ctpos_usb_install_9.1R3_ctp150_ctp2k-02_-03_211119.img is needed to upgrade to CTPOS 9.1R3 on a CTP150 or CTP2000 series device.
USB install is not supported for CTP2000 platforms with 02 (PP332) processor.
When USB install for dual upgrade is executed:
On a single image system, it will |
|
On a dual image system, it will | prepare the system to accept image upgrade tar ball (create RAM disk) |
Following steps illustrate how to upgrade dual image CTPOS 9.1R3 on a CTP2000 device with PP833 processor.
- Insert your USB disk into the CTP150 or CTP2000 series
device, and burn the USB install image to it.
ssh root@198.1.1.1 dd if=ctpos_usb_install_9.1R3_ctp150_ctp2k-02_-03_211119.img of=<USB device name> bs=1M
NOTE: Please find the USB device (like /dev/sdb) on the system(fdisk -l) where you have connected USB disk hardware and feed this device name in “of=” in above command.
In the above command, replace "198.1.1.1" IP address with your server IP.
- Reboot CTP Node.
Press F2 key twice to go to the BIOS menu in CTP2000 series device with PP833 processor.
If you are doing USB install on a CTP150 device, press Backspace to enter the BIOS menu. - Press Enter and select Boot Type Order.
- Press Enter. Press <F5> key to display the USB option.
- Press Esc key twice and go to Exit.
- Select Exit Saving Changes and enter Yes.
The system will boot and comes up with USB menu displaying the following.
========================================================== ========================================================== ===== CTPOS USB installation - Version 0.54 ========================================================== ========================================================== --- Checking for programs... Done. --- Detecting system type: CTP2000_PP833 --- Detecting disks/partitions on system... Done. --- Detecting available image files... Only one image file exists: 9.1R3 ----------------------------------------------- Please Select a destination disk from the list: 0) USB Disk /dev/sda (3.8G) -----------------------------------------------
Selection: 0
----------------------------------------------- Here are your installation selections: Image file: 9.1R3 Destination disk: /dev/sda -----------------------------------------------
Continue with installation? y[n]: y
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!kjournald starting. Commit interval 5 seconds EXT3-fs (sdb5): warning: maximal mount count reached, running e2fsck is recommended EXT3-fs (sdb5): using internal journal EXT3-fs (sdb5): mounted filesystem with ordered data mode !!!!!!!!!!!!!!!! !!!! You are executing in Non-Interactive Mode !!!! SYSTEM will *REBOOT* automatically once the !!!! execution completes successfully !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!! During this process, it is possible that you may !!!! lose IP connectivity. Juniper recommends having a !!!! console connection to the device. If you lose IP !!!! connectivity and do not have console access, you !!!! WILL lose access to the device. Backing up system identity files . . . [ OK ] Unmounting all partitions of /dev/sda kjournald starting. Commit interval 5 seconds EXT3-fs (sda1): using internal journal EXT3-fs (sda1): mounted filesystem with ordered data mode Unmounting Image1...[ OK kjournald starting. Commit interval 5 seconds EXT3-fs (sda1): using internal journal EXT3-fs (sda1): mounted filesystem with ordered data mode kjournald starting. Commit interval 5 seconds EXT3-fs (sda5): warning: maximal mount count reached, running e2fsck is recommended EXT3-fs (sda5): using internal journal EXT3-fs (sda5): mounted filesystem with ordered data mode kjournald starting. Commit interval 5 seconds EXT3-fs (sda6): using internal journal EXT3-fs (sda6): mounted filesystem with ordered data mode kjournald starting. Commit interval 5 seconds EXT3-fs (sda7): warning: maximal mount count reached, running e2fsck is recommended EXT3-fs (sda7): using internal journal EXT3-fs (sda7): mounted filesystem with ordered data mode kjournald starting. Commit interval 5 seconds EXT3-fs (sda8): using internal journal EXT3-fs (sda8): mounted filesystem with ordered data mode ] Unmounting all partitions of /dev/sda Mounting Image1 to /mnt/ ...journald starting. Commit interval 5 seconds EXT3-fs (sda1): using internal journal EXT3-fs (sda1): mounted filesystem with ordered data mode [1;34m[ OK ] mounting tkjournald starting. Commit interval 5 seconds EXT3-fs (sda1): using internal journal EXT3-fs (sda1): mounted filesystem with ordered data mode kjournald starting. Commit interval 5 seconds EXT3-fs (sda5): warning: maximal mount count reached, running e2fsck is recommended EXT3-fs (sda5): using internal journal EXT3-fs (sda5): mounted filesystem with ordered data mode kjournald starting. Commit interval 5 seconds EXT3-fs (sda6): using internal journal EXT3-fs (sda6): mounted filesystem with ordered data mode kjournald starting. Commit interval 5 seconds EXT3-fs (sda7): warning: maximal mount count reached, running e2fsck is recommended EXT3-fs (sda7): using internal journal EXT3-fs (sda7): mounted filesystem with ordered data mode kjournald starting. Commit interval 5 seconds EXT3-fs (sda8): using internal journal EXT3-fs (sda8): mounted filesystem with ordered data mode mpfs at /mnt/ramdisk[ OK ] ============================================================== System Type : CTP2000 CPU Type : pp833 Flash Type : 4G Compact Flash Currently Running CTPOS : 7.3R7 System State : Running Total RAM Size : 8043 MB Free RAM Size : 7290 MB No. of partitions on /dev/sda : 9 CTPOS installed on : Image1 & Image2 Running Image : Image1 (2.4.29) Non-Running Image : Image2 (9.0R1-comp-190503-160652-load-210705-163325) NOTE: 9.1R3-comp-YYMMDD-HHMMSS-load-YYMMDD-HHMMSS decoded as : 9.1R3 : Release Name comp-YYMMDD-HHMMSS : Root-FS/Kernel compile timestamp load-YYMMDD-HHMMSS : Image upgrade timestamp Dual Image on Flash has two logical images : Image1 - consists Five partitions (1,5,6,7,8) Image2 - consists Five partitions (1,9,10,11,12) First partition(bootable) is common to both Image1 and Image2 ============================================================== *** Image archive not found at /mnt/ramdisk *** *** Please copy CTPOS Image archive .tgz first *** *** and then re-execute dual image upgrade *** !!! NOTE: There is 7289 MB available space in /mnt/ramdisk(RAM) !!!kjournald starting. Commit interval 5 seconds EXT3-fs (sda1): using internal journal EXT3-fs (sda1): mounted filesystem with ordered data mode If your flash image .tgz is larger than this, kjournald starting. Commit interval 5 seconds EXT3-fs (sda1): using internal journal EXT3-fs (sda1): mounted filesystem with ordered data mode kjournald starting. Commit interval 5 seconds EXT3-fs (sda5): warning: maximal mount count reached, running e2fsck is recommended EXT3-fs (sda5): using internal journal EXT3-fs (sda5): mounted filesystem with ordered data mode kjournald starting. Commit interval 5 seconds EXT3-fs (sda6): using internal journal EXT3-fs (sda6): mounted filesystem with ordered data mode kjournald starting. Commit interval 5 seconds EXT3-fs (sda7): warning: maximal mount count reached, running e2fsck is recommended EXT3-fs (sda7): using internal journal EXT3-fs (sda7): mounted filesystem with ordered data mode kjournald starting. Commit interval 5 seconds EXT3-fs (sda8): using internal journal EXT3-fs (sda8): mounted filesystem with ordered data mode *do not* continue !!! with this image upgrade. Please contact JTAC for assistance. Unmounting all partitions of /dev/sda Unmounting all partitions of /dev/sda Mounting Image1 to / ...[ OK ] Exiting... Command Output: Disk /dev/sda: 3.8 GiB, 4110188544 bytes, 8027712 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x000509ff Device Boot Start End Blocks Id System /dev/sda1 * 2016 201599 99792 83 Linux /dev/sda2 203616 7572095 3684240 5 Extended /dev/sda5 205632 3026015 1410192 83 Linux /dev/sda6 3028032 3126815 49392 83 Linux /dev/sda7 3128832 3227615 49392 83 Linux /dev/sda8 3229632 3832415 301392 83 Linux /dev/sda9 3834432 6654815 1410192 83 Linux /dev/sda10 6656832 6755615 49392 83 Linux /dev/sda11 6757632 6856415 49392 83 Linux /dev/sda12 6858432 7461215 301392 83 Linux Disk /dev/sdb: 29.8 GiB, 32008830976 bytes, 62517248 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x9835fec0 Device Boot Start End Blocks Id System /dev/sdb1 * 2048 206847 102400 83 Linux /dev/sdb2 206848 6291000 3042076+ 83 Linux Copied /root/ CTPOS_9.1R3_partitions_ctp150_ctp2k-02_-03_211119.tgz to /mnt/ramdisk !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!! You are executing in Non-Interactive Mode !!!! SYSTEM will *REBOOT* automatically once the !!!! execution completes successfully !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!! During this process, it is possible that you may !!!! lose IP connectivity. Juniper recommends having a !!!! console connection to the device. If you lose IP !!!! connectivity and do not have console access, you !!!! WILL lose access to the device. [ OK ] Unmounting all partitions of /dev/sda Unmounting Image1...[ OK ] Unmounting all partitions of /dev/sda Mounting Image1 to /mnt/ ...[ OK ] ============================================================== System Type : CTP2000 CPU Type : pp833 Flash Type : 4G Compact Flash Currently Running CTPOS : 7.3R7 System State : Running Total RAM Size : 8043 MB Free RAM Size : 7138 MB No. of partitions on /dev/sda : 9 CTPOS installed on : Image1 & Image2 Running Image : Image1 (2.4.29) Non-Running Image : Image2 (9.0R1-comp-190503-160652-load-210705-163325) NOTE: 9.1R3-comp-YYMMDD-HHMMSS-load-YYMMDD-HHMMSS decoded as : 9.1R3 : Release Name comp-YYMMDD-HHMMSS : Root-FS/Kernel compile timestamp load-YYMMDD-HHMMSS : Image upgrade timestamp Dual Image on Flash has two logical images : Image1 - consists Five partitions (1,5,6,7,8) Image2 - consists Five partitions (1,9,10,11,12) First partition(bootable) is common to both Image1 and Image2 ============================================================== CTPOS_9.1R3_partitions_ctp150_ctp2k-02_-03_211119.tgz Image archive file found at /mnt/ramdisk Verifying CTPOS_9.1R3_partitions_ctp150_ctp2k-02_-03_211119.tgz archive ... CTPOS_9.1R3_partitions_ctp150_ctp2k-02_-03_211119.tgz md5sum - Matched !!! There is 7138 MB free space available on /mnt/ramdisk(RAM) /dev/sda1 on /boot type ext3 (rw,relatime,errors=continue,barrier=1,data=ordered) ***Upgrading Image1 partitiokjournald starting. Commit interval 5 seconds EXT3-fs (sda1): using internal journal EXT3-fs (sda1): mounted filesystem with ordered data mode kjournald starting. Commit interval 5 seconds EXT3-fs (sda5): warning: maximal mount count reached, running e2fsck is recommended EXT3-fs (sda5): using internal journal EXT3-fs (sda5): mounted filesystem with ordered data mode kjournald starting. Commit interval 5 seconds EXT3-fs (sda6): using internal journal EXT3-fs (sda6): mounted filesystem with ordered data mode kjournald starting. Commit interval 5 seconds EXT3-fs (sda7): warning: maximal mount count reached, running e2fsck is recommended EXT3-fs (sda7): using internal journal EXT3-fs (sda7): mounted filesystem with ordered data mode kjournald starting. Commit interval 5 seconds EXT3-fs (sda8): using internal journal EXT3-fs (sda8): mounted filesystem with ordered data mode n with CTPOS_9.1R3_partitions_ctp150_ctp2k-02_-03_211119.tgz *** Unmounting all partitions of /dev/sda Mounting Image1 to /mnt/ ...[ OK ] Extracting CTPOS_9.1R3_partitions_ctp150_ctp2k-02_-03_211119.tgz to Image1 ... flash_root.tgz to /mnt/flash_root [ OK ] flash_home.tgz to /mnt/flash_home [ OK ] flash_var.tgz to /mnt/flash_var [ OK ] flash_local.tgz to /mnt/flash_local [ OK ] flash_boot.tgz to /boot [ OK ] kjournald starting. Commit interval 5 seconds EXT3-fs (sda5): warning: maximal mount count reached, running e2fsck is recommended EXT3-fs (sda5): using internal journal EXT3-fs (sda5): mounted filesystem with ordered data mode Transferring system identity files . . . [ OK ] Unmounting Image1...[ OK ] Updating grub conf files... [ OK ] Unmounting all partitions of /dev/sda *** *** Upgrading Image2 partition with CTPOS_9.1R3_partitions_ctp150_ctp2k-02_-03_211119.tgz complete The system needs to be rebooted *** *** *** *** !!!!!!!Rebooting System... *** ***
- Type F2 key twice to go to BIOS menu in PP833.
- Press Enter and select Boot Type Order.
- Press Enter and press F5 key to see the Hard Disk Drive option as a first boot order priority.
- Press Esc key twice. Go to Exit.
- Select Exit Saving Changes and select Yes.
- The system will boot and come up with 9.1R3 image.
GNU GRUB version 0.97 (624K lower / 3134204K upper memory) ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒Ŀ ▒ CTP_ROOT (9.1R3-comp-211119- 164106-load-211122-192436) ▒ ▒ CTP_ROOT (9.0R1-comp-190503-160652-load-210705-163325) ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, 'a' to modify the kernel arguments before booting, or 'c' for a command-line. The highlighted entry will be booted automatically in 1 seconds.
Installing Dual Image on CTP150 or CTP2000 Series device from CTPView
See Installing CTPOS 9.1R3 Dual Image on CTP device
from CTPView section in CTPView Network Management System Administration Guide