05-19-2008 06:38 AM - edited 03-05-2019 11:04 PM
I have a 3560 switch and I am getting the following error.
Base ethernet MAC Address: 00:1f:c9:96:60:80
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
flashfs[0]: 452 files, 6 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 15998976
flashfs[0]: Bytes used: 2176512
flashfs[0]: Bytes available: 13822464
flashfs[0]: flashfs fsck took 8 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs) installed, fsid: 3
done.
Loading "flash:c3560-ipbase-mz.122-35.SE5/c3560-ipbase-mz.122-35.SE5.bin"...flash:c3560-ipbase-mz.12
2-35.SE5/c3560-ipbase-mz.122-35.SE5.bin: no such file or directory
Error loading "flash:c3560-ipbase-mz.122-35.SE5/c3560-ipbase-mz.122-35.SE5.bin"
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.
switch:
Can some one please direct me to a fix?
05-19-2008 07:00 AM
Have you tried to upgrade this and this has happened since?
Do you end up in ROMMON mode?
Are you sure that that image is available on that path on the directory?
What do you see when you issue "dir"?
Sorry for all the questions but, it looks as though it maybe that the boot image needs to be pointed somewhere else if, like I am sure we have all done, you may have inadvertantly put the image.bin in a different place.
Andy
05-19-2008 07:06 AM
Thanks for the swift reply Andy.
One of the guys tried to upgrade the SW, hence the problems. He said that it did not go to rommon mode just the mode switch:
switch: dir
List of filesystems currently registered:
flash[0]: (read-write)
xmodem[1]: (read-only)
null[2]: (read-write)
bs[3]: (read-only)
switch: ?
? -- Present list of available commands
boot -- Load and boot an executable image
cat -- Concatenate (type) file(s)
copy -- Copy a file
delete -- Delete file(s)
dir -- List files in directories
flash_init -- Initialize flash filesystem(s)
format -- Format a filesystem
fsck -- Check filesystem consistency
help -- Present list of available commands
load_helper -- Load and initialize a helper image
memory -- Present memory heap utilization information
mkdir -- Create dir(s)
more -- Concatenate (display) file(s)
rename -- Rename a file
reset -- Reset the system
rmdir -- Delete empty dir(s)
set -- Set or display environment variables
set_bs -- Set attributes on a boot sector filesystem
set_param -- Set system parameters in flash
sleep -- Pause (sleep) for a specified number of seconds
-- MORE --
trap -- Cause a software breakpoint to occur
type -- Concatenate (type) file(s)
unset -- Unset one or more environment variables
version -- Display boot loader version
switch:
Regards
Steve.
05-19-2008 07:10 AM
Hi,
from the switch prompt cau do
dir flash:
and see if u find any files in that.if there is any file try boot flash:filename.
if u didnt find any file in the flash then u need to do xmodem recovery for the IOs.
Thanks
Mahmood
05-19-2008 07:13 AM
Hi Mahmood.
switch: dir flash:
Directory of flash:/
5 drwx 128
13822464 bytes available (2176512 bytes used)
switch:
05-19-2008 07:19 AM
HI
Try
switch:boot flash:c3560-ipbase-mz.122-35.SE5\c3560-ipbase-mz.122-35.SE5 .bin
and can u do a
cd c3560-ipbase-mz.122-35.SE5
dir
Thanks
Mahmood
05-19-2008 07:29 AM
All,
switch: boot flash:c3560-ipbase-mz.122-35.SE5\c3560-ipbase-mz.122-35.SE5.bin
Loading "flash:c3560-ipbase-mz.122-35.SE5\c3560-ipbase-mz.122-35.SE5.bin"...flash:c3560-ipbase-mz.12
2-35.SE5\c3560-ipbase-mz.122-35.SE5.bin: no such file or directory
Error loading "flash:c3560-ipbase-mz.122-35.SE5\c3560-ipbase-mz.122-35.SE5.bin"
Interrupt within 5 seconds to abort boot process.
Boot process failed...
switch: cd c:3560-ipbase-mz.122-35.SE5
Unknown cmd: cd
switch:
05-19-2008 07:13 AM
Try dir flash.
Looks like the file path is wrong to me as that output is basically rommon. It maybe that the new image is directly on flash:image.bin rather than in the folder currently specified. The folder may also not exist, which dir flash will show.
Andy
05-19-2008 07:17 AM
Andy,
switch: dir flash.
Unknown cmd: dir
switch:
05-19-2008 07:23 AM
It ok, you already did it.
"dir flash:"
slilght slip of the keyboard!
You need to see what is in the flash:c3560-ipbase-mz.122-35.SE5 folder.
I think,
"dir flash:c3560-ipbase-mz.122-35.SE5\"
should show you what is in there. I am guessing the 122-35 is the old image and the new one will be in there, but under a different name.
Andy
05-19-2008 07:54 AM
Andy,
switch: dir flash:c3560-ipbase-mz.122-35.SE5\
unable to stat flash:c3560-ipbase-mz.122-35.SE5\/: no such file or directory
switch:
05-19-2008 07:57 AM
Sorry. Getting towards the end of the day!
Try the end slash the other way
"switch: dir flash:c3560-ipbase-mz.122-35.SE5/"
05-19-2008 08:03 AM
switch: dir flash:c3560-ipbase-mz.122-35.SE5/
Directory of flash:c3560-ipbase-mz.122-35.SE5//
7 drwx 4160
462 -rwx 422
13822464 bytes available (2176512 bytes used)
switch:
05-19-2008 08:13 AM
Steve
I believe that this information helps understand what is going on. In the c3560-ipbase-mz.122-35.SE5 directory there should be an image file but there is not. I would assume that the prior attempt to upgrade the image of the switch removed the old image (file and directory), built a new directory, but was not successful in copying the new image file into the new directory on flash.
If that is correct then your recovery is to get an image file on a server and to use xmodem to transfer the new image to flash.
HTH
Rick
05-19-2008 08:16 AM
cheers Rick
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