cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1610
Views
10
Helpful
8
Replies

always boot into ROMMON ,can manually boot from flash

Sonnywo
Level 1
Level 1

My cisco2921 router always boots into ROMMON. I can manually boot it by using the IOS in flash0.

What's the problem? what can I do?

Thanks in advance!

The following is the output of console:

System Bootstrap, Version 15.0(1r)M16, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 2012 by cisco Systems, Inc.

 

Total memory size = 512 MB - On-board = 512 MB, DIMM0 = 0 MB

CISCO2921/K9 platform with 524288 Kbytes of main memory

Main memory is configured to 72/-1(On-board/DIMM0) bit mode with ECC enabled

 

Readonly ROMMON initialized

program load complete, entry point: 0x80803000, size: 0x1b340

program load complete, entry point: 0x80803000, size: 0x1b340

 

IOS Image Load Test

___________________

Signature did not verify

Signature DID NOT VERIFY

boot: cannot load "flash0:"

 

System Bootstrap, Version 15.0(1r)M16, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 2012 by cisco Systems, Inc.

 

Total memory size = 512 MB - On-board = 512 MB, DIMM0 = 0 MB

CISCO2921/K9 platform with 524288 Kbytes of main memory

Main memory is configured to 72/-1(On-board/DIMM0) bit mode with ECC enabled

 

Readonly ROMMON initialized

Compact Flash1: Not present

...... ......

rommon 2 > dir flash0:

program load complete, entry point: 0x80803000, size: 0x1b340

Directory of flash0:

 

2      97991400  -rw-     c2900-universalk9-mz.SPA.152-4.M2.bin

23926    3064      -rw-     cpconfig-29xx.cfg

24307    0         drw-     ccpexp

24837    2464      -rw-     home.shtml

23927    229065    -rw-     crashinfo_20131015-093011-UTC

rommon 3 > boot flash0:c2900-universalk9-mz.SPA.152-4.M2.bin

program load complete, entry point: 0x80803000, size: 0x1b340

 

 

IOS Image Load Test

___________________

Digitally Signed Release Software

program load complete, entry point: 0x81000000, size: 0x5d736b0

Self decompressing the image : #################################################

...... ......

C2921>

 

 

8 Replies 8

Leo Laohoo
Hall of Fame
Hall of Fame

Post the complete output to the command "sh version". 

The boot-variable string could be configured to boot into ROMMON.

Thanks!

C2921>show version

Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.2(4)M2, REL

EASE SOFTWARE (fc2)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2012 by Cisco Systems, Inc.

Compiled Wed 07-Nov-12 14:08 by prod_rel_team

 

ROM: System Bootstrap, Version 15.0(1r)M16, RELEASE SOFTWARE (fc1)

 

C2921 uptime is 5 minutes

System returned to ROM by power-on

System image file is "flash0:c2900-universalk9-mz.SPA.152-4.M2.bin"

Last reload type: Normal Reload

Last reload reason: power-on

 

 

 

This product contains cryptographic features and is subject to United

States and local country laws governing import, export, transfer and

use. Delivery of Cisco cryptographic products does not imply

third-party authority to import, export, distribute or use encryption.

Importers, exporters, distributors and users are responsible for

compliance with U.S. and local country laws. By using this product you

agree to comply with applicable laws and regulations. If you are unable

to comply with U.S. and local laws, return this product immediately.

 

A summary of U.S. laws governing Cisco cryptographic products may be found at:

http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

 

If you require further assistance please contact us by sending email to

export@cisco.com.

 

Cisco CISCO2921/K9 (revision 1.0) with 487424K/36864K bytes of memory.

Processor board ID FGL1711115S

3 Gigabit Ethernet interfaces

1 terminal line

DRAM configuration is 64 bits wide with parity enabled.

255K bytes of non-volatile configuration memory.

250880K bytes of ATA System CompactFlash 0 (Read/Write)

 

 

License Info:

 

License UDI:

 

-------------------------------------------------

Device#   PID                   SN

-------------------------------------------------

*0        CISCO2921/K9          FGL1711115S

 

 

 

Technology Package License Information for Module:'c2900'

 

-----------------------------------------------------------------

Technology    Technology-package           Technology-package

              Current       Type           Next reboot

------------------------------------------------------------------

ipbase        ipbasek9      Permanent      ipbasek9

security      None          None           None

uc            None          None           None

data          None          None           None

 

Configuration register is 0x2102


@Sonnywo wrote:

boot: cannot load "flash0:"


Can we see the output to the following commands: 

sh run | include boot
sh bootvar

Update the firmware of the router as well.  The current one is >7 years old.   

It works now. Thank you so much!

The output and what I did:

rommon 4 > confreg

 

 

           Configuration Summary

   (Virtual Configuration Register: 0x2102)

enabled are:

load rom after netboot fails

console baud: 9600

boot: image specified by the boot system commands

      or default to: cisco2-CISCO2921/K9

 

do you wish to change the configuration? y/n  [n]:

... ...

C2921(config)#boot system flash0 c2900-universalk9-mz.SPA.152-4.M2.bin

... ...


@Sonnywo wrote:

C2921(config)#boot system flash0 c2900-universalk9-mz.SPA.152-4.M2.bin


The boot variable string syntax is not correct. 

The router will boot the first useable image.

syntax is not correct? but the system didn't  give an error:

C2921(config)#boot system flash0 c2900-universalk9-mz.SPA.152-4.M2.bin

C2921(config)#exit

C2921#wr


@Sonnywo wrote:

syntax is not correct? but the system didn't  give an error:


Because you were not watching carefully.  The syntax boot system flash0 c2900-universalk9-mz.SPA.152-4.M2.bin is not correct.
But it is OK.  The developers have coded a fall-back where the router will boot the first useable IOS.

Thanks for you patience!

Review Cisco Networking for a $25 gift card