Openwrt for x86 - part 2
This section requires knowledge of bash. Please get a professional to help if you are unsure. The root partition of the official x86 OpenWrt image is not very big, about 50 MiB. Many find it too small after installing a few add-on packages. Here I will cover the steps to expand it. The resultant image can be used in a live USB (see Easy Live USB for x86 OpenWRT ) or copied to a hard disk. Procedure Outline Get an uncompressed disk image. Pad image to desired size Attach the image file to a loop device Edit image partition table to enlarge the root partition Resize the file system in root partition Detach the image from the loop device. All commands below are run in Bash. Uncompress Image File Use whichever method you like to download an image file from OpenWrt ( http://downloads.openwrt.org ) and uncompress it using gzip. For example, these two commands download and uncompress the 10.03.1-rc6 disk image. bash$ wget --quiet http:/...