i12bretro tutorial 0405 builds an OpenWrt x86 VM on Proxmox VE. I keep the example values—VM ID 123, storage HDD_500GB, and LAN IP 10.10.27.151—so the original sequence remains reproducible; replace them with values from the local infrastructure.[9]

The original video demonstrates the same process on YouTube.[14]
Prerequisites
I need the Proxmox web UI at https://ProxMoxDNSorIP:8006/, permission to open the node Shell, storage for the imported disk, and a LAN addressing plan. The OpenWrt root password is entered interactively at the console rather than stored in a file.[9]
1. Create the OpenWrt VM
Follow these Proxmox steps in order:[9]
- Open a browser and navigate to
https://ProxMoxDNSorIP:8006/.[9] - Click Create VM in the upper-right corner.[9]
- On General, name the VM
OpenWRT, use VM ID123for the example, and click Next.[9] - On OS, select Do not use any media, set Guest OS Type to Linux, Version to 5.x - 2.6 Kernel, and click Next.[9]
- On System, keep the defaults and click Next.[9]
- On Hard Disk, set Disk size to
0.001and click Next.[9] - On CPU, set the required number of cores and Type to
host, then click Next.[9] - On Memory, set
256 MiBand click Next.[9] - On Network, choose Model VirtIO (paravirtualized), clear Firewall, and click Next.[9]
- On Confirm, review the settings and click Finish.[9]
- Select the new OpenWRT VM in the left panel.[9]
- Select Hardware in the sub-navigation.[9]
- Click the Hard Disk.[9]
- Click Detach at the top of the window to detach it from the VM.[9]
- Select the Unused disk.[9]
- Click Remove to permanently delete the small temporary disk.[9]
- Click Add → Network Device.[9]
- Set Model to VirtIO (paravirtualized), clear Firewall, and click Add.[9]
2. Download and import the OpenWrt disk
Select the Proxmox node and use Shell in these three actions:[9]
- Select the Proxmox node name in the left navigation.[9]
- Click Shell in the sub-navigation.[9]
- Run the following sequence. The first command reads the current stable version from the OpenWrt page; the rest downloads the x86/64 ext4 combined image, extracts it, renames it, expands the raw disk to 512 MB, and imports it into VM
123on storageHDD_500GB.[9]
| |
The VM ID and storage must match the place where I will attach the disk. The tutorial uses the x86/64 ext4 combined image, so I do not silently substitute another target with a different layout.[9]
3. Attach the disk, boot, and set the password
After the import completes, continue in this order:[9]
- Select OpenWRT in the left panel and open Hardware.[9]
- Double-click Unused Disk and click Add.[9]
- Select Options in the sub-navigation.[9]
- Double-click Boot Order.[9]
- Check Enabled beside the hard disk.[9]
- Drag the hard disk to the appropriate boot position, usually below the CD-ROM.[9]
- Click OK.[9]
- Double-click Use tablet pointer, clear Enabled, and click OK.[9]
- Click Start in the upper-right corner.[9]
- Click Console to watch the boot process.[9]
- Wait for the text to stop scrolling and press Enter.[9]
- Run the root-password command:[9]
| |
- Enter the new password twice directly in the console.[9]
4. Set the LAN address and install LuCI
In the OpenWrt console:
- Continue the configuration with the following commands.[9]
| |
After service network restart, the old console or access path can change. I use an address in the local LAN subnet instead of blindly reusing 10.10.27.151, then confirm that the router responds at the new address.[9]
5. Log in and verify
- Open a new browser tab and navigate to
http://IPofVM,http://10.10.27.151in the example.[9] - At the login screen, enter username
rootand the password just set, then click Login.[9] - Confirm that LuCI is available and the OpenWrt VM is running in Proxmox.[9]
Do not skip removal of the 0.001 temporary disk: the real disk should be the imported image enabled in Boot Order. If the VM will not boot, inspect Unused Disk, boot order, VirtIO device, console, and storage before rebuilding it.[9]
Original tutorial video: [watch it on YouTube]1.[14]
Source
Original source: [Run an OpenWRT VM on Proxmox VE]2, published/updated 2022-03-27.[9]
Sources
[9] https://i12bretro.github.io/tutorials/0405.html — Run an OpenWRT VM on Proxmox VE [14] https://www.youtube.com/watch?v=_fh7tnQW034 — Run an OpenWRT VM on Proxmox VE — i12bretro video
https://www.youtube.com/watch?v=_fh7tnQW034 — official i12bretro video. ↩︎
https://i12bretro.github.io/tutorials/0405.html — Run an OpenWRT VM on Proxmox VE. ↩︎


Góp Ý / Bình Luận / Đánh giá