09-20-2011 09:24 AM - edited 03-07-2019 02:19 AM
I have recently loaded a new IOS image to flash: via TFTP. I deleted the old one and then modified the boot parameter. I beleive I missed something because when I reloaded, I boot into helper mode and I have the following prompt.
switch:
If I show my dir of flash: I see the image(bin file) I want to boot from but it will not allow me to boot.
Any suggestions
09-20-2011 09:33 AM
Hi James,
What error you are getting when you are trying to boot up ?
You might not have copied IOS properly if it is not able to boot...Even if boot parameter is not set properly,it will boot if proper ios is in the flash.
You might have to do XMODEM,if there is no proper ios in the flash.
-Ankur
09-20-2011 09:39 AM
Check this link which explains the process of xmodem if you need so--
http://www.fryguy.net/2011/08/15/cisco-3750-stack-member-recover/#more-1984
09-20-2011 10:13 AM
Loading "flash:c3750-advipservicesk9-mz.122-40.SE.bin"...flash:c3750-advipservicesk9-mz.122-40.SE.bin: magic number mismatch: bad mzip file
Error loading "flash:c3750-advipservicesk9-mz.122-40.SE.bin"
Interrupt within 5 seconds to abort boot process.
Boot process failed...
When I show the filesystem..
switch: dir flash:
Directory of flash:/
2 -rwx 1096
3 -rwx 1139
5 drwx 128
6 -rwx 5
363 -rwx 1139
when I boot from scracth..this is what I get . I beleive I missed a boot variable if you look at the last line. Can I fix this from here?
Base ethernet MAC Address: 00:14:6a:cb:37:80
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
flashfs[0]: 357 files, 5 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 15998976
flashfs[0]: Bytes used: 1604096
flashfs[0]: Bytes available: 14394880
flashfs[0]: flashfs fsck took 8 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs) installed, fsid: 3
done.
Loading ""...: no such device
Error loading ""
Interrupt within 5 seconds to abort boot process.
Boot process failed...
The system is unable to boot automatically. The BOOT
environment variable needs to be set to a bootable
image.
09-20-2011 10:36 AM
Hi,
This shows that this image is not bootable...If the image is bootable,boot parameter doesn't matter...After checking the boot parameter,switch looks if there is any bootable image in the flash.
You have to delete this corrputed image,and load fresh image using xmodem.
-Ankur
09-20-2011 10:39 AM
i see you have 2 images in the flash.You can try booting with earlier image.
Just write:
boot flash:c3750-ipservices-mz.122-25.SEB1/c3750-ipservices-mz.122-25.SEB1.bin
and press enter.
If you want to see your boot parameter,write:
set
and the press enter.
You can also change your boot parameter by "set boot flash:
Let me know if you face any problem.The image with which you are trying to load is not bootable.
09-20-2011 12:41 PM
Hi,
Your c3750-advipservicesk9-mz.122-40.SE.bin file size is far too small to be a correct bootable image. But also if you look at the
Initializing Flash... sequence you can see that out of your 16MB flash size you have used 1604096 Bytes only. The numer is so small that it is unlikely even your c3750-ipservices-mz.122-25.SEB1 directory keeps any bootable image. In my view copying the new image to flash via xmodem is your only option to progress.
Best regards,
Antonin
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