The article describe the [EX3300] Root password recovery procedure when there is a failure and not able to enter the recovery mode
Interrupt the boot sequence when below prompt seen.
Hit [Enter] to boot immediately, or space bar for command prompt.Booting [kernel] in 1 second...
At the following prompt, type boot -s to start up the system in single-user mode:
loader> boot -s
Type recovery
Enter the full path of the shell or recovery for the recovery of the root password or RETURN for / bin / sh: recovery
A message will be displayed i.e we are not able to enter the recovery mode.
perform the required operation before exiting and allowingthis script to continue operation.continue, shell, abort, retry, or reboot ?
1. Get into u-boot prompt (=>) by pressing [Ctrl + C] key combination at the beginning of the system boot process.
U-Boot 1.1.6 (Feb 6 2008 - 11:27:42)Board: EX4200-24F 2.20EPLD: Version 6.1 (0x85)DRAM: Initializing (1024 MB)FLASH: 8 MBUSB: scanning bus for devices... 2 USB Device(s) found <<<<< Type Ctrl + C herescanning bus for storage devices... 1 Storage Device(s) found=>
2. Remove 'boot_unattended' environment variable
=> printenvbootdelay=1baudrate=9600....boot_unattended=0..=> setenv boot_unattended=> printenv..<<<<< /* boot_unattended is not listed anymore */
3. Issue "boot" command to get into "loader>"
=> bootConsoles: U-Boot consoleFound compatible API, ver. 7FreeBSD/PowerPC U-Boot bootstrap loader, Revision 2.1<snip>Hit [Enter] to boot immediately, or space bar for command prompt. <<<<< press "Space" hereType '?' for a list of commands, 'help' for more detailed help.loader> boot -s...System watchdog timer disabledEnter full pathname of shell or 'recovery' for root password recovery or RETURN for /bin/sh: recovery <<<<< enter "recovery" here<snip>{linecard:0}root> configureEntering configuration mode{linecard:0}[edit]root# set system root-authentication plain-text-passwordNew password:Retype new password:{linecard:0}[edit]root# commit2010-01-01 00:31:54 UTC: Running FIPS Self-testsveriexec: no signatures for device. file='/sbin/kats/cannot-exec' fsid=75 fileid=51404 gen=1 uid=0 pid=3042010-01-01 00:31:57 UTC: FIPS Self-tests Passedcommit complete