cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3013
Views
5
Helpful
7
Replies
Highlighted
Beginner

A Cisco ISR4221 router not able to read bootflash: via rommon

Hello all,

 

I`ve encountered an issue with ISR4221, which so far not been able to solve.

 

(Some of the repetative signs in the console outputs have been formatted out for ease of reading)

 

When the router boots, its stuck in a loop, being not able to boot the image on the "bootflash:

 

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
ISR4221/K9 platform with 4194304 Kbytes of main memory


........

unable to open bootflash:isr4200-universalk9_ias.16.06.05.SPA.bin (14)

........

autoboot: boot failed, restarting...

Resetting .......

 

If I break the boot and load in to ROMMON - I see that bootflash: is not readible from this mode.

 

rommon 1 > dir bootflash:

unable to open bootflash: (14)
Failed to read directory contents (Not Found)

 

The only options to boot I got are TFTP and USB0, both work .

 

When booting the same image from usb0: it works ok -

rommon 2> boot usb0:
Located isr4200-universalk9_ias.16.06.05.SPA.bin
############### ....

 

After boot in to the IOS, i am able to do "dir bootflash:" and it shows the correct files inside -

Router#dir bootflash:
Directory of bootflash:/

11 -rw- 482973735 Mar 22 2019 07:50:20 +00:00 isr4200-universalk9_ias.16.06.05.SPA.bin
12 -rw- 3555 Mar 22 2019 07:51:38 +00:00 running-config
13 -rw- 3555 Mar 22 2019 07:52:11 +00:00 startup-config
48385 drwx 4096 Mar 22 2019 08:15:33 +00:00 .installer
56449 drwx 4096 Mar 22 2019 08:15:38 +00:00 .ssh
32257 drwx 4096 Mar 22 2019 08:18:21 +00:00 core
290305 drwx 4096 Mar 22 2019 08:15:44 +00:00 .prst_sync
177409 drwx 4096 Mar 22 2019 08:15:51 +00:00 .rollback_timer
14 -rw- 0 Mar 22 2019 08:16:07 +00:00 tracelogs.Fbl
306433 drwx 4096 Mar 22 2019 08:18:26 +00:00 tracelogs
314497 drwx 4096 Mar 22 2019 08:17:04 +00:00 virtual-instance
15 -rw- 30 Mar 22 2019 08:18:12 +00:00 throughput_monitor_params

7142076416 bytes total (6279639040 bytes free)

 

As last resort I`ve tried to format the bootflash:, but seems this is only deleting the files inside, as the file system is not changing even if I try the "secure" option.

 

Router#show bootflash: filesys
Filesystem: bootflash
Filesystem Path: /bootflash
Filesystem Type: ext2
Mounted: Read/Write

 

Router#format bootflash:
Format operation may take a while. Continue? [confirm]
Format operation will destroy all data in "bootflash:". Continue? [confirm]
Format of bootflash: complete
Router#dir bootflash:
Directory of bootflash:/

No files in directory

7142076416 bytes total (6763339776 bytes free)

 

Router#format bootflash: secure ext3
Securely format "bootflash:" operation will destroy all data in and make system inoperable. Continue? [confirm]
Format of bootflash: complete
Router#show bootflash: filesys
Filesystem: bootflash
Filesystem Path: /bootflash
Filesystem Type: ext2

 

I am able to copy files to the flash ok, and vice versa. So seems the flash is working ok.

Router#copy usb0:isr4200-universalk9_ias.16.06.05.SPA.bin bootflash:
Destination filename [isr4200-universalk9_ias.16.06.05.SPA.bin]?
Copy in progress...CCC
482973735 bytes copied in 38.242 secs (12629406 bytes/sec)

 

Router#dir bootflash:
Directory of bootflash:/

330625 drwx 4096 Mar 22 2019 08:27:10 +00:00 .installer
11 -rw- 482973735 Mar 22 2019 08:27:50 +00:00 isr4200-universalk9_ias.16.06.05.SPA.bin

7142076416 bytes total (6279880704 bytes free)

 

 

The bootvar seems to be ok :

Router#sh bootvar
BOOT variable = bootflash:isr4200-universalk9_ias.16.06.05.SPA.bin,12;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102

Standby not ready to show bootvar

 

Router#sh run | i boot

boot-start-marker
boot system bootflash:isr4200-universalk9_ias.16.06.05.SPA.bin
boot-end-marker

 

Seems I am missing something.

 

BR.

 

 

7 REPLIES 7
Highlighted
Hall of Fame Community Legend

CSCve29180
Highlighted

Thanks, thats a good insight. Tried that right now. 

 

But seems at this case the issue is a bit different, as I am not able to see anything in the bootflash: without loading first in to the IOS , this is the drive rommon supposed to read in order to load the IOS. 

 

 

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
ISR4221/K9 platform with 4194304 Kbytes of main memory


........

unable to open bootflash:boot_dir/packages.conf (14)

........

autoboot: boot failed, restarting...

Resetting .......

 

rommon 1 > dir bootflash:

unable to open bootflash: (14)
Failed to read directory contents (Not Found)
rommon 2 >

 

 

 

 

Highlighted
Hall of Fame Community Legend

1. Can you try a different IOS version, say 16.7.3?
2. If you're upgrading to 16.6.X, did you upgrade the ROMmon to, at a minimum, 16.7(4r)?
Highlighted

Hello good morning,

 

I know this case is old but I am wondering if you could find the solution of this problem? because I have the same issue with the same device model.

 

Best Regards,

Highlighted
Hall of Fame Community Legend

Open a new thread so we can check. This thread is OLD.
Highlighted

Hi,

I stopped to look after some time , had a limited time to make it work, so i bypassed it - by using a USB stick with the image and configuration on it, and since then the router is booting from it, not the best solution, but it works.

Highlighted

Thank you a lot for you response!

 

Regards,

Content for Community-Ad