
- #Install Openwrt On X86 Pc update#
- #Install Openwrt On X86 Pc archive#
“ /init” first creates “ /dev/loop0” and “ /dev/root”, both point to the loopback device #0. To create an environment similar to SquashFS-booting, I modified “ /init” to create a device to be mounted at “ /”:
After extraction “ /init” is run to initialize the system.
#Install Openwrt On X86 Pc archive#
Instead, it extracts files from an initramfs archive to populate the special file system rootfs. When booting from a CD, the kernel does not mount a file system at “ /”. When OpenWrt boots from a router’s flash memory, Linux kernel mounts the flash device with SquashFS image at “ /” and executes “ /etc/preinit” to start initialization.
Modifying the initialization scripts to accommodate replacements. Replacing the JFFS2 volume with a USB flash drive. A overlay file system (mini_fo) that overlays the writable storage volume on top of the read-only boot volume, creating a writable root file system.įor the CD/USB-drive combination to work, three things are needed:.
A read-only SquashFS volume with core files for booting. When running on its “native” platforms (routers), OpenWrt uses three file systems Source URLs URLs point to OpenWrt Backfire 10.03, release on April 7, 2010. Here I will describe the changes I made to create this binary. I had to create a binary that boots from CD but saves configuration settings to a USB drive. It does not have a hard drive or bootable USB. I decided to run OpenWrt on an old x86 PC as my broadband router, but the precompiled binaries do not work on this PC.
#Install Openwrt On X86 Pc update#
Update : If your PC can boot from USB, perhaps a live USB setup will be more useful. Update : If your PC’s BIOS doesn’t have USB boot support, see Booting From USB Without BIOS Support followed by Easy Live USB for x86 OpenWRT.