06-27-2018 12:11 AM - edited 03-08-2019 03:29 PM
I got a WS-C3650-48PS 03.07.05.E in BUNDLE mode that I tried to upgrade.
I tried to just add the standard boot system flash:image.bin and switch to INSTALL mode with the packages.conf as boot file.
The problem is that each boot system command just adds to the boot variable parameter, so I can't change from the old boot image.
ie:
# show boot
---------------------------
Switch 1
---------------------------
Current Boot Variables:
BOOT variable = flash:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin;flash:packages.conf;flash:running-packages.conf;flash:3.7.5.bin;flash:cat3k_caa-universalk9.16.03.06.SPA.bin;flash:3.7.5.bin;flash:packages.conf;
Boot Variables on next reload:
BOOT variable = flash:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin;flash:packages.conf;flash:running-packages.conf;flash:3.7.5.bin;
Allow Dev Key = yes
Manual Boot = no
Enable Break = no
How can I empty the BOOT Variable string? As a last resort Iäm thinking of renaming my packages.conf file to cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin , or I can rename the image that I want to run 16.3.6 to this old filename 3.7.5, but I would prefer to change to INSTALL mode.
Renaming cat3k_caa-universalk9.16.03.06.SPA.bin to cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin , and if the switch boots correctly with version 16.3.6 even tho the bin filename isnt correct might solve this bug ? and I could then change from BUNDLE to INSTALL mode.
06-27-2018 12:39 AM
Hi,
To move from bundle to install mode, you will need to expand the cat3k_caa-universalk9.16.03.06.SPA.bin file and then update the boot variable. Follow the steps in the following doc under the "Move from Cisco IOS XE 3.xE Bundle Mode to Install Mode" section:
Thanks
John
06-27-2018 12:43 AM
Yes I know, the problem is the BOOT variable ! the first entry is persistent hence packages.conf will never be read.
The boot variable just keeps getting longer and longer, every string just just added !
06-27-2018 03:28 AM
06-27-2018 03:32 AM
Hi, never thought of that :)
Switch 1
---------------------------
Current Boot Variables:
BOOT variable = flash:packages.conf;flash:cat3k_caa-universalk9.16.03.06.SPA.bin;flash:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin;
Boot Variables on next reload:
BOOT variable = flash:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin;flash:packages.conf;flash:running-packages.conf;flash:3.7.5.bin;
Now the current boot variable is changed, but the variable on next reload is the same.
06-27-2018 05:35 AM
07-05-2018 01:54 AM
Hi ! Now I did some more testing.
First I tried:
no boot system end wr
no difference , then I tried
no boot system flash:thefiletoberemoved end wr
no difference.
But Right now I tried it again and it worked
rou1#show boot --------------------------- Switch 1 --------------------------- Current Boot Variables: BOOT variable does not exist Boot Variables on next reload: BOOT variable = flash:packages.conf;flash:cat3k_caa-universalk9.16.03.06.SPA.bin;flash:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin; Allow Dev Key = yes Manual Boot = no Enable Break = no rou1#no boo rou1#conf t Enter configuration commands, one per line. End with CNTL/Z. rou1(config)#no boo rou1(config)#no boot sys rou1(config)#$tem flash:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin rou1(config)#end rou1#wr Building configuration... Compressed configuration from 36700 bytes to 15567 bytes[OK] rou1#show boot --------------------------- Switch 1 --------------------------- Current Boot Variables: BOOT variable does not exist Boot Variables on next reload: BOOT variable = flash:packages.conf;flash:cat3k_caa-universalk9.16.03.06.SPA.bin;flash:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin; Allow Dev Key = yes Manual Boot = no Enable Break = no rou1#conf t Enter configuration commands, one per line. End with CNTL/Z. rou1(config)#no boot system rou1(config)#boot sys rou1(config)#$ckages.conf;flash:cat3k_caa-universalk9.16.03.06.SPA.bin rou1(config)#end rou1#wr Building configuration... Compressed configuration from 36788 bytes to 15600 bytes[OK] rou1#show boot --------------------------- Switch 1 --------------------------- Current Boot Variables: BOOT variable = flash:packages.conf;flash:cat3k_caa-universalk9.16.03.06.SPA.bin; Boot Variables on next reload: BOOT variable = flash:packages.conf;flash:cat3k_caa-universalk9.16.03.06.SPA.bin; Allow Dev Key = yes Manual Boot = no Enable Break = no rou1#
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide