Install Openwrt On X86 Pc Average ratng: 3,6/5 8180 reviews

How to: Install DD-WRT (X86) On a PC. This would have let you add features from OpenWRT that aren’t already in DD-WRT. Putting the DD-WRT machine together. Uncompress Image File Use whichever method you like to download an image file from OpenWrt. Openwrt on a pc. Update openwrt PC (x86). For x86_x64 (64-bit) make sure Intel VT-x or AMD-V is enabled, If you do not see this option in your motherboard, you must check the motherboard manual and specifications to identify whether the motherboard supports virtualization technology, Some of the old motherboards on Desktop or Laptop do not offer this feature, x86 is ok.

I've tried to install OpenWRT Backfire 10.03.1-rc6 x86_generic combined ext2 on my x86 PC, but the boot process stops while 'waiting for root device /dev/sda2'.

Forums have advised me to build a custom OpenWRT image, but I don't know what packages I should include to solve this problem.

I've tried adding kmod-ata-via-sata but it doesn't help.

EuphorbiumEuphorbium

3 Answers

I ran into this problem before. I had to build a custom image from source to solve it. The cause was that the disk controller driver wasn't included in the kernel. Without the driver, the kernel couldn't access the root partition and became stuck.

To add this driver I had to compile from source. I added the driver using make kernel_menuconfig. I also ran make menuconfig and disabled the matching kmod-* kernel module. I took these steps when I realized kmod-* kernel modules were stored in the root partition, not compiled into the kernel.

Must you use a SATA hard drive as the storage device? How about using live USB instead? I worked out a method to store many disk images on a flash drive. The step-by-step instruction is at my blog http://macbruins.wordpress.com/2011/09/01/easy-live-usb-for-x86-openwrt.

macbruinsmacbruins

I'm not positive, but I believe that OpenWRT is intended to be installed on a router. It enables your router to do things that it may not have been able to do before switching the firmwares. I don't think it is intended to be installed on a computer.

Yosef GunsburgYosef Gunsburg

I think the most likely reason is the openwrt build you are using doesn't have a kernel module for some part of the disk system you are using - most likely the sata disk controller.

One approach would be to get a linux liveCD, boot it up on the PC, confirming it can see the disks, then do an lsmod to see what disk related modules were loaded.

Then see if those modules are available as kmods for openwrt.

PaulPaul

Not the answer you're looking for? Browse other questions tagged routeroperating-systemsopenwrtx86 or ask your own question.