Installation in proxmox

Hi All,

I am trying to install OpenWrt in a virtual environment x86-64 using proxmox but I cannot get into the installation as proxmox does not like .img files.

I read somebody had a problem with a network configuration in proxmox so it looks possible. But I cannot contact him directly...

I have tried converting the .img files to iso with no avail.

Any ideas?

Thanks in advance

It's definitely possible to run OpenWrt in a Virtual Machine, if that's what you mean.

I would try one of the following formats:

  • VDI
  • VMDK
  • VHD
  • HDD

If IMG doesn't work for you. I'm not exactly sure why you'd convert it to ISO.

1 Like

https://openwrt.org/docs/guide-user/installation/openwrt_x86#installation

2 Likes

Thanks to lleachii and vgaetera for your help, it kept me thinking during the night and after some failed attempts I managed to "install" it.
Proxmox is a bit funny when loading files that are not .iso so what I ended up doing was renaming the file and uploading it with a .iso extension. I could have also done a wget on the https://archive.openwrt.org/releases/18.06.1/targets/x86/64/openwrt-18.06.1-x86-64-combined-ext4.img.gz .
Then was a matter of finding the disk device for my particular vm: /dev/pve/vm-XXX-disk-1 where XXX is the VM id. Then copy the image using
#dd if=openwrt-18.06.0-x86-generic-combined-ext4.img of=/dev/pve/vm-XXX-disk-1
and finally booting it.
I tried with usb and gparted combination, but it became too cumbersome for my taste and ability. Never managed to use the usb from gparted.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.