Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Can't TFTP to Cisco 2900XL Switch Flash image is corrupt

  • 28-11-2006 1:15pm
    #1
    Closed Accounts Posts: 6


    Hi My 2900xl image is corrupt, the switch can't load a proper image so it boots to a switch: prompt
    I run flash_init command
    then the load_helper command
    dir the flash, I have no image files,
    then I try to copy tftp to flash. I all ways get the same error, please have a look....

    flashfs[0]: 0 orphaned files, 0 orphaned directories
    flashfs[0]: Total bytes: 3612672
    flashfs[0]: Bytes used: 1536
    flashfs[0]: Bytes available: 3611136
    flashfs[0]: flashfs fsck took 2 seconds.
    ...done Initializing Flash.
    Boot Sector Filesystem (bs:) installed, fsid: 3
    Parameter Block Filesystem (pb:) installed, fsid: 4
    Loading "flash:new_image"...flash:new_image: no such file or directory

    Error loading "flash:new_image"

    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.
    when I load a new image I get the following message?

    switch:
    switch: BB0BB0
    Unknown cmd: BB0BB0
    switch: BB0BB0BB0BB0BB0


    if I try to copy tftp flash
    I get the following error
    switch:
    switch:
    switch:
    switch: BB0BB0
    Unknown cmd: BB0BB0
    switch: BB0BB0BB0BB0BB0
    Unknown cmd: BB0BB0BB0BB0BB0
    switch: copy tftp flash
    tftp: permission denied
    switch:
    No response from remote system .........from the hyper terminal
    Can anyone help a paddy in london please.
    thanks


Comments

  • Closed Accounts Posts: 1,956 ✭✭✭layke


    I think your going to have to connect via console cable and delete that flash image and replace it with another.

    If it say it's corrupt there is prolly nothing you can do.


  • Closed Accounts Posts: 6 pndoyleuk


    How do I delete the Flash, I do have a console cable, when I tried to delete the flash before I get permission denied:
    I think thta's because I only have the (switch:
    prompt?
    Any other way around that.
    Thanks


  • Closed Accounts Posts: 1,956 ✭✭✭layke


    Loading "flash:new_image"...flash:new_image: no such file or directory

    WAIT!

    I know of no Cisco IOS that is called "new image". You need to specify the correct image to load.

    Console connect to the switch, lets say your switch is called Switch1.

    First you type 'enable' to enter the priv mode.

    Then see the e.g below.

    Switch1#configure terminal
    Enter configuration commands, one per line. End with CNTL/Z.
    Switch1(config)#boot system flash:c3620-jk9o3s-mz.122-7a.bin
    Switch1(config)#boot system rom
    Switch1(config)#end

    Just to warn you I have no idea how your old IOS is configure, it may be passworded it may be not. If it is your going to have to reset the password which is hassle.

    tbh I would google this and find a decent guide. I really have to be in front of a box to remember this correctly.

    If you can get the IOS to load up, just erase the configs in the NVRAM. Reboot the Switch and it should go into auto configure mode.


  • Registered Users, Registered Users 2 Posts: 57 ✭✭nickhilliard


    pndoyleuk wrote:
    when I load a new image I get the following message?

    switch:
    switch: BB0BB0
    Unknown cmd: BB0BB0
    switch: BB0BB0BB0BB0BB0
    when you get to the switch: prompt, type "dir" and press enter. this will give you a list of all the files on the flash filesystem. One of them should end in ".bin", and this is the file you need to boot the system up from the rom monitor. You can do this using something like the following command:
    switch: boot c2900XL-hs-mz-112.8.12-SA6.bin
    
    obviously, you need to replace the "c2900XL-hs-mz-112.8.12-SA6.bin" filename with whatever file is on your flash.

    if this doesn't work, or if there is no file in the flash directory ending in ".bin", then you need to execute the recovery procedure in http://www.cisco.com/en/US/products/hw/switches/ps607/products_tech_note09186a0080094955.shtml


  • Closed Accounts Posts: 6 pndoyleuk


    Thanks for the help, but it did not work, I have tryed this fix before. But it did not work.
    I fI try to delete a file I get permission denied. anad we I do an Xmodem copy it seems to work but then it can copy any more, see read out below. I aused this problem in the first place by messing with the image.

    Thanks


    C2900XL Boot Loader (C2900-HBOOT-M) Version 11.2(8.1)SA6, MAINTENANCE INTERIM SO
    FTWARE
    Compiled Fri 14-May-99 17:42 by jchristy
    starting...
    Base ethernet MAC Address: 00:d0:ba:b5:4b:00
    Xmodem file system is available.
    Initializing Flash...
    flashfs[0]: 1 files, 1 directories
    flashfs[0]: 0 orphaned files, 0 orphaned directories
    flashfs[0]: Total bytes: 3612672
    flashfs[0]: Bytes used: 1536
    flashfs[0]: Bytes available: 3611136
    flashfs[0]: flashfs fsck took 2 seconds.
    ...done Initializing Flash.
    Boot Sector Filesystem (bs:) installed, fsid: 3
    Parameter Block Filesystem (pb:) installed, fsid: 4
    Loading "flash:new_image"...flash:new_image: no such file or directory

    Error loading "flash:new_image"

    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:
    switch:
    switch:
    switch: BB0BB0
    Unknown cmd: BB0BB0
    switch: BB0BB0BB0BB0BB0
    Unknown cmd: BB0BB0BB0BB0BB0
    switch: copy tftp flash
    tftp: permission denied
    switch:


    witch:
    switch: flash:init
    Unknown cmd: flash:init
    switch: load_flash:init
    Unknown cmd: load_flash:init
    switch: flash_init
    Initializing Flash...
    flashfs[0]: 1 files, 1 directories
    flashfs[0]: 0 orphaned files, 0 orphaned directories
    flashfs[0]: Total bytes: 3612672
    flashfs[0]: Bytes used: 1536
    flashfs[0]: Bytes available: 3611136
    flashfs[0]: flashfs fsck took 4 seconds.
    ...done Initializing Flash.
    Boot Sector Filesystem (bs:) installed, fsid: 3
    Parameter Block Filesystem (pb:) installed, fsid: 4
    switch: load-helper
    Unknown cmd: load-helper
    switch: load_helper
    switch: dir

    List of filesystems currently registered:

    flash[0]: (read-write)
    xmodem[1]: (read-only)
    null[2]: (read-write)
    bs[3]: (read-only)

    switch: dir flash
    unable to stat flash/: permission denied
    switch: dir flash:
    Directory of flash:/

    2 -rwx 318 <date> env_vars

    3611136 bytes available (1536 bytes used)
    switch: delete flash: env_vars
    Are you sure you want to delete "flash:" (y/n)?y
    File "flash:" not deleted -- no such file or directory
    Are you sure you want to delete "env_vars" (y/n)?y
    File "env_vars" not deleted -- permission denied
    switch: BB0BB0
    Unknown cmd: BB0BB0
    switch: copy xmodem: flash:
    switch: copy xmodem: flash:c2900XL-hs-mz-112.8.6-SA6
    Begin the Xmodem or Xmodem-1K transfer now...
    CCCCCCCCCCBB0BB0xmodem:: I/O error
    switch:


  • Advertisement
  • Closed Accounts Posts: 6 pndoyleuk


    Fix it
    Had to do copy Xmodem:image_name flash:new image _name
    At the same time I ran send file from the hyper terminal with the new image_name.
    and it's working, so Thanks for everyones help....


Advertisement