How to change the controller boot partition from cpboot?

Aruba Employee

Introduction :

 

This article speaks about changing the boot partition from Cpboot> mode. use case scenario's where controller get stuck in one boot partition can be made to boot from other. This reduces down time and controller can be brought up and running with an image in other partition.

 

Feature Notes :

 

 

  • Flash contains two partitions:  0:0 and 0:1
  •  Console access to the device is required.

Environment :

 

This article applies to all Aruba Mobility Controller irrespective of ArubaOS code version.

 

Network Topology :

 

Computer with Serial port connected to console port on Controller.

 

 

Configuration Steps :

 

There are two system partitions dedicated to store the controller image files. These partitions are named 0:0 and 0:1 respectively.
 
To change the boot partition from the cpboot, follow these steps:
 
1. Obtain access to the controller via console access.
2. Break the auto boot sequence during the controller reboot.
 
To break into the cpboot mode, when the following prompt appears on the console screen, hit any key to go into the cpboot mode.
 
Hit any key to stop autoboot: 0
 
To change the boot partition to 0:0, type the following command on the cpboot prompt:
 
cpboot> bootf 0:0
 
To change the boot partition to 0:1, type the following command on the cpboot prompt:
 
cpboot> bootf 0:1
 

Example:

Changing the boot partition to 0:0
 
<-- Output Truncated -->

 
Hit any key to stop autoboot: 0

cpboot>
cpboot> bootf 0:1
Loading image 0:1#####################
<-- Output Truncated -->

 

Verification :

 

Once the controller boots completely, use the command "Show Image Version" to verify if the controller has boot using the correct partition.

(Master) #show image version

----------------------------------
Partition               : 0:0 (/dev/hda1)
Software Version        : ArubaOS 5.0.4.15 (Digitally Signed - Production Build)
Build number            : 41905
Label                   : 41905
Built on                : Thu Jan 23 16:22:01 PST 2014
----------------------------------
Partition               : 0:1 (/dev/hda2) **Default boot**
Software Version        : ArubaOS 3.4.5.1 (Digitally Signed - Production Build)
Build number            : 31936
Label                   : 31936
Built on                : Mon Jan 16 09:12:07 PST 2012



(NOTE**Default boot** indicates the current partition of the controller)

 

 

 

 

Version history
Revision #:
1 of 1
Last update:
‎07-04-2014 12:49 AM
Updated by:
 
Labels (1)
Contributors
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: