04-07-2024 05:47 PM
Hi Everyone,
Good day!
I encountered an issue regarding my firmware upgrade.
I follow these steps in upgrading the firmware.
Switch# Show usbflash0: -port where the USB inserted
You can see the image on the USB
Step 2: Clean Up the flash to ensure at least 1GB of space in a flash to expand a new image:
Switch# install remove inactive
Step 3: Then copy image from usb to bootflash:
Switch# copy usbflash0: flash: -Name of the image
Switch# dir flash:*.bin
Switch# verify /md5 flash: -name of the image
Step 4: Set boot variable using
Switch(config)# boot system flash:packages.conf
Switch(config)# no boot manual
Switch(config)# exit
Switch# write memory
Step5: verify the boot variable is set to flash
Switch# show boot
The output should display BOOT variable = flash:packages.conf .
Step 6: Software install image to flash:
Switch# install add file flash:new-image.bin activate commit
However, after the reload. still, the old OS booted the switch and the newly installed OS is there but listed next to the old OS.
please see the image below for your reference.
I hope anyone can help me.
Thank you very much
04-07-2024 07:59 PM
sh run | include boot
04-07-2024 11:56 PM
04-08-2024 12:46 AM
Delete all the "boot system switch all flash:" but only leave "boot system switch all flash:packages.conf".
04-08-2024 01:33 AM
so if I delete all the 'boot system switch all flash' what os will read the switch to boot? what contains those packages. conf?
04-08-2024 03:40 AM
Do not delete "boot system switch all flash:packages.conf".
04-08-2024 01:42 AM
This is the switch with an error. I check the dir flash:*.conf it contains only the .conf file.
However when I checked the other switch that I have it contains 2 files please see the image below.
Thank you
04-07-2024 10:21 PM
Also, can you share the output of:
dir flash:
04-07-2024 11:57 PM
04-08-2024 07:34 AM
1. Ensure that your boot variable is set to: boot system flash:packages.conf and save.
2. Run the following command to put the switch in install mode: Switch#install add file flash:filename.bin activate commit
3. This will take almost 15 minutes (kinda long process); answer relevant prompts, switch will reload at the end and you'll come back up on the new IOS-XE version.
04-14-2024 07:20 PM
Ensure that your boot variable is set to: boot system flash:packages.conf and save.
- How to set the boot variable to boot system flash:packages.conf ?
can you please input here the command
Thank you
04-14-2024 08:00 PM
conf t
boot system flash:packages.conf
end
wr
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