06-04-2024 09:07 AM
ncs5501 - stuck in sysadmin mode - how to return to router rp0 user mode
06-04-2024 11:36 AM
If you are in the sysadmin prompt or any shell prompt you should be able to enter 'exit' and return to the prior prompt. Are you on console? Its also possible someone entered 'ctrl' + 'o' (as in orange) to change the console between the 3 modes, simply enter that sequence again to switch to a different prompt.
Sam
06-07-2024 05:05 AM
06-10-2024 02:21 PM
08-08-2024 04:22 PM
Hello Smilstea,
I'm getting the same error, it does not seem to connect to the LXC.
connecting from 'sysadmin' console. Continue(Y/N)?
y
Connecting to 'sysadmin' console
▒▒▒▒▒▒▒▒
sysadmin-vm:0_RP0#
Disconnecting from 'sysadmin' console. Continue(Y/N)?
Y
Connecting to 'sysadmin' console
▒▒▒▒▒▒▒▒
Disconnecting from 'sysadmin' console. Continue(Y/N)?
Y
Connecting to 'sysadmin' console
▒▒▒▒▒▒▒▒
sysadmin-vm:0_RP0#
Disconnecting from 'sysadmin' console. Continue(Y/N)?
Y
Connecting to 'host' console
host login: Disconnecting from host console. Continue(Y/N)?
Connecting to 'host' console
host login:
host login: cisco
Password:
[host:0_RP0:/misc/disk1]$ Disconnecting from host console. Continue(Y/N)?
Y
#### Waiting for '' lxc to be ready. ####
If you want to connect to available console, press 'Ctrl-o' <'o' as in orange>
after this it does not do anything but takes me back to sysadmin-vm:0_RP0#
Thank you for your help, any advice or suggestion is appreciated.
01-14-2025 02:29 PM
pase de ctrl + o, de modo a modo hasta que me funciono correctamente.
01-14-2025 03:36 PM
Vamos hacer la prueba nuevamente.
1. Y despues que entre en este modo lo tienes que hacer cada vez que reinicie el router ? (apagar y prender)
2. Cuanto tiempo te tomo? que version?
Gracias por el feedback.
04-30-2025 09:00 AM
Hello
I recently encountered the same problem. Have you solved it?
Any suggestions would be greatly appreciated.
04-30-2025 11:44 AM
Hello Tim,
It did NOT work for me, but previous comment says to press ctrl + o multiple times to switch from mode to mode. if you are not able then I would suggest to do a recovery install via USB with recovery image. It could be that the OS files got corrupted.
05-01-2025 11:20 PM
Thank you Jmartinex20.
I am following your suggestion to use the USB recovery system, but I encountered the following, have you encountered this problem when restoring the system? Thank you.
error: cannot read variable.
Booting from USB..
Loading Kernel..
Verifying @K?O...
Image verified successfully. Booting..
(loop)/boot/bzImage verified using ciscosec protocol.
Verifying @E?O...
Image verified successfully. Booting..
(loop)/boot/bzImage verified using ciscosec protocol.
Loading initrd..
Verifying ?]?O...
Image verified sucessfully. Booting...
(loop)/boot/initrd.img verified using ciscosec protocol.
error: cannot read variable.
Press any key to continue...
05-02-2025 09:52 AM
what version are you installing? what is the name of the image?
when you turn on the unit, Press ESC to enter in BIOS mode and then select your USB with recovery image.
From RP BIOS boot manager menu - Use this method if Admin LXC is not running:
Note
Use this procedure only on active RP; the standby RP must either be powered OFF or removed from the chassis. After the active RP is installed with images from USB, insert or power ON the standby RP as appropriate.
Insert the USB drive.
Connect to the console.
Power the router.
Press Esc or Del to pause the boot process and get the RP to BIOS menu.
Select the USB from the boot menu on the RP to which the USB is connected to. The RP boot the image from USB and installs the image onto the hard disk. The router boots from the hard disk after installation.
Note
If there is no space in the RP, a prompt to either cancel the installation, or to continue with formatting the disk is displayed.
05-08-2025 04:00 AM
Hello Jmartinez20,
Thank you for the information.
I just pressed ESC, entered BIOS, and selected USB boot.
But I found a problem, "error: no such device: ((hd0,msdos1)/EFI/BOOT)/EFI/BOOT/grub.cfg." Does this sentence mean that the hard disk of NCS540 is invalid or broken?
Image Name = \EFI\BOOT\BOOTX64.EFI
Image Size = 890940 Bytes
------------Cisco Secure Boot: Begin ------------
-----------Cisco Secure Boot: Verifying-----------
Image verified successfully. Booting..
------------Cisco Secure Boot: End ------------
Welcome to GRUB!
error: cannot read variable.
error: cannot read variable.
error: no such device: ((hd0,msdos1)/EFI/BOOT)/EFI/BOOT/grub.cfg.
Verifying (hd0,msdos1)/EFI/BOOT/grub.cfg...
Verifying (hd0,msdos1)/EFI/BOOT/grub.cfg...
error: the argument `--speed=auto' requires an integer.
error: terminal `serial' isn't found.
GNU GRUB version 2.04
05-08-2025 09:04 AM
what image are you using? you have to use something similar to ncs5500-usb_boot-7.7.21 and make sure to extract the file from the USB this will make it bootable.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide