Task-oriented guides for using Hyper2KVM effectively. Learn how to accomplish specific tasks and use various features.
| Difficulty | Guides | Best For |
|---|---|---|
| β Beginner | Cookbook, CLI Reference, YAML Examples | Getting started |
| ββ Intermediate | Migration Playbooks, Batch Migration, TUI | Regular usage |
| βββ Advanced | Enhanced Features, HyperSDK, Security | Power users |
| Use Case | Recommended Guides |
|---|---|
| First migration | Cookbook β CLI Reference |
| Multiple VMs | Batch Migration Features β Batch Quick Reference |
| Production deployment | Security Best Practices β Migration Playbooks |
| Automation | YAML Examples β HyperSDK Quickstart |
| Troubleshooting | Troubleshooting Guide β Cookbook |
| Interactive work | TUI Quickstart β Dashboard Guide |
| Task | Guide | Time |
|---|---|---|
| Migrate single VM | Cookbook | 10 min |
| Migrate multiple VMs | Batch Migration | 30 min |
| Set up automation | HyperSDK Quickstart | 45 min |
| Configure CLI | CLI Reference | 15 min |
| Use TUI | TUI Quickstart | 10 min |
| Troubleshoot issues | Troubleshooting | Varies |
| Secure migrations | Security Best Practices | 30 min |
Perfect for: Quick solutions to common tasks
The cookbook provides ready-to-use recipes for:
Perfect for: Step-by-step migration workflows
Complete playbooks covering:
Perfect for: Securing your migration process
Security guidelines for:
Perfect for: Fixing common issues
Solutions for:
β Open Troubleshooting Guide
Migration Commands:
hyper2kvm --cmd local - Local VMDK migrationhyper2kvm --cmd fetch-and-fix - Remote ESXi fetchhyper2kvm --cmd ova - OVA file importhyper2kvm --cmd vhd - VHD file importhyper2kvm --cmd live-fix - Live SSH-based fixingWorker Commands:
h2kvmctl submit - Submit migration job to workerh2kvmctl status - Check job statush2kvmctl query - Query jobsh2kvmctl cancel - Cancel jobcommand: local
vmdk: /path/to/vm.vmdk
output_dir: /output/path
to_output: converted-vm.qcow2
out_format: qcow2
fstab_mode: stabilize-all
regen_initramfs: true
update_grub: true
Best for: Most use cases, easy to read and maintain
{
"command": "local",
"vmdk": "/path/to/vm.vmdk",
"output_dir": "/output/path",
"to_output": "converted-vm.qcow2"
}
Best for: Automation, programmatic generation
from hypersdk import MigrationClient
client = MigrationClient()
result = client.migrate_vm(
vmdk="/path/to/vm.vmdk",
output_dir="/output/path"
)
# windows-migration.yaml
command: local
vmdk: /vmware/windows-server-2019.vmdk
output_dir: /kvm/vms
to_output: windows-server-2019.qcow2
windows_drivers: true
fstab_mode: stabilize-all
compress: true
sudo hyper2kvm --config windows-migration.yaml
See: Cookbook
# batch.yaml
command: local
batch_manifest: migrations.json
batch_parallel: 3
output_dir: /kvm/batch
{
"migrations": [
{"vmdk": "/vmware/vm1.vmdk", "to_output": "vm1.qcow2"},
{"vmdk": "/vmware/vm2.vmdk", "to_output": "vm2.qcow2"}
]
}
sudo hyper2kvm --config batch.yaml
# fetch.yaml
command: fetch-and-fix
host: esxi-host.example.com
user: root
identity: ~/.ssh/id_rsa
remote: /vmfs/volumes/datastore1/vm/vm.vmdk
output_dir: /kvm/vms
to_output: migrated-vm.qcow2
sudo hyper2kvm --config fetch.yaml
See: Migration Playbooks
| Issue | Solution | Guide |
|---|---|---|
| Boot failure | Check bootloader and initramfs | Troubleshooting |
| No network | Verify VirtIO drivers | Troubleshooting |
| Permission denied | Run with sudo | Troubleshooting |
| Conversion fails | Check disk space | Troubleshooting |
| Windows drivers | Use βwindows-drivers | Cookbook |
Help improve the guides:
See: Contributing Guide
Choose your path:
β Start with Cookbook
β Read CLI Reference
β See Migration Playbooks
β Try TUI Quickstart
β Review Security Best Practices
β Check Troubleshooting Guide
Last Updated: February 2026 Total Guides: 15+ Coverage: CLI, Migration, TUI, Security, Troubleshooting