cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
201147
Views
25
Helpful
5
Replies

"boot system flash" and "boot system flash flash0"

Wassim Aouadi
Level 4
Level 4

Hi,

I want to set the boot file to a new IOS image. What's the difference between "boot system flash {file}" and "boot system flash flash0:{file}" ?

In my router I have the following:

TNRTAGCS00003#dir flash:

Directory of flash0:/

    1  -rw-    62558836  Jan 14 2010 06:54:34 +00:00  c2900-universalk9-mz.SPA.150-1.M1.bin

    2  -rw-        2903  Jan 14 2010 07:02:10 +00:00  cpconfig-29xx.cfg

    3  -rw-     2915328  Jan 14 2010 07:02:22 +00:00  cpexpress.tar

    4  -rw-        1038  Jan 14 2010 07:02:30 +00:00  home.shtml

    5  -rw-      115712  Jan 14 2010 07:02:38 +00:00  home.tar

    6  -rw-     1697952  Jan 14 2010 07:02:56 +00:00  securedesktop-ios-3.1.1.45-k9.pkg

    7  -rw-      415956  Jan 14 2010 07:03:06 +00:00  sslclient-win-1.1.4.176.pkg

    8  -rw-    64383836  Aug 24 2011 15:49:20 +00:00  c2900-universalk9-mz.SPA.151-1.T2.bin

260153344 bytes total (128045056 bytes free)

1 Accepted Solution

Accepted Solutions

Leo Laohoo
Hall of Fame
Hall of Fame
What's the difference between "boot system flash {file}" and "boot system flash flash0:{file}" ?

If I remembered correctly ISR G2 has two CF slots.  You can use "flash:" or "flash0:" and they are both the same (by default, if you use "flash:" then it means "flash0:").  If your 2nd CF slot is filled then you use "flash1:".

View solution in original post

5 Replies 5

Amit Aneja
Level 3
Level 3

the correct way to set the boot variable is

"boot system flash:c2900-universalk9-mz.SPA.150-1.M1.bin"

The other command that you mentioned doesn't exist

Regards,

Amit

Amit,

I tried on one router with the command "boot system flash flash0:..." and it worked.

Here's the running-config:

Current configuration : 12792 bytes

!

version 15.1

service tcp-keepalives-in

service tcp-keepalives-out

service timestamps debug datetime msec localtime show-timezone

service timestamps log datetime msec localtime show-timezone

no service password-encryption

!

hostname Router

!

boot-start-marker

boot system flash flash0:c2900-universalk9-mz.SPA.151-1.T2.bin

boot-end-marker

!

logging buffered 51200 warnings

Leo Laohoo
Hall of Fame
Hall of Fame
What's the difference between "boot system flash {file}" and "boot system flash flash0:{file}" ?

If I remembered correctly ISR G2 has two CF slots.  You can use "flash:" or "flash0:" and they are both the same (by default, if you use "flash:" then it means "flash0:").  If your 2nd CF slot is filled then you use "flash1:".

5 stars for Leo

Another irrelevant but noticable thing is that most of Cisco documentation write "boot system" command as:

boot system

e.g:boot system flash:c2900-universalk9-mz.SPA.151-1.T2.bin

ref:https://supportforums.cisco.com/docs/DOC-2571

the syntax mentioned here is like:

boot system flash

e.g:boot system flash flash0:c2900-universalk9-mz.SPA.151-1.T2.bin

I have checked, both syntax are working equally for me.

Thanks for the ratings, Muhammad.

Review Cisco Networking products for a $25 gift card