Skip to content

OpenWrt x86 64

reubenajohnston edited this page Feb 28, 2023 · 11 revisions
  • Download latest generic-ext4-combined.img.gz for PC BIOS systems here
    • Disk image uses a single read-write ext4 partition without a read-only squashfs root filesystem. As a result, the root partition can be expanded to fill a large drive (e.g. SSD/SATA/mSATA/SATA DOM/NVMe/etc).
  • Download latest point release live image for Kali here
  • Boot the system without an OS using the Kali live image
  • Unpack image $ gunzip openwrt-*.img.gz
  • Identify disk to replace sdX in the following command below (likely to be sda) $ lsblk
  • Use dd to write image to /dev/sdX $ sudo dd if=openwrt-22.03.3-x86-64-generic-ext4-combined.img of=/dev/sda bs=1M
  • Boot the OpenWrt image
  • Setup networking for it
  • Update # opkg update
  • Resize the rootfs (partition 2)
# opkg install parted
# echo fix | parted -l ---pretend-input-tty
# parted -s /dev/sda resizepart 2 100% 

References

Clone this wiki locally