10-17-2017 03:47 AM - edited 03-08-2019 12:23 PM
Good day,
I have a switch cisco ws-3650 -24ps-s which in rommon mode "switch:" I tried to boot packages.cnf but keeps rebooting.
I tried to copy a new IOS version in rommon mode to flash: but I got a message which indicates an error "Read only file system."
Could you please help me on how to copy IOS in rommon mode to flash successfully?
Your help is very much appreciated.
Thank you and regards,
Sanny
04-13-2018 05:03 AM
This is not the answer to the questions why this behavior changed, where is it mentioned in the documentation and is it possible to change it to behave like before.
04-13-2018 05:25 AM
The main question is "Could you please help me on how to copy IOS in rommon mode to flash successfully?"
The answer i gave is 100% the right answer. I've just had to do the same thing myself.
04-13-2018 05:30 AM
your answer contains 0% information about how to copy a file to the flash in rommon mode. After you boot from the usb drive and copy the file - it is not a rommon mode.
04-13-2018 05:32 AM
feel free to google the commands if you don't know them.
04-13-2018 05:42 AM
Of cause I tried to google. Just found a lot of similar questions here and nobody has answered yet, neither from cisco nor community side. It seems like nobody can find by googling the answer.
Again, your answer "Don't try to copy the .bin file to flash while in ROMON. " is not the answer to the question how to copy files to the flash in rommon mode. There can be different tasks and environments. Before it was possible to use the flash in read-write mode, now it's not possible, the question is it possible to change it or not, also, where is this change mentioned in the documentation. If you don't know any answer to these questions - why are you arguing? :)
04-13-2018 06:05 AM
right, ok so i don't know why you may have used to be able to and now you can't.
but the work-around then is to simply boot the IOS from USB, then once the device has booted you can copy to your hearts content.
I didn't realise you didn't know what the commands were your self so here are the ones i used on a 3850-48P.
boot: boot usbflash0:cat3k_caa-universalk9.16.06.03.SPA.bin
once the device has booted use these commands
copy usbflash0:cat3k_caa-universalk9.16.06.03.SPA.bin flash:
you may need to rename your packages.conf file if it exist:
rename flash:packages.conf packages.conf.bak
Then install the image:
request platform software package expand file flash:cat3k_caa-universalk9.16.06.02.SPA.bin
reload the device
reload
once the device has reloaded into the new firmware it's best practice to do a clean up.
request platform software package clean y
At this point then you'll be back to a full operational device, as far as the firmware is concerned anyway.
04-13-2018 06:08 AM
of cause, I know all these commands, but I don't need them. I need the command to change the read-only mode to read-write in rommon mode, or the reference to the documentation why it is not possible to do like it was possible before.
04-13-2018 06:09 AM
flash_init
04-13-2018 06:13 AM
no, flash_init doesn't change the mode to read-write.
09-23-2019 01:41 AM
hi... Did you find the answer on how to change the read-only mode to read-write?
My switch is busted and goes into Rommon mode everytime I boot. I just need to know how to enable read-only mode on the switch so that I can copy an image to the Flash.
Tried googling it, but can't find the answer for it anywhere.
09-23-2019 01:57 AM
Hello,
I am not sure about this, but I don't think you can write to flash in ROMMON. Try and boot from USB, then once the image is loaded and the switch up and running, copy the '.bin' file to flash...
09-23-2019 02:51 AM
Please read Emergency Recovery.
05-01-2018 12:25 AM
05-01-2018 12:36 AM
06-29-2018 10:19 AM
Worked for me! just boot from usb
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