?
Solved

Is the bootloader replaced when IOS is upgraded?

Posted on 2011-10-18
7
Medium Priority
?
1,597 Views
Last Modified: 2012-06-22
I know there is ROM that can boot the switch or router without an IOS to ROMMON prompt. Can that ROM be upgraded? I assume not because of the name of "Read Only Memory"

Is the bootloader part of the IOS? If so then why is the version number different than the IOS? Can the bootloader be updated by itself?

I understand the boot system command but I am curious why different version numbers between bootldr and IOS?


switch1#sh ver
Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(53)SE1, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Fri 12-Mar-10 15:50 by prod_rel_team
Image text-base: 0x01000000, data-base: 0x02F00000

ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1)

switch1 uptime is 13 weeks, 6 days, 12 hours, 52 minutes
System returned to ROM by power-on
System restarted at 20:12:53 PDT Tue Sep 2 2011
System image file is "flash:c3750-ipservicesk9-mz.122-53.SE1.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 WS-C3750G-12S (PowerPC405) processor (revision N0) with 131072K bytes of memory.
Processor board ID xxxxxxxxxxx
Last reset from power-on
2 Virtual Ethernet interfaces
12 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : xx:xx:xx:xx:xx:xx
Motherboard assembly number     : 73-9678-05
Power supply part number        : 341-0048-03
Motherboard serial number       : xxxxxxxxxxxx
Power supply serial number      : xxxxxxxxxxxx
Model revision number           : N0
Motherboard revision number     : A0
Model number                    : WS-C3750G-12S-E
System serial number            : xxxxxxxxxxxxxx
Top Assembly Part Number        : 800-26634-02
Top Assembly Revision Number    : C0
Version ID                      : V04
CLEI Code Number                : CNM8ZW0GRB
Hardware Board Revision Number  : 0x06


Switch Ports Model              SW Version            SW Image
------ ----- -----              ----------            ----------
*    1 12    WS-C3750G-12S      12.2(53)SE1           C3750-IPSERVICESK9-M


Configuration register is 0xF

0
Comment
Question by:Dragon0x40
  • 4
  • 3
7 Comments
 
LVL 18

Expert Comment

by:Garry Glendown
ID: 36987379
The boot loader usually just contains the core features in order to access flash and get the system booted. On newer system, it may also include boot features to retrieve the regular IOS from a server, e.g. via TFTP. On top of that, recovery of the system is available, either via TFTP oder serial upload.
In most cases, the boot loader does not need to be touched. Anyway, there may be occasions in which an update is required, e.g. to support some new piece of hardware. I'm not sure whether all Cisco gear allows for boot "rom" upgrade, but for some systems like e.g. the 7200 series, the boot IOS can be replaced (check out the "bootflash:" device). Anyway, those systems do use a two-stage boot sequence, one for something you could compare to the BIOS of a PC, and then the boot IOS.
0
 

Author Comment

by:Dragon0x40
ID: 36988003
I am still confused about this.

If I am told to upgrade the firmware and/or IOS what exactly does that mean.

I believe that the legacey CATOS had a seperate boot file in flash to assist in booting the CATOS.

Have not seen that in IOS.

Maybe firmware and IOS are interchangable terms but I don't want to make that assumption.

Sometimes the IOS and the bootldr have the same version number and sometimes they don't as in the example I posted.

BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1)

Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(53)SE1, RELEASE SOFTWARE (fc2)

How would I update the boot loader?
0
 
LVL 18

Expert Comment

by:Garry Glendown
ID: 36988058
Bootloader upgrade is the same as the IOS upgrade, just that it resides in "bootflash:" instead of the normal flash ...
To upgrade, get the appropriate boot loader image, most likely there's not enough space in the bootflash: partition to store both, so you need to remove the old one (delete bootflash:<FILENAME>), then copy the new image to the bootflash: partition (e.g. from TFTP)
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:Dragon0x40
ID: 36989430
IOS, Firmware and bootloader upgrades are three ways to say the same thing?

Why does the bootloader version not match the IOS version if they are both displaying information about the same IOS image in flash: in a 3700 switch  and bootflash: in a 4500 switch for example?
0
 
LVL 18

Accepted Solution

by:
Garry Glendown earned 2000 total points
ID: 36991185
They are not necessarily the same thing ... depending on the device, you may have a bootrom, a bootloader, and then the main IOS. In case of the 3750, I reckon all three are there ... bootloader and IOS are most definitely different, you can't install one image in place of the other ... most of the larger Cisco boxes (routers, switches) do have separate boot images and operating images ... smaller (fixed configuration) routers usually only have the bootrom (unchangeable) and the IOS.
0
 

Author Comment

by:Dragon0x40
ID: 37003937
Is firmware and IOS the same thing?

switch 1 and 2 are identical 6500 switches but switch1 has a bootldr but switch 2 does not have a bootldr?

switch2#sh ver
Cisco IOS Software, s72033_rp Software (s72033_rp-ADVENTERPRISEK9_WAN-M), Version 12.2(33)SXI3, RELEASE SOFTWARE (fc2)
ROM: System Bootstrap, Version 12.2(17r)SX5, RELEASE SOFTWARE (fc1)
System image file is "sup-bootdisk:s72033-adventerprisek9_wan-mz.122-33.SXI3.bin"

switch1#sh ver
Cisco Internetwork Operating System Software
IOS (tm) s72033_rp Software (s72033_rp-ADVENTERPRISEK9_WAN-M), Version 12.2(18)SXF16, RELEASE SOFTWARE (fc2)
Image text-base: 0x40101040, data-base: 0x42DDD190
ROM: System Bootstrap, Version 12.2(17r)SX5, RELEASE SOFTWARE (fc1)
BOOTLDR: s72033_rp Software (s72033_rp-ADVENTERPRISEK9_WAN-M), Version 12.2(18)SXF16, RELEASE SOFTWARE (fc2)
System image file is "sup-bootdisk:s72033-adventerprisek9_wan-mz.122-18.SXF16.bin"




0
 
LVL 18

Expert Comment

by:Garry Glendown
ID: 37004740
I reckon it's just different output, changed from the older 12.2(18) to 12.2(33) version ...
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question