Upgrade Failure

Sophos XGS 107: How to recover from a corrupted image during upgrade

By Sai Kiran Pandrala · reviewed by Sai Kiran Pandrala, Editor Last verified: 2026-05-30

⚡ At a glance
VendorSophos
Operating systemSFOS (Sophos Firewall OS)
CategoryUpgrade Failure
Skill levelIntermediate to advanced
DIY-able?Yes with CLI access; some scenarios need Sophos Support + RMA.

Upgrade work on a Sophos fleet is mostly about discipline. SFOS (Sophos Firewall OS) gives you the commands; the failure mode is almost always operator error, wrong image for the platform, integrity not checked, no rollback plan. The XGS 87 family is no exception.

I always do a one-box pilot before a fleet roll. system firmware-upload type=usb on a single representative unit, then 24 hours of soak, then the rest of the fleet in waves. Skipping the soak has bitten me twice.

Sophos Support will want the exact build string and the upgrade method (CLI vs controller-driven) on every case, so keep that recorded for the change ticket.

What this guide covers

Recover from a corrupted image during upgrade on a Sophos XGS 107 (SFOS (Sophos Firewall OS)).

Step-by-step

  1. If at the boot loader, boot the prior image still on flash.
  2. If the active is corrupt and a standby still works (HA), force failover first.
  3. Re-download the image from the vendor portal.
  4. Verify checksum before copying to the device.
  5. Reinstall the new image and reboot.

CLI / commands

# Boot recovery prompt: Recovery console (USB)

# Verify image
system version (CLI)

# Upgrade
system firmware-upload type=usb

# Save / commit
(auto-saves in Web UI; CLI changes persist)

# Rollback
system backup-restore restore

Recovery options

Frequently asked questions

Will this work on my specific SFOS (Sophos Firewall OS) version?

The procedure reflects current SFOS (Sophos Firewall OS) behaviour. Older releases may need minor syntax adjustments. use the CLI help (? or tab-completion) to verify.

Should I open a Sophos Support case immediately?

Open one if you suspect hardware failure or the symptom persists after a maintenance-window reload. Make sure your support entitlement is active first.

Where can I find the Sophos official documentation?

https://support.sophos.com/support/s/, search the product family + feature name.

Is this procedure safe in production?

Test in a lab or maintenance window first. Capture pre-change state so you can roll back.

Related guides worth a look while you sort this one out:

References


Reference material, not professional advice. Validate against your specific SFOS (Sophos Firewall OS) version and test in a non-production environment before applying.

Why this matters for your day-to-day

A Sophos device that's misbehaving costs more than the fix itself: lost productivity, missed calls, security risk, even safety risk in some categories. Treating the symptom quickly with a documented procedure is cheaper than letting it persist. The steps above are written to get you back to working in under an hour where possible, and to flag clearly when escalation is the right call.

Safety + preconditions

Before any work on a Sophos device:

Verification checklist

After applying the fix on your Sophos device, confirm:

Escalation guide

For a Sophos device, the right escalation depends on impact:

More frequently asked questions

How often should I run preventive checks?

Quarterly for most consumer devices; monthly for production / commercial devices. Set a calendar reminder so the device stays healthy between issues.

Will this void my warranty?

Applying official firmware updates and following the user manual will not affect warranty. Opening sealed components, jumping safety circuits, or using third-party parts can void warranty in most jurisdictions.

What if my model isn't exactly the same revision?

Cross-check the model code on the rating plate against the manufacturer support page. Major firmware generations sometimes shift the menu path; the option is usually under a similarly-named section.

Is it safe to apply during business hours?

If the device is in production use, apply during a scheduled maintenance window. Most procedures need 2-15 minutes of downtime. Capture pre-change state so you can roll back if needed.

Should I update firmware first or last?

Update firmware first if a release note specifically mentions your symptom. Otherwise, finish the troubleshooting flow first, then update; that way you can isolate whether the update or the underlying fix solved it.