cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1517
Views
0
Helpful
6
Replies

Cisco IOS Upgrade Help

RBM01991
Level 1
Level 1

Good morning team,

 

I'm upgrading the IOS on my 3945 this morning, and I think I accidentally deleted something I wasn't supposed to. Now I was able to do recovery via ROMMON and the tftpdnld -r command and get the upgraded image loaded into the router successfully.

 

However I did a reload command to see if the device would reboot like normal and it booted into ROMMON again and it said it could not open the IOS image..

 

So I used the following command to set the boot image:

boot system flash flash0:c3900-universalk9-mz.SPA.157-3.M5.bin

Hit reload again and it still booted into ROMMON and I had to do the tftpdnld -r command to reload the image.

 

So what am I missing? Below is the sh ver output.

 

Cisco IOS Software, C3900 Software (C3900-UNIVERSALK9-M), Version 15.7(3)M5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2019 by Cisco Systems, Inc.
Compiled Fri 27-Sep-19 06:44 by prod_rel_team

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

HomeRouter-001 uptime is 29 minutes
System returned to ROM by reload at 13:05:27 EST Tue Dec 31 2019
System image file is "tftp://192.168.1.2/c3900-universalk9-mz.SPA.157-3.M5.bin"
Last reload type: Normal Reload
Last reload reason: Reload Command



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 CISCO3945-CHASSIS (revision 1.0) with C3900-SPE150/K9 with 1835264K/261888K bytes of memory.
Processor board ID FTX1601AHU4
1 FastEthernet interface
3 Gigabit Ethernet interfaces
1 terminal line
1 Virtual Private Network (VPN) Module
DRAM configuration is 72 bits wide with parity enabled.
255K bytes of non-volatile configuration memory.
1000944K bytes of ATA System CompactFlash 0 (Read/Write)
250880K bytes of ATA CompactFlash 1 (Read/Write)


License Info:

License UDI:

-------------------------------------------------
Device#   PID                   SN
-------------------------------------------------
*1        C3900-SPE150/K9       




Suite License Information for Module:'c3900'

--------------------------------------------------------------------------------
Suite                 Suite Current         Type           Suite Next reboot    
--------------------------------------------------------------------------------
FoundationSuiteK9     None                  None           None                 
securityk9
datak9

AdvUCSuiteK9          None                  None           None                 
uck9
cme-srst
cube


Technology Package License Information for Module:'c3900'

------------------------------------------------------------------------
Technology    Technology-package                  Technology-package
              Current              Type           Next reboot
------------------------------------------------------------------------
ipbase        ipbasek9             Permanent      ipbasek9
security      securityk9           Permanent      securityk9
uc            uck9                 Permanent      uck9
data          datak9               RightToUse     datak9

Configuration register is 0x2102
6 Replies 6

Oleg Volkov
Spotlight
Spotlight
Hi.
In ROMMON enter dev and look at available devices, then do dir bootflash: or other available devices.
Do “set” and check BOOT variable
--------------------------------------------------------------------------

Helping seriously ill children, all together. All information about this, is posted on my blog

boot system flash flash0:c3900-universalk9-mz.SPA.157-3.M5.bin

 
Should be

boot system flash0:c3900-universalk9-mz.SPA.157-3.M5.bin

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Leo Laohoo
Hall of Fame
Hall of Fame
Console into the router and reboot the router. I want to see what the router is trying to do.

System Bootstrap, Version 15.0(1r)M13, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2011 by cisco Systems, Inc.

Total memory size = 4096 MB - DIMM0 = 2048 MB, DIMM1 = 2048 MB
CISCO3945-CHASSIS with C3900-SPE150/K9 with 4194304 Kbytes of main memory
Main memory is configured to 72/72(dimm 0/1) bit mode with ECC enabled

Readonly ROMMON initialized
program load complete, entry point: 0x4000000, size: 0x18fa0
program load complete, entry point: 0x4000000, size: 0x18fa0
loadprog: error - not an executable ELF file
boot: cannot load "flash:"

System Bootstrap, Version 15.0(1r)M13, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2011 by cisco Systems, Inc.

Total memory size = 4096 MB - DIMM0 = 2048 MB, DIMM1 = 2048 MB
CISCO3945-CHASSIS with C3900-SPE150/K9 with 4194304 Kbytes of main memory
Main memory is configured to 72/72(dimm 0/1) bit mode with ECC enabled

Readonly ROMMON initialized
program load complete, entry point: 0x4000000, size: 0x18fa0
loadprog: error - not an executable ELF file
boot: cannot load "flash:c3900e-universalk9-mz.SPA.157-3.M5.bin"

System Bootstrap, Version 15.0(1r)M13, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2011 by cisco Systems, Inc.

Total memory size = 4096 MB - DIMM0 = 2048 MB, DIMM1 = 2048 MB
CISCO3945-CHASSIS with C3900-SPE150/K9 with 4194304 Kbytes of main memory
Main memory is configured to 72/72(dimm 0/1) bit mode with ECC enabled

Readonly ROMMON initialized
program load complete, entry point: 0x4000000, size: 0x18fa0
open(): Open Error = -13
loadprog: error - on file open
boot: cannot load "flash0:c3900-universalk9-mz.SPA.157-3.M5.bin"

System Bootstrap, Version 15.0(1r)M13, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2011 by cisco Systems, Inc.

Total memory size = 4096 MB - DIMM0 = 2048 MB, DIMM1 = 2048 MB
CISCO3945-CHASSIS with C3900-SPE150/K9 with 4194304 Kbytes of main memory
Main memory is configured to 72/72(dimm 0/1) bit mode with ECC enabled

Readonly ROMMON initialized
program load complete, entry point: 0x4000000, size: 0x18fa0
program load complete, entry point: 0x4000000, size: 0x18fa0
loadprog: error - not an executable ELF file
boot: cannot load "flash0:"

System Bootstrap, Version 15.0(1r)M13, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2011 by cisco Systems, Inc.

Total memory size = 4096 MB - DIMM0 = 2048 MB, DIMM1 = 2048 MB
CISCO3945-CHASSIS with C3900-SPE150/K9 with 4194304 Kbytes of main memory
Main memory is configured to 72/72(dimm 0/1) bit mode with ECC enabled

Readonly ROMMON initialized
program load complete, entry point: 0x4000000, size: 0x18fa0
boot: cannot determine first executable file name ondevice "flash1:"

System Bootstrap, Version 15.0(1r)M13, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2011 by cisco Systems, Inc.

Total memory size = 4096 MB - DIMM0 = 2048 MB, DIMM1 = 2048 MB
CISCO3945-CHASSIS with C3900-SPE150/K9 with 4194304 Kbytes of main memory
Main memory is configured to 72/72(dimm 0/1) bit mode with ECC enabled

Readonly ROMMON initialized
program load complete, entry point: 0x4000000, size: 0x18fa0
program load complete, entry point: 0x4000000, size: 0x18fa0
loadprog: error - not an executable ELF file
boot: cannot load "flash0:"

System Bootstrap, Version 15.0(1r)M13, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2011 by cisco Systems, Inc.

Total memory size = 4096 MB - DIMM0 = 2048 MB, DIMM1 = 2048 MB
CISCO3945-CHASSIS with C3900-SPE150/K9 with 4194304 Kbytes of main memory
Main memory is configured to 72/72(dimm 0/1) bit mode with ECC enabled

Readonly ROMMON initialized
rommon 1 >

That's what it does.

Wait ... ISR G2 ... Why is the boot variable string point to "flash0:" and "flash1:"?
There's only one and it's called "flash:".
Post the complete output to the command "dir flash:" (in ROMMON).

Never mind guys I figured it out. I just removed the second flash card, and did a standard copy tftp flash command and it works just fine now.

Review Cisco Networking for a $25 gift card