All posts

Back Up Before You Flash the BIOS

Updated November 26, 2026

A chip protected by a translucent shield while a lightning bolt strikes, with a backup copy in a glass cube beside it

A BIOS (the firmware that starts a computer) flash takes a few minutes. If it goes wrong, the thing you lose is usually not the motherboard. It's the system on the disks.

I was getting ready to flash the firmware on the Supermicro board in my oldest server. It's almost 15 years old and still cruising. This was before I built my dedicated inference server. I was putting this machine back together as a file server and a place to run websites and containers, and I wanted the newest firmware available, even though the newest was more than a decade old.

I also wanted to switch to UEFI (the modern replacement for legacy BIOS boot) so I could try GPU passthrough, which hands a graphics card straight to a virtual machine (VM). I'd bought an AMD consumer GPU for that. I learned afterward that AMD's ROCm software didn't support that card, so it never did what I'd hoped. That's where the flash came from.

The flash itself wasn't what worried me. What worried me was what can happen after it. A firmware update can reset settings to defaults, and on a server those defaults matter. Boot mode can flip between legacy and UEFI. The boot order can change. Virtualization extensions (VT-x, VT-d and the IOMMU, which lets a VM own a physical device) can switch off. The storage controller mode can change. Any of those can leave a healthy Proxmox install looking like it's gone. In the worst case I'd be reinstalling.

So I handled it like a change on a production system: back up everything I'd need to rebuild, prove the backups work, write down the current settings, and only then flash.

What Actually Needs Protecting

I split the machine into three things, because each one is backed up differently:

  1. The virtual machines. These are the workloads. If I lost the host but had the VMs, I could reinstall Proxmox and be back in an afternoon.
  2. The host configuration. Network setup, storage definitions, VM definitions, cluster files. Small, but painful to recreate by hand, especially the network config.
  3. The data pool. My ZFS pool (the storage layer for my data disks) lives on separate disks from the boot drive. A BIOS flash doesn't write to those disks, but a wrong controller setting afterward can hide them.

The VMs: vzdump, and a Practice Run First

I had already practiced this part. Two weeks earlier I worked through manual backups with vzdump and the matching restore command, so the procedure wouldn't be new on the day it mattered.

qm list
vzdump 101 --storage backup-nfs --mode snapshot --compress zstd

qm list shows the VM IDs. --mode snapshot backs up a running VM without shutting it down. For the pre-flash backups I used --mode stop instead. The whole host was going down anyway, and a backup of a stopped VM is a consistent copy with nothing in flight. The backups went to an NFS (Network File System) share on my ZFS pool, which I'd set up for exactly this.

A backup you have never restored is a hope. The restore test is one command, into an unused VM ID so it can't collide with the original:

qmrestore /mnt/pve/backup-nfs/dump/vzdump-qemu-101-<timestamp>.vma.zst 901
qm start 901

Then boot it, log in, check that the service inside it works, and delete the test copy. I did that before the flash.

One detail that matters for a BIOS flash: the backups must live somewhere that survives a reinstall of the host. An NFS share on a separate pool qualifies. A directory on the boot disk doesn't.

The Host Configuration

Proxmox keeps its configuration in /etc/pve (a database-backed filesystem, which is why you copy it out with normal tools while the cluster service is running) and the network setup in /etc/network/interfaces. The plan was to copy those into a single archive and move it off the machine:

mkdir -p /root/pre-flash
cp -r /etc/pve /root/pre-flash/pve
cp /etc/network/interfaces /root/pre-flash/
cp /etc/hosts /etc/hostname /root/pre-flash/
tar -czf /root/pre-flash-config.tar.gz -C /root pre-flash
tar -tzf /root/pre-flash-config.tar.gz | head

That last line lists the archive's contents. It's a quick check that the archive is readable and holds what you think it holds. Then the file goes to another machine. A config backup that only lives on the host you are about to risk isn't a backup.

You can go one step further and image the whole boot disk with Clonezilla, which gives a bit-for-bit copy you can restore in one step. It costs time and needs a disk big enough to hold the image. I didn't do that. The VM backups and the config archive were enough for me.

The Data Pool

For the ZFS pool, the risk isn't data loss from the flash. The risk is that the disks don't show up afterward, or that the host boots without importing the pool. So the pool layout and health get recorded before the flash:

zpool status
zpool list
zfs list

If the pool is missing after the flash, zpool import with no arguments lists pools the system can see but hasn't imported. That single command tells you whether the disks are visible at all (a controller or BIOS setting problem) or visible but not imported (a one-line fix).

Write Down the BIOS Settings Before You Lose Them

This is the step people skip. A firmware update usually resets everything to factory defaults, so you need a record of what you changed: boot mode, boot order, virtualization and IOMMU, SATA or HBA (host bus adapter, a storage controller) mode, power-on behavior after power loss, and fan settings.

I kept a written list of the settings I'd need to put back. I didn't photograph the screens. Photos are a decent fallback if you haven't kept a list, but they're slow and easy to do sloppily, so look for something better first:

  • On a machine booted in UEFI, efibootmgr -v prints the boot entries and the boot order. Save the output to a file.
  • Some boards with a BMC (baseboard management controller, a small remote-management computer on the board) can export and import their BIOS configuration with the vendor's tool. Mine had no BMC, so that wasn't an option.
  • Some BIOS setup screens can save a profile. Check yours before you flash.
  • After the flash, you can confirm the important ones from Linux: lscpu | grep -i virtualization and dmesg | grep -i -e DMAR -e IOMMU.

For an old board like mine, a written list was the practical answer.

The Flash, and After

With the backups verified and stored off the host, I flashed with the VMs shut down and nothing else running. I used the board's built-in updater, run from a USB stick. There was no BMC on this board, so there was no remote option.

The flash was uneventful. I didn't need any of the backups. I went back through the BIOS settings, got them sorted out, and checked the services. It's been a long time, so I can't give you a play-by-play, and that's fine. Touching the BIOS always carries some uncertainty. This board is much less finicky than the one in my inference server, which is very particular about its settings, but that's a different post.

After the reboot, the checks were the same list in reverse: does Proxmox boot, does the web interface come up, does zpool status show the pool ONLINE, do the VMs start, and do the services inside them answer.

What I'd Tell Someone Doing This Tomorrow

Treat firmware like any other change on a machine people depend on. Before you start, be able to answer three questions: what will I lose if this goes wrong, where is the copy, and have I restored from that copy at least once? If any answer is "I'm not sure", the flash can wait a day.

The same checklist works on a single desktop. Back up the user's data somewhere off the machine, confirm the backup opens, note the BIOS settings that were changed from default, and on a Windows laptop with BitLocker, have the recovery key in hand or suspend BitLocker first, because a firmware update can trigger the recovery screen on the next boot. Then update.

About the author

Carlos Mendez

Carlos Mendez

IT support and systems, Maui, Hawaii

I come from IT support and systems work. I build and run my own infrastructure and the production websites for West Maui Tech, my business, and I build AI tooling on top of that stack. I write here about what I run, what broke, and how I fixed it.

Enjoyed this article?

Subscribe to get notified about new posts on software engineering, AI development, and infrastructure.

No spam, unsubscribe anytime.