this notes are in progress + take my notes from my virtual box tutoaril as they will share with this alomost
- in the bios turn evrything of that you are not going to use (keep serial obviously)
- Select your image
- You should use the 64 version as most modern PCs are 64-bit now
- There are 2 types of full images that we can use
- generic-ext4-combined-efi.img.gz or generic-ext4-combined.img.gz
- if you have an EFI PC then you should use this the EFI version
- Installing your image method
- Expand the drive image
- convert img --> VHD with vboxmanage (or other converter) and then use a standard disk image utulity to put it on the real hdd
- use a disk utility that can use the image file as is and install it on to the PC
- Boot of a linux distro and use DD to rawwrite the image to the PC
- Expand the ext4 partition to allow a lot more stuff to be installed.
- Expand the drive image
- Install additional hardware
Links
- [OpenWrt Wiki] OpenWrt on x86 hardware (PC / VM / server) (Legacy bios, this methos is slightly easier)
- Basic instructions on installing OpenWRT
- The different Disk image types are explained here.
- within the images thre are EFI and non-EFI version which is not noted. These are your basic different types of PC. Legacy and EFI/UEFI
- The 64-bit image supports Intel and Realtek Ethernet chipsets.
- NVMe SSD support is available since OpenWrt 21.02.
- The installation consists of writing a raw disk image on the drive which will boot OpenWrt system.
- If you had used a -combined-efi.img.gz type of image to install, the GPT partition UUID of your root partition would have been changed and you need to update the entries of GRUB, otherwise your device won't be bootable after reboot: (if using command line)
- [OpenWrt Wiki] OpenWrt on UEFI based x86 systems (modern systems, this is prefered if your PC supports it)
- UEFI boot has been required for years now, boards that only support UEFI are common, and Intel has stated back in 2017 that “legacy” BIOS will no longer be supported after 2020.
- Run LEDE as a Virtualbox virtual machine | QuantumWarp
- Index of /releases/21.02.0/targets/x86/64/ - 21.02.0 targets
- resizing squashfs partition
- Expanding OpenWrt squashfs image? (SDcard) - #3 by dipswitch - Installing and Using OpenWrt - OpenWrt Forum - this has some useful notes on what a guy did.
- Resizing F2FS overlay | [OpenWrt Wiki] OpenWrt on x86 hardware (PC / VM / server) - this might allow me to resize the compressed partition
- the squashfs has a failsafe and reset option.
- WHAT IS Flash-Friendly File System (F2FS)? — The Linux Kernel documentation
- Upgrading a PC OpenWRT installation (after backing up) | [OpenWrt Wiki] OpenWrt on x86 hardware (PC / VM / server)
- you can use the basic sysupgrade (not recommended)
- Extracting boot partition image from ext4-combined.img.gz and writing it, then uncompressing rootfs.tar.gz to existing rootfs partition.
- As said above, there are 2 options for upgrading rootfs partition, when we are using the ext4 file system and not squashfs: writing ext4-rootfs.img.gz image or uncompressing rootfs.tar.gz into existing partition. ????
- Installation Tutorials
- [OpenWrt Wiki] OpenWrt on x86 hardware (PC / VM / server) - Official install instructions for MBR PCs
- [OpenWrt Wiki] OpenWrt on UEFI based x86 systems - Additional Official instructions for EFI/UEFI PCs
- OpenWRT installation instructions for APU2/APU3/APU4 boards | TekLager - installation on a homemade router (not quite a full PC)
- How-to install LEDE on x86 - Hardware Questions and Recommendations - OpenWrt Forum - Some decent instructions
- OpenWRT - x86 PC Installation - Live USB - YouTube | Van Tech Corner - A nice easy to follow video
- OpenWRT - x86 PC - Install to Hard Drive - YouTube | Van Tech Corner - A nice easy to follow video
- Install OpenWRT with LuCI on VirtualBox - YouTube ################ add this to my virtual box tut)
- Additional hardware installtion tutorial
- OpenWRT - Install and Configure Wireless Network Adapter - Wallys DR900VX Dual Band WiFi - YouTube | Van Tech Corner - How to install a Wifi card
- KMOD = Kernel mods
- ext4-rootfs.img.gz = data parititon
- rootfs.tar.gz = boot partition