Can anybody help me about boot prom password recovery? One of our switches has an error : “Error: Network OS is not ready. Please login later”. I dediced to re-install firmware but when I tried to enter command shell on u-boot, asks me password. We couldnt find the it. How to reset boot prom password?
Best answer by Truyen Phan
Also, “Error: Network OS is not ready. Please login later” means that the configuration DB is corrupted possibly due to ungraceful shutdown, so NOS didn’t fully initialized.
Once the boot prom password is recovered, you can do the following to default the config which will allow the OS to fully initialize.
- Power cycle the switch and get into Boot PROM (Hit ESC during AutoBoot)
3at the prompt to open the command shell
setenv bootargs 'root=/dev/sda$prt rootfstype=ext4 quiet S'
mount -vo remount,rw,noatime /
mount /dev/sda2 /mnt
/fabos/sbin/cfgcleanupto default the configuration on bootup
bootenv bootargs 'root=/dev/sda$prt rootfstype=ext4 quiet'
"partman -r" to reboot