Skip to content

Instantly share code, notes, and snippets.

@jayluxferro
Created June 13, 2018 12:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jayluxferro/648f43e4a9f355adf6e0623e72c5c010 to your computer and use it in GitHub Desktop.
Save jayluxferro/648f43e4a9f355adf6e0623e72c5c010 to your computer and use it in GitHub Desktop.
OpenWrt Virtualbox
  1. Download and install VirtualBox
  2. Get an OpenWrt image:
  3. Either use an existing image,
  4. Download the generic combined image for x86 (32-bit), e.g. chaos_calmer/15.05.1/x86/) LEDE 17.01.1 x86
  5. 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
  6. Uncompress the image if needed: gunzip openwrt.img.gz
  7. 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)
  1. For vmdk format : VirtualBox format:
VBoxManage convertfromraw --format VMDK openwrt.img openwrt.vmdk
  1. Or compile your own image (Target System → x86 and Target Images → Build VirtualBox image files). ext4 needs to be enabled first.

Source

https://wiki.openwrt.org/doc/howto/virtualbox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment