07-06-2017 03:56 PM - edited 03-08-2019 11:14 AM
Hi All,
Earlier today I upgraded my Catalyst IOS-XE switch from 03.03.05SE to the gold star cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin
However, after removing the old files out of flash and reloading, my new IOS image loads, but it is in bundle mode.
Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 1 28 WS-C3650-24TS 03.06.06.E cat3k_caa-universalk9 BUNDLE
I want to be in INSTALL mode. I have read numerous guides and basically here is what I did:
software clean file flash:<OLD-IOS-Packages>
softward expand running to flash:
Once I did that, my flash directory now has all of the packages associated with the gold star IOS bin file I am booting from, and it created a file called "running-packages.conf" from my software expand running to flash: command.
SW142TocancipaCore-TOX3650A#show flash
-#- --length-- ---------date/time--------- path
2 83293932 Jul 06 2017 21:41:09.0000000000 +00:00 cat3k_caa-base.SPA.03.06.06E.pkg
3 3982012 Jul 06 2017 21:41:09.0000000000 +00:00 cat3k_caa-drivers.SPA.03.06.06E.pkg
4 33788908 Jul 06 2017 21:41:09.0000000000 +00:00 cat3k_caa-infra.SPA.03.06.06E.pkg
5 43074880 Jul 06 2017 21:41:09.0000000000 +00:00 cat3k_caa-iosd-universalk9.SPA.152-2.E6.pkg
6 28394380 Jul 06 2017 21:41:09.0000000000 +00:00 cat3k_caa-platform.SPA.03.06.06E.pkg
7 1247 Jul 31 2015 03:57:46.0000000000 +00:00 packages.conf
8 2097152 Jul 06 2017 22:41:31.0000000000 +00:00 nvram_config
9 1216 Jul 06 2017 20:03:28.0000000000 +00:00 vlan.dat
10 303772864 Jul 06 2017 16:51:31.0000000000 +00:00 cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin
11 4096 Jul 06 2017 22:36:54.0000000000 +00:00 dc_profile_dir
12 193087 Jul 06 2017 22:36:54.0000000000 +00:00 dc_profile_dir/dc_default_profiles.txt
13 193087 Jul 06 2017 22:36:54.0000000000 +00:00 dc_profile_dir/dc_default_profiles.txt.bkp
14 111233856 Jul 06 2017 21:41:09.0000000000 +00:00 cat3k_caa-wcm.SPA.10.2.160.0.pkg
15 1236 Jul 06 2017 21:41:27.0000000000 +00:00 running-packages.conf
Now, here is where I have a problem. The guides then say at this point you need to issue the command "boot system flash:packages.conf" and reload the switch, so I did that, and I verified manual boot is disabled.
SW142Core-3650A#show boot
---------------------------
Switch 1
---------------------------
Current Boot Variables:
BOOT variable does not exist
Boot Variables on next reload:
BOOT variable = flash:cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin;
Allow Dev Key = yes
Manual Boot = no
Enable Break = no
When I reload the switch, I get put at the switch: prompt, with message:
Initializing Flash...
flashfs[7]: 0 files, 1 directories
flashfs[7]: 0 orphaned files, 0 orphaned directories
flashfs[7]: Total bytes: 6784000
flashfs[7]: Bytes used: 1024
flashfs[7]: Bytes available: 6782976
flashfs[7]: flashfs fsck took 2 seconds....done Initializing Flash.
Getting rest of image
Reading full image into memory....done
flash:cat3k_caa-base.SPA.03.03.05SE.pkg: no such file or directory
Error loading "flash:packages.conf"
Boot process failed...
The system is unable to boot automatically. The
BOOT environment variable needs to be set to a
bootable image.
I have to manually issue the boot flash:cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin command from switch: prompt, and then when the image loads, I am in BUNDLE mode again.
What am I doing wrong? Do I need to point to running-packages.conf and not packages.conf, since running-packages.conf are what the software expand running to flash: command created? If so, all the guides are wrong or outdated.
07-07-2017 03:26 AM
For anyone that case, I resolved this. When you issue the software expand running to flash command, it creates the file "running-packages.conf" not "packages.conf." The file "packages.conf" already exists from the previous IOS version (note the creation date), so you need to point boot system to the new file - running-packages.conf. If you point it to packages.conf your IOS will fail to load:
boot system switch all flash:running-packages.conf
Now I am in install mode. This must be the new way they write it in the gold star firmware release for IOS-XE on 3650's. Either that, or it writes it this way if a "packages.conf" file already exists in flash when you expand the software.
10-31-2018 12:00 PM
I know this is an old post you have,however, I came across this and it was extremely helpful.
11-07-2018 09:27 PM
Thanks Dean That was helpful.
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