How to install OpenWrt into VirtualBox?

Hi,

First of all, we need to download OpenWrt image for x86 architecture. We’re gonna use backfire version. After downloaded a backfire image… actually is a backfire disk, on the other hands, is a .VDI or .VMDK file. So, the overall steps are:

1) Download: openwrt-x86-generic-rootfs-ext2.vdi from here.
2) Create a new OS (type: Linux 2.6 or Other Linux) by using VirtualBox.
3) Choose the downloaded backfire disk (.vdi).
4) Start the OpenWrt OS, but… probably you’ll get a ‘kernel panic’ message… this happens because the VBox tries to use SATA controller and the OpenWrt depends on IDE controller, so we need to change it..

Follow the next steps described below:

I – Create a new OS:
openwrt-vbox-fig01

II – Remove the SATA Controller
openwrt-vbox-fig02

III – After removed the SATA Controller, add the .VDI file to IDE Controller.. it looks like this:
openwrt-vbox-fig03

IV – Uncheck USB controller:
openwrt-vbox-fig04

VI – Choose ‘PCnet FAST III’ network interface card:
openwrt-vbox-fig05

VII – Boot up the backfire system and it will appear like this:
openwrt-vbox-fig06

That’s all,

Advertisements

One thought on “How to install OpenWrt into VirtualBox?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s