Once you recover the password as cappali suggested you can do the following to boot and upgrade the second partition if that partition doesn't have the code you already want :
(controller) #copy tftp: 10.10.10.3 ArubaOS system: partition 1
(controller) #boot system partition 1
And then reboot.
If you can't reach the controller through your local network then you have to connect directly to one of the network ports