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.

New Member

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

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)

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Gold

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

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 REPLIES
Bronze

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

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

New Member

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

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

Hall of Fame Super Gold

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

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:".

New Member

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

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.

Hall of Fame Super Gold

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

Thanks for the ratings, Muhammad.

40437
Views
5
Helpful
5
Replies