cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
18380
Views
20
Helpful
16
Replies

"boot the first valid file" not working

Petr Nyvlt
Level 1
Level 1

Hello,

I have an issue with router 4321. 

I set the "boot system" variable to load specific file on boot:

 

Router#sh bootvar 
BOOT variable = bootflash:/isr4300-universalk9.03.16.06b.S.155-3.S6b-ext.SPA.bin,12;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102

Standby not ready to show bootvar

 

 

The path is set correctly, it works fine when the file is present in the bootflash.

But I can't find solution to solve situation when this specified file is missing in the bootflash, but there is another valid image present.

 

Directory of bootflash:/

15 -rw- 489931744 Nov 23 2017 23:06:34 +01:00 isr4300-universalk9.03.16.06.S.155-3.S6-ext.SPA.bin

 

 

According to this  Manual

 

  - If all boot commands in the system configuration file specify booting from a network server and all  commands fail, the system attempts to boot the first valid file in Flash memory.

 

But this never happened in my case. The router try to load the specified image and then reboot itself immediately:

 

 

Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.2(2r), RELEASE SOFTWARE
Copyright (c) 1994-2016 by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4321/K9 platform with 4194304 Kbytes of main memory


........

unable to open bootflash:/isr4300-universalk9.03.16.06b.S.155-3.S6b-ext.SPA.bin (14)

........

autoboot: boot failed, restarting...

Resetting .......

 

 

The config register is set to 0x2102, so it should be set correctly. Did I overlook something?

 

 

16 Replies 16

Leo Laohoo
Hall of Fame
Hall of Fame
Can you try a different IOS version?

You mean to load another "alternate image" on the bootflash?

Yes, I can try that, but I am sure that this one is OK. When I break the boot to rommon and boot manually it works fine.

 

unable to open bootflash:/isr4300-universalk9.03.16.06b.S.155-3.S6b-ext.SPA.bin (14)

....

rommon 1 > boot
Located FDO21252TBB_20171123175749575.lic
#

Unsupported package header version (1296383548)
Located tracelogs.027
#

Zero Image size
Located throughput_monitor_params
#

Unsupported package header version (-1347440721)
Located isr4300-universalk9.03.16.06.S.155-3.S6-ext.SPA.bin
#################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################

Package header rev 1 structure detected
IsoSize = 474769408
Calculating SHA-1 hash...Validate package: SHA-1 hash:
        calculated 8FE236DE:F1409C18:DF47B486:0DA50004:C0978CB8
        expected   8FE236DE:F1409C18:DF47B486:0DA50004:C0978CB8

RSA Signed RELEASE Image Signature Verification Successful.
Image validated
%IOSXEBOOT-4-FILESYS_ERRORS_CORRECTED: (rp/0): bootflash 1 contained errors which were auto-corrected.
%IOSXEBOOT-4-FILESYS_ERRORS_CORRECTED: (rp/0): bootflash 5 contained errors which were auto-corrected.
%IOSXEBOOT-4-FILESYS_ERRORS_CORRECTED: (rp/0): bootflash 6 contained errors which were auto-corrected.
%IOSXEBOOT-4-FILESYS_ERRORS_CORRECTED: (rp/0): bootflash 7 contained errors which were auto-corrected.
%IOSXEBOOT-4-FILESYS_ERRORS_CORRECTED: (rp/0): bootflash 8 contained errors which were auto-corrected.
%IOSXEBOOT-4-FILESYS_ERRORS_CORRECTED: (rp/0): bootflash 9 contained errors which were auto-corrected.
%IOSXEBOOT-4-FILESYS_ERRORS_CORRECTED: (rp/0): bootflash 10 contained errors which were auto-corrected.
%IOSXEBOOT-4-BOOT_SRC: (rp/0): mounting /boot/super.iso to /tmp/sw/isos

              Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

           cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706

 

 

Can you post the complete output to the following commands: 

1.  dir

2.  sh run | i boot

3.  sh version

These are the outputs:

I have cleared all configuration except the boot command that points to non-existing image.

The router keeps restarting.

Router#dir
Directory of bootflash:/

   11  drwx            16384   Jul 6 2017 03:18:58 +00:00  lost+found
16289  drwx             4096   Apr 9 2018 13:32:27 +00:00  .prst_sync
   12  -rw-             3261  Nov 25 2017 02:28:59 +00:00  FDO21252P8L_20171123175949576.lic
32577  drwx             4096   Jul 6 2017 03:20:01 +00:00  .installer
358337  drwx             4096   Jul 6 2017 03:52:16 +00:00  core
81441  drwx             4096   Jul 6 2017 03:50:27 +00:00  .rollback_timer
   13  -rw-                0   Jul 6 2017 03:50:36 +00:00  tracelogs.790
97729  drwx            12288   Apr 9 2018 13:25:26 +00:00  tracelogs
   14  -rw-               30   Apr 9 2018 13:32:25 +00:00  throughput_monitor_params
   15  -rw-        489931744  Nov 23 2017 21:30:37 +00:00  isr4300-universalk9.03.16.06.S.155-3.S6-ext.SPA.bin
   16  -rw-               34   Apr 9 2018 13:34:30 +00:00  pnp-tech-time
   17  -rw-            14415   Apr 9 2018 13:34:32 +00:00  pnp-tech-discovery-summary

3149967360 bytes total (2498281472 bytes free)
Router#sh run | i boot
boot-start-marker
boot system bootflash:/isr4300-universalk9.03.16.06b.S.155-3.S6b-ext.SPA.bin
boot-end-marker
license boot level securityk9
Router#sh ver
Cisco IOS XE Software, Version 03.16.06.S - Extended Support Release
Cisco IOS Software, ISR Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.5(3)S6, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2017 by Cisco Systems, Inc.
Compiled Mon 24-Jul-17 20:26 by mcpre


Cisco IOS-XE software, Copyright (c) 2005-2017 by cisco Systems, Inc.
All rights reserved.  Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0.  The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY.  You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0.  For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.


ROM: IOS-XE ROMMON

Router uptime is 2 minutes
Uptime for this control processor is 3 minutes
System returned to ROM by reload at 15:25:02 MEST Mon Apr 9 2018
System image file is "bootflash:isr4300-universalk9.03.16.06.S.155-3.S6-ext.SPA.bin"
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.


          
Suite License Information for Module:'esg' 

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

AdvUCSuiteK9          None                  None           None                  
uck9
cme-srst
cube


Technology Package License Information: 

-----------------------------------------------------------------
Technology    Technology-package           Technology-package
              Current       Type           Next reboot  
------------------------------------------------------------------
appxk9           appxk9           Permanent        appxk9
uck9             None             None             None
securityk9       securityk9       Permanent        securityk9
ipbase           ipbasek9         Permanent        ipbasek9

cisco ISR4321/K9 (1RU) processor with 1648108K/6147K bytes of memory.
Processor board ID FDO2127A1VF
2 Gigabit Ethernet interfaces
32768K bytes of non-volatile configuration memory.
4194304K bytes of physical memory.
3125247K bytes of flash memory at bootflash:.

Configuration register is 0x2102

Router# 

 

Hi Lee,

I have left the router to reloads repeatedly and it finally booted the first image on the flash:

It only took to much time and I was not patient enough

Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.2(2r), RELEASE SOFTWARE
Copyright (c) 1994-2016  by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4321/K9 platform with 4194304 Kbytes of main memory


........

unable to open bootflash:/isr4300-universalk9.03.16.06b.S.155-3.S6b-ext.SPA.bin (14)

........

autoboot: boot failed, restarting...

Resetting .......



Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.2(2r), RELEASE SOFTWARE
Copyright (c) 1994-2016  by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4321/K9 platform with 4194304 Kbytes of main memory


........

unable to open bootflash:/isr4300-universalk9.03.16.06b.S.155-3.S6b-ext.SPA.bin (14)

........

autoboot: boot failed, restarting...

Resetting .......



Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.2(2r), RELEASE SOFTWARE
Copyright (c) 1994-2016  by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4321/K9 platform with 4194304 Kbytes of main memory


........

unable to open bootflash:/isr4300-universalk9.03.16.06b.S.155-3.S6b-ext.SPA.bin (14)

........

autoboot: boot failed, restarting...

Resetting .......



Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.2(2r), RELEASE SOFTWARE
Copyright (c) 1994-2016  by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4321/K9 platform with 4194304 Kbytes of main memory


........

unable to open bootflash:/isr4300-universalk9.03.16.06b.S.155-3.S6b-ext.SPA.bin (14)

........

autoboot: boot failed, restarting...

Resetting .......



Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.2(2r), RELEASE SOFTWARE
Copyright (c) 1994-2016  by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4321/K9 platform with 4194304 Kbytes of main memory


........

unable to open bootflash:/isr4300-universalk9.03.16.06b.S.155-3.S6b-ext.SPA.bin (14)

........

autoboot: boot failed, restarting...

Resetting .......



Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.2(2r), RELEASE SOFTWARE
Copyright (c) 1994-2016  by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4321/K9 platform with 4194304 Kbytes of main memory


........

unable to open bootflash:/isr4300-universalk9.03.16.06b.S.155-3.S6b-ext.SPA.bin (14)

........

autoboot: boot failed, restarting...

Resetting .......



Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.2(2r), RELEASE SOFTWARE
Copyright (c) 1994-2016  by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4321/K9 platform with 4194304 Kbytes of main memory


........

unable to open bootflash:/isr4300-universalk9.03.16.06b.S.155-3.S6b-ext.SPA.bin (14)

........

autoboot: boot failed, restarting...

Resetting .......



Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.2(2r), RELEASE SOFTWARE
Copyright (c) 1994-2016  by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4321/K9 platform with 4194304 Kbytes of main memory


........

unable to open bootflash:/isr4300-universalk9.03.16.06b.S.155-3.S6b-ext.SPA.bin (14)

........

autoboot: boot failed, restarting...

Resetting .......



Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.2(2r), RELEASE SOFTWARE
Copyright (c) 1994-2016  by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4321/K9 platform with 4194304 Kbytes of main memory


........

unable to open bootflash:/isr4300-universalk9.03.16.06b.S.155-3.S6b-ext.SPA.bin (14)

........

autoboot: boot failed, restarting...

Resetting .......



Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.2(2r), RELEASE SOFTWARE
Copyright (c) 1994-2016  by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4321/K9 platform with 4194304 Kbytes of main memory


........

unable to open bootflash:/isr4300-universalk9.03.16.06b.S.155-3.S6b-ext.SPA.bin (14)

........

autoboot: boot failed, restarting...

Resetting .......



Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.2(2r), RELEASE SOFTWARE
Copyright (c) 1994-2016  by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4321/K9 platform with 4194304 Kbytes of main memory


........

unable to open bootflash:/isr4300-universalk9.03.16.06b.S.155-3.S6b-ext.SPA.bin (14)

........

autoboot: boot failed, restarting...

Resetting .......



Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.2(2r), RELEASE SOFTWARE
Copyright (c) 1994-2016  by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4321/K9 platform with 4194304 Kbytes of main memory


........

unable to open bootflash:/isr4300-universalk9.03.16.06b.S.155-3.S6b-ext.SPA.bin (14)

........

autoboot: boot failed, restarting...

Resetting .......



Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.2(2r), RELEASE SOFTWARE
Copyright (c) 1994-2016  by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4321/K9 platform with 4194304 Kbytes of main memory


........

no valid BOOT image found
Final autoboot attempt from default boot device...
Located FDO21252P8L_20171123175949576.lic
#

Unsupported package header version (1178943828)
Located tracelogs.790
#

Zero Image size
Located throughput_monitor_params
#

Unsupported package header version (-1347440721)
Located isr4300-universalk9.03.16.06.S.155-3.S6-ext.SPA.bin
#################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################

Package header rev 1 structure detected
IsoSize = 474769408
Calculating SHA-1 hash...Validate package: SHA-1 hash:
        calculated 8FE236DE:F1409C18:DF47B486:0DA50004:C0978CB8
        expected   8FE236DE:F1409C18:DF47B486:0DA50004:C0978CB8

RSA Signed RELEASE Image Signature Verification Successful.
Image validated
%IOSXEBOOT-4-BOOT_SRC: (rp/0): mounting /boot/super.iso to /tmp/sw/isos

              Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

           cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706



Cisco IOS Software, ISR Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.5(3)S6, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2017 by Cisco Systems, Inc.
Compiled Mon 24-Jul-17 20:26 by mcpre



Cisco IOS-XE software, Copyright (c) 2005-2017 by cisco Systems, Inc.
All rights reserved.  Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0.  The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY.  You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0.  For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.



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.


 Parameter map cws-tunnel global not configuredcisco ISR4321/K9 (1RU) processor with 1648108K/6147K bytes of memory.
Processor board ID FDO2127A1VF
2 Gigabit Ethernet interfaces
32768K bytes of non-volatile configuration memory.
4194304K bytes of physical memory.
3125247K bytes of flash memory at bootflash:.

%INIT: waited 0 seconds for NVRAM to be available



Press RETURN to get started!

I guess the number 12 in the bootvar parameter is number of retries before it proceed to search for another image. 

Router#sh bootvar 
BOOT variable = bootflash:/isr4300-universalk9.03.16.06b.S.155-3.S6b-ext.SPA.bin,12;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102

 

Is there option to reduce this number of retries?

I can't find this option in documentation.

 

Can you try changing the config-registry value to 0x2101?

Changing the configuration register does not fix that.

 

I made some tests and found out that this is ROMMON dependent behavior.

 

For System Bootstrap, Version 16.2(2r) that comes with "clock issue fixed" routers 4321 

the ROMMON tries to boot the specified image 12 times, according to number set in the end of  BOOT variable:
BOOT variable = bootflash:/isr4300-universalk9.03.16.03.S.155-3.S3-ext.SPA.bin,12;

This lead to 12 reloads before router tries to search for another image in bootflash:

 

The old routers with "clock issue" came with  System Bootstrap, Version 15.4(3r)S5.

This version check the specified image only one time and then boot with first image available.

 

System Bootstrap, Version 15.4(3r)S5, RELEASE SOFTWARE
Copyright (c) 1994-2015  by cisco Systems, Inc.

Current image running: Boot ROM0

Last reset cause: LocalSoft
Cisco ISR4321/K9 platform with 4194304 Kbytes of main memory


Directory isr4300-universalk9.03.16.03.S.155-3.S3-ext.SPA.bin not found
Unable to locate isr4300-universalk9.03.16.03.S.155-3.S3-ext.SPA.bin directory 
Unable to load isr4300-universalk9.03.16.03.S.155-3.S3-ext.SPA.bin 
boot: error executing "boot bootflash:/isr4300-universalk9.03.16.03.S.155-3.S3-ext.SPA.bin"
autoboot: boot failed, restarting...


Initializing Hardware ...

System integrity status: 00000610
Rom image verified correctly


System Bootstrap, Version 15.4(3r)S5, RELEASE SOFTWARE
Copyright (c) 1994-2015  by cisco Systems, Inc.

Current image running: Boot ROM0

Last reset cause: LocalSoft
Cisco ISR4321/K9 platform with 4194304 Kbytes of main memory


no valid BOOT image found
Final autoboot attempt from default boot device...
File size is 0x1d348b60
Located isr4300-universalk9.03.16.06b.S.155-3.S6b-ext.SPA.bin 
Image size 489982816 inode num 12, bks cnt 119625 blk size 8*512
###########################################################################

 Unfortunately I did not find the way how to change the default number of retries (12) in the boot variable. The router boots in the end with some valid image from the booflash, but it takes quite a long time.

 

 

 

 

I'd raise a TAC Case. This is a strange issue.

Pls chk   sh run | i boot

 

boot system flash:isr4300-universalk9.03.13.08.S.154-3.S8-ext.SPA.bin  <--and remove 
boot system flash bootflash:isr4300-universalk9.03.13.08.S.154-3.S8-ext.SPA.bin

Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.7(3r), RELEASE SOFTWARE
Copyright (c) 1994-2017 by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4321/K9 platform with 4194304 Kbytes of main memory


........

Device not found flash:

........

autoboot: boot failed, restarting...

Resetting .......

 

Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.7(3r), RELEASE SOFTWARE
Copyright (c) 1994-2017 by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4321/K9 platform with 4194304 Kbytes of main memory


........

Device not found flash:

........

autoboot: boot failed, restarting...

Resetting .......

 

Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.7(3r), RELEASE SOFTWARE
Copyright (c) 1994-2017 by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4321/K9 platform with 4194304 Kbytes of main memory


........

Device not found flash:

........

autoboot: boot failed, restarting...

Resetting .......

 

Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.7(3r), RELEASE SOFTWARE
Copyright (c) 1994-2017 by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4321/K9 platform with 4194304 Kbytes of main memory


.......

rommon 1 >
rommon 1 >
rommon 1 >
rommon 1 >
rommon 1 >
rommon 1 >
rommon 1 >
rommon 1 > dir
Incorrect Usage
rommon 2 > boot
Located isr4300-universalk9.03.16.04b.S.155-3.S4b-ext.SPA.bin
################################################################

This post by Janaka above:

 

boot system flash:isr4300-universalk9.03.13.08.S.154-3.S8-ext.SPA.bin  <--and remove 
boot system flash bootflash:isr4300-universalk9.03.13.08.S.154-3.S8-ext.SPA.bin

 

...was the solution for me.  I had a continual boot loop because I had incorrectly formatted the boot statement (in red), so I removed that and added the correct one (in green):

 

boot-start-marker
boot system flash:isr4300-universalk9.16.12.04.SPA.bin
boot system flash:isr4300-universalk9.16.06.04.SPA.bin
boot system flash:
boot-end-marker

 

boot-start-marker
boot system flash bootflash:isr4300-universalk9.16.12.04.SPA.bin
boot system flash bootflash:isr4300-universalk9.16.06.04.SPA.bin
boot system flash bootflash:
boot-end-marker

Dear,

 

Check the IOS not got corrupted by checking MD5 value

show platform make sure all firmware matches   

Boot system bootflash: .bin

I got same error after fixing this the issue got resolved.

Hello

The most simplistic solution i guess would to revert the boot variable to 0x2101 and then

state both ios bin files in bootvar with the primary IOS stated first.

 

res

Paul

 

 


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

adazat5257
Level 1
Level 1

Hi,

 

1. Boot to rommon.

2. Type 'unset BOOT'

3. Save the changes to nvram using the 'sync' command

4. Type 'reset' to reboot the system

 

Hope this helps.

Review Cisco Networking for a $25 gift card