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. And see here for current known issues.

New Member

renumber the image order on a flash directory

any one knows how to renumber the files on the flash dir.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Re: renumber the image order on a flash directory

Hello Ocporbust,

use boot system flash command to load the desired image regardless of image order on flash

see

sh run | inc boot system

boot system flash disk2:c7200p-advsecurityk9-mz.124-20.T.bin

boot system flash disk2:c7200p-advsecurityk9-mz.124-4.XD3.bin

this router loads the first image in this way.

you can check with:

sh bootvar

BOOT variable = disk2:c7200p-advsecurityk9-mz.124-20.T.bin,1;disk2:c7200p-advsecurityk9-mz.124-4.XD3.bin,1;

CONFIG_FILE variable does not exist

BOOTLDR variable does not exist

WARM_REBOOT variable = FALSE

Configuration register is 0x2102

when you need to change the order:

copy current boot system commands on an editor

issue no boot system ... for each line

input them in the desired order preferred image first

Hope to help

Giuseppe

2 REPLIES
Hall of Fame Super Silver

Re: renumber the image order on a flash directory

Hello Ocporbust,

use boot system flash command to load the desired image regardless of image order on flash

see

sh run | inc boot system

boot system flash disk2:c7200p-advsecurityk9-mz.124-20.T.bin

boot system flash disk2:c7200p-advsecurityk9-mz.124-4.XD3.bin

this router loads the first image in this way.

you can check with:

sh bootvar

BOOT variable = disk2:c7200p-advsecurityk9-mz.124-20.T.bin,1;disk2:c7200p-advsecurityk9-mz.124-4.XD3.bin,1;

CONFIG_FILE variable does not exist

BOOTLDR variable does not exist

WARM_REBOOT variable = FALSE

Configuration register is 0x2102

when you need to change the order:

copy current boot system commands on an editor

issue no boot system ... for each line

input them in the desired order preferred image first

Hope to help

Giuseppe

New Member

Re: renumber the image order on a flash directory

Grazie tanto !!! Giuseppe

259
Views
0
Helpful
2
Replies
CreatePlease login to create content