08-25-2011 02:34 AM - edited 03-04-2019 01:24 PM
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)
Solved! Go to Solution.
08-25-2011 03:31 PM
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:".
08-25-2011 11:03 AM
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
08-26-2011 12:32 AM
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
08-25-2011 03:31 PM
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:".
12-27-2013 10:07 PM
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.
12-28-2013 01:12 AM
Thanks for the ratings, Muhammad.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: