# Example: WAN network (NAT to host) virt-install --import ... (network definitions handled separately)
Note: FortiOS often stores config in a proprietary/encrypted format. You may see binary or scrambled data. fortios.qcow2
sudo guestmount -a fortios.qcow2 -i --ro /mnt/fortios # Example: WAN network (NAT to host) virt-install --import
| Partition | Filesystem | Size | Purpose | | :--- | :--- | :--- | :--- | | | FAT16 (EFI) | ~64 MB | UEFI boot loader for modern hypervisors. | | p2 | ext4 (Boot) | ~1 GB | Linux kernel image ( vmlinux ) and initial ramdisk. | | p3 | ext4 (Root) | ~4-8 GB | The main squashfs+overlay root filesystem. Contains sbin/init , CLI binaries, web server (Apache), and IPS/AV signatures. | | p4 | ext4 (Log) | Variable | /var/log for traffic logs, event logs, and attack logs. | | p5 | ext4 (Config) | ~512 MB | /config – Contains system.conf (the running config), firmware.conf , and SSL certificates. | sudo guestmount -a fortios
sudo virt-copy-out -a fortios.qcow2 /data/config .