02-24-2014 03:11 AM - edited 03-04-2019 10:25 PM
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
02-24-2014 03:29 AM
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
02-24-2014 10:48 AM
02-24-2014 11:10 AM
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
02-24-2014 11:24 AM
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
02-25-2014 11:38 PM
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
03-24-2018 01:57 AM
Dear ,
could you please help me resolve this problem..?
I'm using Cisco 819-HG-4G-G-K9 Router, Due to Full disk we try to Format Secondary disk to get some disk space ,but accidentally we choose main flash:0 memmory.. now there is no ios or bootLDR in flash...
i try to connect through xmodem and also tftpdnld ...but no response ...!
the followed steps which i have done to troubleshoot i'm mentioning below.. and please help me to solve this issue..!
1--------------------------------------------------
rommon 8 > sysret
System Return Info:
count: 19, reason: reset
pc:0x0, error address: 0x0
Stack Trace:
FP: 0x00000000, PC: 0x00000000
FP: 0x00000000, PC: 0x00000000
FP: 0x00000000, PC: 0x00000000
FP: 0x00000000, PC: 0x00000000
FP: 0x00000000, PC: 0x00000000
FP: 0x00000000, PC: 0x00000000
FP: 0x00000000, PC: 0x00000000
FP: 0x00000000, PC: 0x00000000
--------------------------------------------------------------
rommon 11 > context
No context available
rommon 5 > rommon-pref
usage: rommon-pref [readonly|upgrade]
rommon 6 > showmon
Last Reset Reason: System Reset
---------------------------------------------------------------------
rommon 2 > showmon
Last Reset Reason: System Reset
ReadOnly ROMMON version is:
System Bootstrap, Version 15.2(2r)T1, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2014 by cisco Systems, Inc.
No upgrade ROMMON version present
ReadOnly ROMMON currently running
ReadOnly ROMMON is selected for next boot
-----------------------------------------------------------------
rommon 3 > meminfo
-----------------------------------------------------
Current Memory configuration is:
On-board: Size = 1024 MB : Start Phy Addr = 0x0_00000000
-----------------------------------------------------
Main memory size: 1024 MB in 32 bit mode.
Available main memory starts at 0x1008000, size 1032160KB
Smart Init is enabled.
NVRAM size: 256 KB
Manufacturer's JEDEC ID code:
On-board: JDEC ID is not available
------------------------------------------------------------------------------
rommon 25 > set
PS1=rommon ! >
RTC_STAT=0
LICENSE_BOOT_LEVEL=
FE_SPEED_MODE=4
FE_PORT=0
TFTP_RETRY_COUNT=20
WARM_REBOOT=FALSE
RELOAD_TYPE=1
IP_ADDRESS=192.168.10.2
IP_SUBNET_MASK=255.255.255.0
DEFAULT_GATEWAY=192.168.10.1
TFTP_SERVER=192.168.10.45
TFTP_FILE=c800-universalk9-mz.SPA.153-3.M4.bin
FE0_PORT=AUTO
?=0
BSI=0
RANDOM_NUM=1491046230
RET_2_RTS=06:05:53 UTC Sat Mar 17 2018
RET_2_RCALTS=1521266744
rommon 4 > unset bootflash:
unset: "bootflash:" does not exist
rommon 5 > xmodem -c c800-universalk9-mz.SPA.153-3.M4.bin
monitor: command "xmodem" not found
---------------------------------------------------------------------------
rommon 1 > boot flash:
program load complete, entry point: 0x4000000, size: 0x18c40
boot: cannot determine first executable file name ondevice "flash:"
rommon 4 > dir flash:
program load complete, entry point: 0x4000000, size: 0x18c40
Directory of flash:
Kindly please support anyone..
02-24-2014 01:28 PM
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.
02-25-2014 10:52 AM
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
02-26-2014 02:07 AM
Could you post screenshot of "show flash" command please?
HTH,
Dragan
02-26-2014 02:11 AM
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
02-26-2014 02:22 AM
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
02-26-2014 02:29 AM
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.)
02-26-2014 07:56 AM
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
02-27-2014 12:40 AM
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
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