Curious about Switch 2950 booting logic
smcclenaghan
Member Posts: 139
in CCNA & CCENT
I've got the config-register set to 0x2102 which should have it check boot system commands in startup-config.
The switch does that and finds this (only) system boot line:
boot-start-marker
boot system flash c2600-adventerprisek9-mz.124-9.t.bin
boot-end-marker
However it fails to load this image due to space (messages pasted below).
It then retrieves the first file from flash. However that file is the same file pointed to by boot system command. This time, the image works though (no space issues):
Router-01#sho flash
System flash directory:
File Length Name/status
1 32018212 c2600-adventerprisek9-mz.124-9.t.bin
[32018276 bytes used, 1011864 available, 33030140 total]
32768K bytes of processor board System flash (Read/Write)
Can someone explain what I'm missing here?
%SYS-3-IMAGE_TOO_BIG: 'flash:c2600-adventerprisek9-mz.124-9.t.bin' is too large for available memory (27780516 bytes).
%SYS-6-READ_BOOTFILE_FAIL: flash:c2600-adventerprisek9-mz.124-9.t.bin File read failed -- Not enough space.
%SYS-6-BOOT_MESSAGES: Messages above this line are from the boot loader.
boot of "c2600-adventerprisek9-mz.124-9.t.bin" using boot helper "flash:c2600-adventerprisek9-mz.124-9.t.bin" failed
error returned: File read failed -- Not enough space
loadprog: error - on file open
boot: cannot load "c2600-adventerprisek9-mz.124-9.t.bin"
The switch does that and finds this (only) system boot line:
boot-start-marker
boot system flash c2600-adventerprisek9-mz.124-9.t.bin
boot-end-marker
However it fails to load this image due to space (messages pasted below).
It then retrieves the first file from flash. However that file is the same file pointed to by boot system command. This time, the image works though (no space issues):
Router-01#sho flash
System flash directory:
File Length Name/status
1 32018212 c2600-adventerprisek9-mz.124-9.t.bin
[32018276 bytes used, 1011864 available, 33030140 total]
32768K bytes of processor board System flash (Read/Write)
Can someone explain what I'm missing here?
%SYS-3-IMAGE_TOO_BIG: 'flash:c2600-adventerprisek9-mz.124-9.t.bin' is too large for available memory (27780516 bytes).
%SYS-6-READ_BOOTFILE_FAIL: flash:c2600-adventerprisek9-mz.124-9.t.bin File read failed -- Not enough space.
%SYS-6-BOOT_MESSAGES: Messages above this line are from the boot loader.
boot of "c2600-adventerprisek9-mz.124-9.t.bin" using boot helper "flash:c2600-adventerprisek9-mz.124-9.t.bin" failed
error returned: File read failed -- Not enough space
loadprog: error - on file open
boot: cannot load "c2600-adventerprisek9-mz.124-9.t.bin"
Comments
-
JeanM Member Posts: 1,117A. It appears that you are trying to load a ROUTER ios on your L2 switch (that's what 2950 is) or B. You aren't loading it on 2950 but infact using a 26xx series router since the hostname you gave it is Router-01 and it's got 32mb of flash. Post a "sh ver" , do you have enough ram ? You may need to upgrade by erasing the flash content if you do have enough RAM in the router.2015 goals - ccna voice / vmware vcp.
-
smcclenaghan Member Posts: 139I'm sorry, I did post the version of the switch (2950) by accident. I confused the models, the router is a 2600. (I'm still new at this and struggling).
So yes, I'm trying to load router code on a router, but the problem is the same exact code will load just fine from flash, but it won't load via the 'boot system' command due to space limitations. Does that make sense?
Unfortunately JDMurray seemed to clip the startup messages and 'sho ver' output from my post. The 'sho ver' would have shown the router model.