Unable to control boot order

Unanswered Question
Nov 17th, 2008
User Badges:

Dear Friends,

There is a Cisco 4507RE Switch running Cisco IOS 12.2(44)SG Enterprise image.

The image is available in bootflash and slot0: file systems.

I am specifying the boot order as

1. Slot 0

2. Bootflash

However, i am unable to control the boot order. The exact commands that i specify are:

boot system flash slot0:cat4500e-entservices-mz.122-44.SG.bin

boot system flash bootflash:cat4500e-entservices-mz.122-44.SG.bin

However, bootflash seems to be always prioritized inspite of me giving slot0 as the first option. Any idea as to why it always load the bootflash image first though in my priority list, i am giving slot0: as the first in priority?

Just one thing that i also wanted to add was that when i press Break key and boot into Rommon, if i specify boot slot0:<image>, only then it boots from slot0: media.

Thanks a lot


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
andrew.butterworth Mon, 11/17/2008 - 13:50
User Badges:
  • Gold, 750 points or more

Check the config-register, it needs to be 0x0102 to boot using the boot commands in the configuration. Use the command 'show bootvar' to see what is currently set. You can change the value in global config:

switch(config)#config-register 0x0102



glen.grant Mon, 11/17/2008 - 14:53
User Badges:
  • Purple, 4500 points or more

Andrew is correct your boot order is currently being handled by the config register , more than likely it is currently 0x2101 which means it will load the first image it finds in bootflash . Just change the config register as Andrew said and reboot the switch.

muradmahiuddin Mon, 11/17/2008 - 20:25
User Badges:

What is the value of config register.

The config register set to 0x2102.

Also please see the output of bootvar.

sh bootvar. Make sure the the bootvar is pointing to the slot0.


This Discussion