02-03-2009 05:09 AM - edited 03-06-2019 03:50 AM
I recently downloaded a new IOS c3560-ipbasek9-mz.122-46.SE.bin onto one of my 3560. I then entered the command boot system flash:c3560-ipbasek9-mz.122-46.SE.bin but when I do sh run | i boot, I don't see the line. I don't see it either when I do sh run. I just don't know why the line boot system flash:... is not showing. Any ideas?
regards,
02-03-2009 05:50 AM
If you do a show version
do you see flash:xx or flash:/xx ?
02-03-2009 05:58 AM
the current path for the existing IOS is:
flash:c3560-ipbase-mz.122-25.SEE3/c3560-ipbase-mz.122-25.SEE3.bin
However, I downloaded the image to the flash: and below is the sh flash: output
Directory of flash:/
2 -rwx 916 Feb 28 1993 19:02:34 -05:00 vlan.dat
3 -rwx 8811199 Feb 2 2009 20:58:12 -05:00 c3560-ipbasek9-mz.122-46.SE.bin
4 -rwx 27 Feb 2 2009 21:19:22 -05:00 private-config.text
6 drwx 192 Feb 28 1993 19:08:50 -05:00 c3560-ipbase-mz.122-25.SEE3
410 -rwx 12643 Feb 2 2009 21:19:22 -05:00 config.text
02-03-2009 06:10 AM
the current image is installed via archive download-sw. (.tar file)
Can you try if it make a difference if you do ":/"
boot system flash:/c3560-ipbase-mz.122-25.SEE3
else you can delete the directory of the current installed file. recursive deletion is required. Otherwise you've to delete first all files in the directory c3560-ipbase-mz.122-25.SEE3, before you can delete the folder itself:
javascript:acceptableUse();
delete /force /recursive flash:c3560-ipbase-mz.122-25.SEE3
The reason that c3560-ipbase-mz.122-25.SEE3/c3560-ipbase-mz.122-25.SEE3.bin is been used is because there's no correct boot system file statement(?). Now it looks during startup for the first bin in flash (alphabetically)
02-03-2009 06:17 AM
I actually try
boot system flash:/c3560-ipbasek9-mz.122-46.SE.bin but to no success either. I don't want to delete the current IOS and its directory as they don't cause any problems (i.e. not enough space). I have done this several times before and never ran into this problem.
02-03-2009 06:19 AM
Can you watch during reboot to the output in your console?
for a "could not find flash: " message or something like this?
02-03-2009 06:23 AM
I will give it a stab later on today. I just don't understand why the line is not showing up in the config. The switch doesn't return anything when I entered that command. It takes it just fine.
02-03-2009 06:27 AM
well...an interesting thing is that the show boot command return the boot path-list with the new IOS.
BOOT path-list : flash:/c3560-ipbasek9-mz.122-46.SE.bin
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : no
Manual Boot : no
HELPER path-list :
Auto upgrade : yes
So, I guess it should boot to the new IOS upon restart.
Regards,
02-03-2009 06:28 AM
can you follow the at the console during reboot?
When it's not ok, he will say something like:
cannot find flash:xxxx ; look for first file in flash
if it's ok, then, it's ok:)
02-03-2009 07:33 AM
That is normal for these switches , it will "not" show up in the running config . Just verify with the "show boot" command after entering your boot statement . It will tell you which file it is going to load . The boot statement is actually stored in one of the other files in flash , might be the private-config file but I won't swear to it .
02-03-2009 07:36 AM
Hi Glen,
Thanks indeed, yes I discovered it earlier.
02-03-2009 08:28 AM
thus it's booting the right IOS now? I thought this was also your problem?
02-03-2009 08:37 AM
I have yet to reload the IOS and I am sorry if I did not explain the problem properly. What I meant to say that I didn't want to reload the router because the line boot system flash:.... was not present in the config file. However, after using the command sh boot, I discovered that the boot path is pointing to the new IOS. So, I will reload the device this evening.
regards,
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: