Skip to content

Instantly share code, notes, and snippets.

@jayluxferro
Created June 13, 2018 12:45
Show Gist options
  • Save jayluxferro/648f43e4a9f355adf6e0623e72c5c010 to your computer and use it in GitHub Desktop.
Save jayluxferro/648f43e4a9f355adf6e0623e72c5c010 to your computer and use it in GitHub Desktop.

Revisions

  1. jayluxferro created this gist Jun 13, 2018.
    18 changes: 18 additions & 0 deletions OpenWrt_Virtualbox.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    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)
    ```
    8. For vmdk format : VirtualBox format:
    ```
    VBoxManage convertfromraw --format VMDK openwrt.img openwrt.vmdk
    ```
    9. 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