07-11-2013 02:05 AM - edited 03-07-2019 02:20 PM
Hi All,
I am using cisco 3750G switch i have got two images in flash, I want to make second image as my defeult boot image, how do i do that ?
Any help will be much appriciated.
Many thanks,
Kamran.
Solved! Go to Solution.
07-11-2013 03:18 AM
Kamran,
Sure we will try to help you here.
First thing to check whats the boot system currently configured and you can check this by running the following cmd:
1- show run | i boot
If you happen to see any boot sytem file is set then kindly remove the same by following command:
boot system flash:/c3750-ipbasek9-mz.122-35.SE4 >> Found SE4 image on my switch.
2- Remove this image:
config t
Switch(config)#no boot system flash:/c3750-ipbasek9-mz.122-35.SE4 >>> Remvoing SE4 image from the boot.
3- configure the boot system with the image name which you want the device to boot with:
config t
Switch(config)#boot system flash:/c3750-ipbasek9-mz.122-35.SE5>> SE5 is the new image whcih i want my device to boot.
4- Save (Wr mem / copy run start)
5- Reboot.
Once the device is bootup it will come up iwth the new image.
HTH
Regards
Inayath
***Plz rate all usefull posts.
07-11-2013 03:28 AM
Hi,
Can you also post here the outputs of this 2 commands?
dir /all
dir flash:c3750-ipbasek9-mz.122-35.SE5/
Kind Regards,
Ivan Shirshin
**Please grade this post if you find it useful.
07-11-2013 03:34 AM
Hi,
Do the following steps:
conf t
boot system flash:/c3750-ipbasek9-mz.122-35.SE5/c3750-ipbasek9-mz.122-35.SE5.bin
end
write
reload
The switch should load with new image then. Check with "show version" after it boots up.
Kind Regards,
Ivan Shirshin
**Please grade this post if you find it useful.
07-11-2013 02:11 AM
Hi,
1. Check configured boot strings:
show run | i boot
2. Delete all boot lines from config:
conf t
no boot system ...
3. Configure first the boot string for the default image:
boot system ...
then configure 2nd, etc. boot string if needed.
4. Save configuration:
copy run start
Kind Regards,
Ivan Shirshin
**Please grade this post if you find it useful.
07-11-2013 02:23 AM
Hi Ivan,
Got this error:
Loading "flash:c3750-ipbasek9-mz.122-35.SE5"...flash:c3750-ipbasek9-mz.122-35.SE5: is a directory
Error loading "flash:c3750-ipbasek9-mz.122-35.SE5"
many thanks.
Kamran.
07-11-2013 02:45 AM
Hi Kamran,
It is as it says - you specified directory instead of file in the boot string. File is inside those dirs.
Attach the following outputs, please:
sh run | i boot
dir /all
dir flash:c3750-ipbasek9-mz.122-35.SE5/
Kind Regards,
Ivan Shirshin
**Please grade this post if you find it useful.
07-11-2013 03:02 AM
Hi Ivan,
Sorry I am bit confused.
Should i issue this command:
Switch(config)#boot system flash:/c3750-ipbasek9-mz.122-35.SE5
Many thanks.
Kamran.
07-11-2013 03:03 AM
Kamran,
AS Ivan stated you need to specifiy the boot system to take the image which you want to be loaded up with.
Eg:
IOS will boot system images in the order the are written.
so
Line 1:
boot system flash: c3750-ipbasek9-mz.122-35.SE5.bin
line 2:
boot system flash: c3750-i9-mz.122.se3.bin
HTH
Regards
Inayath
07-11-2013 03:11 AM
Hi Sharieff,
Could you please explain that in detail how do i change that, its my first time i am doing this.
dont have an idea how to change it .
thanks.
Kamran.
07-11-2013 03:18 AM
Kamran,
Sure we will try to help you here.
First thing to check whats the boot system currently configured and you can check this by running the following cmd:
1- show run | i boot
If you happen to see any boot sytem file is set then kindly remove the same by following command:
boot system flash:/c3750-ipbasek9-mz.122-35.SE4 >> Found SE4 image on my switch.
2- Remove this image:
config t
Switch(config)#no boot system flash:/c3750-ipbasek9-mz.122-35.SE4 >>> Remvoing SE4 image from the boot.
3- configure the boot system with the image name which you want the device to boot with:
config t
Switch(config)#boot system flash:/c3750-ipbasek9-mz.122-35.SE5>> SE5 is the new image whcih i want my device to boot.
4- Save (Wr mem / copy run start)
5- Reboot.
Once the device is bootup it will come up iwth the new image.
HTH
Regards
Inayath
***Plz rate all usefull posts.
07-11-2013 03:26 AM
Hi Sharieff,
it shows me the following when i issue the command
Switch#sh run | i boot
boot-start-marker
boot-end-marker
Many thanks.
Kamran.
07-11-2013 03:28 AM
Hi,
Can you also post here the outputs of this 2 commands?
dir /all
dir flash:c3750-ipbasek9-mz.122-35.SE5/
Kind Regards,
Ivan Shirshin
**Please grade this post if you find it useful.
07-11-2013 03:30 AM
Hi,
Switch#dir /all
Directory of flash:/
2 -rwx 12930816 Jan 1 1970 00:30:38 +00:00 c3750-ipservicesk9-mz.122-55.SE1.bin
3 -rwx 3096 Mar 1 1993 00:23:45 +00:00 multiple-fs
5 -rwx 2692 Mar 1 1993 00:04:34 +00:00 config.text
6 -rwx 1941 Mar 1 1993 00:04:35 +00:00 private-config.text
7 drwx 192 Mar 1 1993 00:14:06 +00:00 c3750-ipbasek9-mz.122-35.SE5
32514048 bytes total (9366016 bytes free)
Switch#dir flash:c3750-ipbasek9-mz.122-35.SE5/
Directory of flash:c3750-ipbasek9-mz.122-35.SE5/
8 -rwx 7755515 Mar 1 1993 00:13:05 +00:00 c3750-ipbasek9-mz.122-35.SE5.bin
9 drwx 4224 Mar 1 1993 00:13:41 +00:00 html
510 -rwx 614 Mar 1 1993 00:14:06 +00:00 info
32514048 bytes total (9366016 bytes free)
Many thanks,
07-11-2013 03:34 AM
Then, Just one command is needed :
Switch(config)#boot system flash:c3750-ipbasek9-mz.122-35.SE5
Save and reboot and let us know the result.
07-11-2013 03:35 AM
Hi Inayath,
This is dir
7 drwx 192 Mar 1 1993 00:14:06 +00:00 c3750-ipbasek9-mz.122-35.SE5
Kamran has to specify full path.
Kind Regards,
Ivan Shirshin
**Please grade this post if you find it useful.
07-11-2013 03:34 AM
Hi,
Do the following steps:
conf t
boot system flash:/c3750-ipbasek9-mz.122-35.SE5/c3750-ipbasek9-mz.122-35.SE5.bin
end
write
reload
The switch should load with new image then. Check with "show version" after it boots up.
Kind Regards,
Ivan Shirshin
**Please grade this post if you find it useful.
07-11-2013 03:42 AM
Ivan,
Oops missed that. Yup you are right.
Regards
Inayath
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide