- Download and install VirtualBox
- Get an OpenWrt image:
- Either use an existing image,
- Download the generic combined image for x86 (32-bit), e.g. chaos_calmer/15.05.1/x86/) LEDE 17.01.1 x86
- Download the generic combined image for x86_x64 (64-bit), e.g. chaos_calmer/15.05.1/x86/64) LEDE 17.01.1 x86_x64
- Uncompress the image if needed: gunzip openwrt.img.gz
- Convert it to native VirtualBox format:
VBoxManage convertfromraw --format VDI openwrt.img openwrt.vdi (in virtualbox version 5.0.12 the "--format VDI" is at the end of command)
- For vmdk format : VirtualBox format:
VBoxManage convertfromraw --format VMDK openwrt.img openwrt.vmdk
- Or compile your own image (Target System → x86 and Target Images → Build VirtualBox image files). ext4 needs to be enabled first.
https://wiki.openwrt.org/doc/howto/virtualbox