08-01-2013 06:48 AM - edited 03-04-2019 08:37 PM
Hi,
I noticed the ISO had disappeared from flash and I get this error on booting:.
%Error opening c2800nm-adventerprisek9-mz.124-11.XJ4.bin (file not found)
The router boots ok and works great, I have lots of stuff for my CME in there and I do not feel like formatting the flash...
Any idea how I can see the IOS so I can remove it and upgrade it ? I even tried to FTP the c2800nm-adventerprisek9-mz.124-11.XJ4.bin to an outside server, it fails after 33MB.
I do not have boot image secure as the file is "missing" , the router does not allow the command to go thru.
Any help is appreciated.
As you see: lines 1 and 2 are missing, it starts at "3"
guess 1 or 2 must be the line for IOS
2811#sh flash
3 0 Jan 31 2013 13:22:30 -05:00 bacdprompts
4 18836 Jan 31 2013 13:22:32 -05:00 bacdprompts/app-b-acd-2.1.2.2-ReadMe.txt
5 75650 Jan 31 2013 13:22:32 -05:00 bacdprompts/en_bacd_allagentsbusy.au
6 83291 Jan 31 2013 13:22:32 -05:00 bacdprompts/en_bacd_disconnect.au
7 63055 Jan 31 2013 13:22:34 -05:00 bacdprompts/en_bacd_enter_dest.au
8 37952 Jan 31 2013 13:22:34 -05:00 bacdprompts/en_bacd_invalidoption.au
9 496521 Jan 31 2013 13:22:38 -05:00 bacdprompts/en_bacd_music_on_hold.au
10 123446 Jan 31 2013 13:22:38 -05:00 bacdprompts/en_bacd_options_menu.au
11 42978 Jan 31 2013 13:22:40 -05:00 bacdprompts/en_bacd_welcome.au
12 34794 Jan 31 2013 13:22:40 -05:00 bacdprompts/en_bacd_xferto_operator.au
13 19566 Jan 31 2013 13:22:40 -05:00 CME42-full-readme-v.1.0.txt
14 0 Jan 31 2013 13:22:40 -05:00 CP7921G-1.0.3
15 871 Jan 31 2013 13:22:42 -05:00 CP7921G-1.0.3/CP7921G-1.0.3.LOADS
16 1868518 Jan 31 2013 13:22:50 -05:00 CP7921G-1.0.3/APPS-1.0.3.SBN
17 1461170 Jan 31 2013 13:22:56 -05:00 CP7921G-1.0.3/GUI-1.0.3.SBN
18 2078210 Jan 31 2013 13:23:04 -05:00 CP7921G-1.0.3/SYS-1.0.3.SBN
19 893001 Jan 31 2013 13:23:08 -05:00 CP7921G-1.0.3/TNUX-1.0.3.SBN
20 2196478 Jan 31 2013 13:23:18 -05:00 CP7921G-1.0.3/TNUXR-1.0.3.SBN
21 1300663 Jan 31 2013 13:23:24 -05:00 CP7921G-1.0.3/WLAN-1.0.3.SBN
22 0 Jan 31 2013 13:23:24 -05:00 Desktops
23 0 Jan 31 2013 13:23:24 -05:00 Desktops/320x212x12
24 131470 Jan 31 2013 13:23:26 -05:00 Desktops/320x212x12/CampusNight.png
25 80565 Jan 31 2013 13:23:26 -05:00 Desktops/320x212x12/CiscoFountain.png
26 138278 Jan 31 2013 13:23:28 -05:00 Desktops/320x212x12/Fountain.png
27 109076 Jan 31 2013 13:23:30 -05:00 Desktops/320x212x12/MorroRock.png
28 108087 Jan 31 2013 13:23:30 -05:00 Desktops/320x212x12/NantucketFlowers.png
29 10820 Jan 31 2013 13:23:30 -05:00 Desktops/320x212x12/TN-CampusNight.png
30 9657 Jan 31 2013 13:23:32 -05:00 Desktops/320x212x12/TN-CiscoFountain.png
31 7953 Jan 31 2013 13:23:32 -05:00 Desktops/320x212x12/TN-Fountain.png
32 7274 Jan 31 2013 13:23:34 -05:00 Desktops/320x212x12/TN-MorroRock.png
33 9933 Jan 31 2013 13:23:34 -05:00 Desktops/320x212x12/TN-NantucketFlowers.png
34 628 Jan 31 2013 13:23:34 -05:00 Desktops/320x212x12/List.xml
35 0 Jan 31 2013 13:23:34 -05:00 gui
36 4802 Jan 31 2013 13:23:36 -05:00 gui/admin_user.html
37 657587 Jan 31 2013 13:23:38 -05:00 gui/admin_user.js
38 1602 Jan 31 2013 13:23:40 -05:00 gui/CiscoLogo.gif
39 619 Jan 31 2013 13:23:40 -05:00 gui/CME_GUI_README.TXT
40 953 Jan 31 2013 13:23:40 -05:00 gui/delete.gif
41 16344 Jan 31 2013 13:23:42 -05:00 gui/dom.js
42 864 Jan 31 2013 13:23:42 -05:00 gui/downarrow.gif
43 6146 Jan 31 2013 13:23:42 -05:00 gui/ephone_admin.html
44 4658 Jan 31 2013 13:23:44 -05:00 gui/logohome.gif
45 3724 Jan 31 2013 13:23:44 -05:00 gui/normal_user.html
-----------snip--------------------
Once the problem fixed, I would like to upgrade my IOS from c2800nm-adventerprisek9-mz.124-11.XJ4.bin to c2800nm-adventerprisek9-mz.124-20.YA2.bin
Solved! Go to Solution.
08-01-2013 03:36 PM
Any idea how I can see the IOS so I can remove it and upgrade it ?
Two ways ...
1. "sh version" will show you what is the complete filename of the IOS and the location of the file; and
2. "dir flash: | i bin"
You have run the "sh version" so the path of the direction "should be": System image file is "flash:c2800nm-adventerprisek9-mz.124-11.XJ4.bin"
I said "should be" because if someone's deleted the file after the router has rebooted, then you need to think about the next step: Copy the IOS back into the CF.
show bootvar
This command is invalid or unavailable to the router. Instead do this command "sh run | beg boot-start-marker".
NOTE: I notice that you have three crashinfo files that were recently created. You may want to look into that.
08-01-2013 03:42 PM
Thank you Leo
Sh version will tel me what IOS loaded, not where it is located, as you can read I lost the IOS
I will try these command when I get to the lab,
08-01-2013 06:54 PM
I did not delete any files since 07/27 date at witch the file was there as per my posting.
Since there is 45 MB 'missing" on my CF card, I am under the impression the IOS is there but hidden...
I can not copy becuse all I have left is 23MB, and even, I need room for the upgrade IOS....
The crashinfo is there because I tried 3 times to run "test aaa" when I hit return, the router reboots.
Looks like I will have to format the whole thing....
How can an IOS be there and 4 days after it's gone !!??!!!!
Ho well, the joy of Cisco certifications !
08-01-2013 10:18 PM
John,
Let's try to do one more thing... Windows chkdsk or scandisk utility is perhaps more thorough that the fsck utility in IOS. Can you try to put the CF card into a card reader and running the Windows "disk doctor" over it?
If this fails, I have a last option suggestion. If you have Linux around, you can do a sector-by-sector copy of the entire CF into a file and upload it somewhere so that I can download it and have a look at it myself just as if I had the original CF card. Would you be willing to try this?
Best regards,
Peter
08-02-2013 06:49 AM
File and folder verification is complete.
Windows found problems with the file system.
Run CHKDSK with the /F (fix) option to correct these.
128,167,936 bytes total disk space.
45,207,552 bytes in 5 hidden files.
36,864 bytes in 8 folders.
60,260,352 bytes in 167 files.
22,663,168 bytes available on disk.
4,096 bytes in each allocation unit.
31,291 total allocation units on disk.
5,533 allocation units available on disk.
Did not want to do a chkdsk /f, not sure what the 'fix' will do to my CF, but might the IOS be the 45MB in the hidden files ?
July 27th, the IOS was there, I kept an old print-out:
2811#
2811#sh flash
-#- --length-- -----date/time------ path
1 45182188 Jan 31 2013 13:16:50 -05:00 c2800nm-adventerprisek9-mz.124-11.XJ4.bin
3 0 Jan 31 2013 13:22:30 -05:00 bacdprompts
4 18836 Jan 31 2013 13:22:32 -05:00 bacdprompts/app-b-acd-2.1.2.2-ReadMe.txt
5 75650 Jan 31 2013 13:22:32 -05:00 bacdprompts/en_bacd_allagentsbusy.au
6 83291 Jan 31 2013 13:22:32 -05:00 bacdprompts/en_bacd_disconnect.au
2811#
2811#sh flash
08-02-2013 10:46 AM
John,
Would you be willing to do the sector-by-sector copy of your CF for me? Do you have a Linux machine somewhere to which you can connect the CF card reader?
Best regards,
Peter
08-02-2013 03:51 PM
I do not have linux.
The only "linux box" I have is the vmware image that runs the OS of my CUCM.
Will this work ?
08-02-2013 04:14 PM
John,
No, I do not think that Linux would allow you to perform the privileged low-level operations. Okay, let's try it with Windows.
Download this utility:
http://hddguru.com/software/HDD-Raw-Copy-Tool/HDDRawCopy1.02Portable.exe
I have not used the utility so it's up to you to experiment with this a little bit. What I need you to do is to make a raw image of the CF card and upload it somewhere for me to download and analyze. Save the CF card as "Raw image (dd image)", not as the compressed image that this tools suggests by default.
Best regards,
Peter
08-05-2013 07:15 AM
Hi, this application offers to copy the CF to my hdd but it woudl format the destination drive !
I will try to find a work around,,,
08-07-2013 05:00 PM
I ordered a new CF card. Should get it in a few weeks, this will allow me to reinstall with out loosing all the work on my current card, with works great. All I need is to upgrade the IOS to get the object groups. Thanks to all and I will keep you posted.
.
08-09-2013 01:36 PM
John,
Please let's get back to that software I have suggested. You have used it incorrectly, as you have selected your hard disk as the target. That is not what I had in mind - what I need is a file image of the CF card. Let's do it once again, here are the steps.
After starting the program, in the first screen, select the CF card just as you did and click on the Continue button. Then, in the target selection screen, double-click the FILE option in the list and insert the name of the file you want to save the image as. In the same file save window, select the type of image: "Raw image (dd image)". Then click on the Continue button again. In the next screen, it should not warn you about formatting a drive anymore, and after clicking on the START button, the CF card shall be stored as an image.
I understand that your issues may be solved with the new CF card but this is such an obscure error that I am extremely strongly interested in learning what really happened. Please be patient with me here and try to go over this exercise once again. Thank you!
Best regards,
Peter
08-12-2013 11:15 AM
Here is the image file. Thanks for you help.
How can a image copy help in viewing the missing file ?
08-14-2013 02:10 AM
John,
I have used your image to mount it under Linux in the same way I would mount the CF card alone. Simply put, I am working with your CF card image just as if I had the entire CF card with me personally.
The IOS file c2800nm-adventerprisek9-mz.124-11.XJ4.bin is indeed present in the image! For some reason - and I do not know how it was done - it has the FAT filesystem attributes set to hidden and system. I am absolutely sure that if you configure your Windows machine to show you the system and hidden files in the Windows File Explorer, or if you use Total Commander and configured it to show hidden and system files, you will be able to see the file. It should be completely sufficient to remove both the hidden and system attributes at this stage and the IOS image should be visible also to IOS. Check the attached Listing.txt for the complete listing of all files on your CF card, plus the listing of attributes of all files in the root directory.
I am somewhat more worried about the state of the filesystem, though. My filesystem check also revealed 49 errors concerning duplicate file names on the filesystem, and the FAT copies are not identical. It appears as if some files have been in progress of being downloaded to the CF card when the router was either restarted, or the CF card was pulled out prematurely. The list of errors is attached in the CheckResults.txt. Notice that the duplicate file is always stored a number of seconds later than the first file. To be honest, I am not sure how to solve this issue, as you may end up restoring the wrong copy of the file.
Because the contents of the CF card are corrupted - there is no doubt about it - I am afraid it would be best if you backed up the files you are sure they are okay, and format it completely anew. If you continue using the CF card without reformatting or without running chkdsk over it, you may end up in losing more files.
Best regards,
Peter
P.S.: You may remove the image from the DropBox - we don't want other people to download it.
08-14-2013 08:36 AM
Thank you, I see the corruption... Well I dont know what happen, as it work well a week before.
Since I need the 2811 to pursue my certs, I will wait for my new CF and reinstall from scratch. Thanks again for you efforts.
08-14-2013 10:56 PM
John,
You are welcome. Please keep in mind that your current CF card appears to be physically okay, just the stored data is corrupted. After formatting and restoring the correct contents, your current CF card would also work. Don't throw it away.
Best regards,
Peter
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: