How to delete the boot variable shown in the bootvar
Posted on 2014-02-27
How can I delete the boot variable shown in the bootvar result below?
Just upgraded this 4506, and deleted 53.sg4.
As you can see I have only one boot image in the directory, and I want the switch to boot to that image i.e. cat4500e-ipbasek9-mz.122-54.SG1.bin.
Directory of bootflash:/
6 -rw- 25093330 Feb 26 2014 11:36:06 +00:00 cat4500e-ipbasek9-mz.122-54.SG1.bin
128206848 bytes total (93587456 bytes free)
BOOT variable = bootflash:cat4500e-ipbase-mz.122-53.SG4.bin,12;bootflash:cat4500e-ipbasek9-mz.122-54.SG1.bin,12;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102
As you can see below I have tried deleting it, but getting the error below
boot system bootflash:cat4500e-ipbase-mz.122-53.SG4.bin
boot system bootflash:cat4500e-ipbasek9-mz.122-54.SG1.bin
/force Force delete
/recursive Recursive delete
bootflash: File to be deleted
cat4000_flash: File to be deleted
nvram: File to be deleted
slot0: File to be deleted
Delete filename [cat4500e-ipbase-mz.122-53.SG4.bin]?
Delete bootflash:cat4500e-ipbase-mz.122-53.SG4.bin? [confirm]
%Error deleting bootflash:cat4500e-ipbase-mz.122-53.SG4.bin (File not found)