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

Answered Question
Aug 25th, 2011

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)

I have this problem too.
0 votes
Correct Answer by Leo Laohoo about 2 years 7 months ago
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:".

  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 5 (2 ratings)
amaneja Thu, 08/25/2011 - 11:03

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

wass.aouadi Fri, 08/26/2011 - 00:32

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

Correct Answer
Leo Laohoo Thu, 08/25/2011 - 15:31
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:".

muhammad.cis Fri, 12/27/2013 - 22:07

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.

Actions

Login or Register to take actions

This Discussion

Posted August 25, 2011 at 2:34 AM
Stats:
Replies:5 Avg. Rating:5
Views:24623 Votes:0
Shares:0
Tags: ios, flash
+
Categories: Routers
+

Related Content

Discussions Leaderboard