Skip to main content
hervaltelecom
New Member
May 16, 2016
Question

Help! How to remove inactive firmware?

  • May 16, 2016
  • 1 reply
  • 12296 views

Good morning!

Is there a way to remove a specific inactive firmware? Note in image, the delete button is grayed! Fortigate keeps alternating between this two firmware causing problems.

Thank you!

 

 

    1 reply

    emnoc
    New Member
    May 16, 2016

    oops I posted this in the wrong thread;

     

    You have a  few options , but the best is to execute a  disk reformat & go from that point. Just remember if you have a deleted image(s) you will suffer upon a reboot or failure of the primary partition.   e.g   execute  erase-disk < disk-name type >   Just make sure you review all diskimages from the cmd line b4 you do anything.      diag  hardware  deviceinfo  disk  diag sys flash list     And then re-upload the image you want to one partition. You have no real means for deletion of the inactivce partition? And why would you want to?   ( I take no  responsibility for this )   You 2nd option is to mkdir a mount point using fnsysctl and  mount the 2ndboot partion and delete the  image     e.g   fnsysctl mkdir /IDIDNTTELLYOUTHIS   :)   fnsysctl mount -t ext2 /dev/sdb<1|2|3>  /IDIDNTTELLYOUTHIS   fnsysctl rm -fr /IDIDNTTELLYOUTHIS/*     fnsysctl unmount /IDIDNTTELLYOUTHIS   YMMV

     

    :)

     

    hervaltelecom
    New Member
    May 17, 2016

    Thank you for the reply, i will first try this on laboratory conditions first. The problem is that recently all my Fortigates, more than 100, where updated to version 5. But on version 5 there is no traffic shape, essential to my operations. When we downgraded back to version 4 the old, unusable firmware was kept as inactive and a few time, after a reboot do to energy failure, mostly, the Fortigate would reverted back to version 5. 

    emnoc
    New Member
    May 17, 2016

    What do you mean revert back? Unless that image is "marked" for bootup it should never be active or activated.