Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Set Image to boot from 2 images in flash

Set Image to boot from 2 images in flash 5 years 11 months ago #35611

  • charloe
  • charloe's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
hi,
I recently upgraded the image in a 1841 router, the memory in the flash was adequate enough to hold the older image and the upgraded image.
On setting on the configuration file; boot system flash flash:xxxx upgraded image xxxxx, and saved the configuration.
On reloading the the router, during booting it still loads the older image and on doing a show version; the router displays the older image too.
I have tried a couple of suggestions from the internet research e.g using the set variable on rommon mode but unsuccesfully;

Anyone with an idea to resolve this ASAP would kindly appreciate as its a router in production and need to add some additional 3g HWIC card for a fail-over
The administrator has disabled public write access.

Re: Set Image to boot from 2 images in flash 5 years 11 months ago #35621

  • KiLLaBeE
  • KiLLaBeE's Avatar
  • Offline
  • Expert Member
  • Posts: 466
  • Karma: 0
Are the images in the same directory in Flash? If not, make sure you're pointing the boot system flash command at the specific location (i.e.: boot system flash:<directory><image.bin>)
The administrator has disabled public write access.

Re: Set Image to boot from 2 images in flash 5 years 11 months ago #35677

  • charloe
  • charloe's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
Thanks KILLaBeE,
the images are on the same flash n directory.

I had pointed the correct image from the boot system flash in the startup-config.

I figured out that in the directory of the flash, the first image listed is always one that will boot first;

this is by setting the boot variable:

so I had to change and set the required image to be the first in the flash slot1.

Router# show run | include boot
boot system slot1:c3640-i-mz.120-22.bin

Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no boot system
Router(config)#boot system slot1:c3640-i-mz.122-7b.bin
Router(config)#^Z
Router#wr memory

the above sets the new image as the default boot
The administrator has disabled public write access.
Time to create page: 0.075 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup