Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

Silver

Boot Image

Hi

How can i change the Boot image from a cisco 1841

I have this config.

boot-start-marker

boot system flash:c1841-advsecurityk9-mz.151-1.T.bin

boot system flash:c1841-advsecurityk9-mz.124-22.T.bin

boot-end-marker

but the router always boots the 124-22.T

How can i change this?

Thanks

---

Posted by WebUser Raimund Schimanovits from Cisco Support Community App

16 REPLIES
Silver

Boot Image

Put the 15 image before 12 on flash or just delete second command which calls for image 12 version.

Also be carefull that you call correct image by name...

HTH,
Dragan

HTH, Dragan
Silver

Boot Image

Thanks

i will test it

---

Posted by WebUser Raimund Schimanovits from Cisco Support Community App

Hall of Fame Super Silver

Boot Image

I am concerned about the answer to remove the second boot command. I do not see any issues with the syntax of the boot command but something is preventing booting the first image. If we remove the second boot command without identifying the reason why the first command is not working it could have an unfortunate result.

There are a couple of things that commonly could cause this result so I suggest that you check these things to see if one of them is the cause of this behavior.

- does the 1841 have enough memory to run the 151-1.T code?

- does the 151-1.T image really exist in flash and is the name spelled exactly correctly?

If the problem does not seem to be one of the above issues then I suggest that you establish a console session, making sure that console logging is enabled, and then boot the router. Capture all of the console output during the boot process and post it. There is probably some message in the output that will identify what the issue is with booting 151-1.T.

HTH

Rick

Boot Image

I agree with Richard. In this situation you want to be really safe.

Have you tried running a verify on this ios image?

Run the following command, and post the results towards the end.

ALso can you post the results from 'dir flash'

verify flash:c1841-advsecurityk9-mz.151-1.T.bin

Silver

Boot Image

You can safely remove second boot command, as I said, as long as you have IOS on first place on flash...that's the only requirement...

HTH,
Dragan

HTH, Dragan
Hall of Fame Super Gold

Boot Image

but the router always boots the 124-22.T

Post the entire bootup process.  The only possible reason why the router will not boot the first IOS configured in the boot variable is when your IOS is corrupt or incorrect filename was specified.

Silver

Boot Image

Thanks for this good answers

Tomorrow i am in the office and i will make a test. The problem is that i can only login remote because the router is installed at our customer.

Best regards

---

Posted by WebUser Raimund Schimanovits from Cisco Support Community App

Silver

Boot Image

Could you post screenshot of "show flash" command please?

HTH,
Dragan

HTH, Dragan
Silver

Boot Image

Hello Dragan

-#- length -


date/time------ path

1 164 Nov 30 2009 14:07:00 FWUpgradeConfigFile.txt

2 491213 Nov 26 2008 08:43:38 128MB.sdf

3 1505280 Nov 26 2008 08:44:20 common.tar

4 1038 Nov 26 2008 08:44:42 home.shtml

5 6389760 Nov 26 2008 08:45:24 sdm.tar

6 1744 Nov 26 2008 08:45:46 SDM_Backup

7 2746 Nov 26 2008 08:46:14 sdmconfig-18xx.cfg

8 1684577 Nov 26 2008 08:47:04 securedesktop-ios-3.1.1.27-k9.pkg

9 398305 Nov 26 2008 08:47:42 sslclient-win-1.1.0.154.pkg

10 33627592 Dec 04 2008 14:38:28 c1841-advsecurityk9-mz.124-22.T.bin

11 13393280 Nov 30 2009 15:21:34 MC8775_H2.0.8.19.cwe

12 234279 Nov 30 2009 15:22:30 MC8775QCOM_H2.0.8.0.cwe

13 38505548 Feb 24 2014 11:44:50 c1841-advsecurityk9-mz.151-1.T.bin

14 8799 Feb 24 2014 14:08:14 running-config.txt

159526912 bytes available (96272384 bytes used)

The verify command shows

Embedded hash verification successful.

So can i delete the command?

Thanks

---

Posted by WebUser Raimund Schimanovits from Cisco Support Community App

Silver

Boot Image

No don't delete command which calls for image 12.4. You don't have this IOS on first place in flash...

Your configuration should work definitely. I supppose that you saved config after adding boot command for IOS 15?

One thing should work for sure - from ROMMON mode using boot command...but it's manual work. You can try with it and then after successfully booting on IOS 15 try to see if it's going to work even after reload...maybe then router is finally going to use boot commands as it should.

HTH,
Dragan

HTH, Dragan
Super Bronze

Re: Boot Image

Disclaimer

The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.

Liability Disclaimer

In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.

Posting

It looks to me that the image name and boot string variable names match, so that eliminates one of the possible issues that Rick described, but Rick is correct to be careful as there are other possible reasons why the new image isn't booting, including a corrupt copy of the image (which if you just remove your known good IOS image you'll find out the hard way) or your boot register could be set to ignore boot strings.  You might use use the verify image command to check the validity of your newer image and you could check your boot register values (typically last two digits are 02.)

Hall of Fame Super Silver

Boot Image

The Cisco site says that c1841-advsecurityk9-mz.151-1.T.bin requires 192 meg of memory and 64 of flash. Would you post the output of show ver so that we can verify if the requirements are met?

HTH

Rick

Silver

Boot Image

Cisco IOS Software, 1841 Software (C1841-ADVSECURITYK9-M), Version 12.4(22)T, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2008 by Cisco Systems, Inc.

Compiled Thu 09-Oct-08 20:59 by prod_rel_team

ROM: System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)

Schwechat-Spoke1 uptime is 2 days, 21 hours, 43 minutes

System returned to ROM by reload at 11:55:04 CET Mon Feb 24 2014

System restarted at 11:56:15 CET Mon Feb 24 2014

System image file is "flash:c1841-advsecurityk9-mz.124-22.T.bin"

This product contains cryptographic features and is subject to United

States and local country laws governing import, export, transfer and

use. Delivery of Cisco cryptographic products does not imply

third-party authority to import, export, distribute or use encryption.

Importers, exporters, distributors and users are responsible for

compliance with U.S. and local country laws. By using this product you

agree to comply with applicable laws and regulations. If you are unable

to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:

http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to

export@cisco.com.

Cisco 1841 (revision 6.0) with 117760K/13312K bytes of memory.

Processor board ID FCZ110474DC

2 FastEthernet interfaces

1 terminal line

1 Virtual Private Network (VPN) Module

1 Cellular interface

DRAM configuration is 64 bits wide with parity disabled.

191K bytes of NVRAM.

250200K bytes of ATA CompactFlash (Read/Write)

Configuration register is 0x2101

---

Posted by WebUser Raimund Schimanovits from Cisco Support Community App

Silver

Boot Image

As Richard stated you need at least 192MB of memory...as I can see you have 128MB.

Second config register in normal situation should be 0x2102...

HTH,
Dragan

HTH, Dragan
Super Bronze

Re: Boot Image

Disclaimer

The   Author of this posting offers the information contained within this   posting without consideration and with the reader's understanding that   there's no implied or expressed suitability or fitness for any purpose.   Information provided is for informational purposes only and should not   be construed as rendering professional advice of any kind. Usage of  this  posting's information is solely at reader's own risk.

Liability Disclaimer

In   no event shall Author be liable for any damages whatsoever (including,   without limitation, damages for loss of use, data or profit) arising  out  of the use or inability to use the posting's information even if  Author  has been advised of the possibility of such damage.

Posting

Configuration register is 0x2101

Ah, as mentioned in my prior posting, the ending "01" tells the router . . .

Boots Field Parameters:

  • 0x0000 - Stays at the system bootstrap                       prompt.
  • 0x0001 - Boots the first system image in onboard Flash memory                       (EPROM).
  • 0x0002-0x000F- Specifies a default netboot filename. Enables                       boot system commands that override the default netboot filename.

That's why your newer is image is being ignored.

If you change the last two digits to "02", it will "try" to boot the newer IOS.  However, I believe newer systems "know" RAM requirements, and as your router don't have enough RAM, it appears, you should see a log message that that image will be ignored and it will try to boot another, in your case, should be the other image.  On older platforms, router would try to boot the "too large" image, which may, or may not work.  If they did boot, little RAM was left for running RAM needs.  (So, BTW, if you had removed the original image, you may have had a larger paperweight [until you reloaded a suitable IOS].  Again, as Rick also noted, it's best to truly identify issue before making changes.)

Silver

Boot Image

ok.

Thanks

I will change the router to one of my spare parts. I hav e one with more memory.

Thanks

---

Posted by WebUser Raimund Schimanovits from Cisco Support Community App

530
Views
10
Helpful
16
Replies