Starting from ESXi 7.0, the system writes significantly more data to the boot device (e.g., logs, configuration sync, core dump metadata). SD cards and USB devices are not designed for such sustained write operations and may lead to:
This article provides a procedure to replace the SD-card boot device with an internal persistent disk while keeping the same ESXi build and configuration, using the built-in vim-cmd hostsvc/firmware backup and restore workflow.
Prerequisites:
Steps:
1. Place the host into maintenance mode
2. Back up the host configuration
vim-cmd hostsvc/firmware/sync_config
vim-cmd hostsvc/firmware/backup_config
Bundle can be downloaded at : http://*/downloads/<UUID>/configBundle-<FQDN>.tgz
3. Reinstall ESXi using the same version and build
4. Adjust BIOS boot order
After installation,
5. Configure management network
6. Upload and restore configuration
vim-cmd hostsvc/maintenance_mode_enter
vim-cmd hostsvc/firmware/restore_config 0
7. Verify host status after reboot
。Networking configuration, including VDS uplink mapping
。vSAN configuration (Disk Groups and network connectivity)
。NTP, DNS, and syslog settings
。Scratch location points to persistent storage (not RAMdisk)
8. Exit maintenance mode
If validation is successful, exit maintenance mode by right-clicking the host → Exit Maintenance Mode in vCenter.
9. Repeat for remaining hosts
Always use the same ESXi version and build when reinstalling.
For vSAN clusters, migrate one host at a time only.
Auto Deploy or stateless hosts are not supported for this workflow.
The configuration bundle does not include SSH keys, custom scripts, or third-party agents; back them up separately if required.
After successful migration, the SD card can be removed or retained for emergency recovery.