OpenWrt download/autorun Issue on Windows

Greetings to all, This is Gerard, a new member on this forum. I just first time try to install OpenWrt on Windows 10. But I am having a problem when I am trying to install this on my PC. Every time I am receiving this error message "Error opening installation log file. Verify that the specified location exists and is writable." Does anyone have any idea about how can I able to solve the issue?

I applied some basic methods to resolve it. I updated Windows and updated some other drivers of my PC.

On windows 10, or from window 10 ?

Openwrt doesn't run on Windows.

Windows <> Linux, Openwrt uses Linux.

You could however boot it from a flash drive, if you only want a test run.

4 Likes

It looks like VM.

1 Like

I was trying to download this from here https://downloads.openwrt.org/

But when I am going to download an image from there, the file is downloading, but it was not opening and getting the same exact error "Error opening installation log file. Verify that the specified location exists and is writable." I know that may be I am running Windows, so the problem is happening. But somehow may I not able to solve the issue?

Opening how, and where ?

There is no issue, you probably just don't know that you're supposed do with it.

You've already been told you can't run it on Windows, so what are you trying to do ?

2 Likes

When did I say it that I cant run it on Windows? Please read the thread carefully, I said I am running Windows 10 and I am trying to download this on it.

You didn't, I did.
Still true, doesn't matter who says it.

Please read the replied you're getting, answer the questions, and post some screen shots of the error messages.

1 Like

Easy questions then:

  • What is the make and model of the device you wish to install OpenWrt on?
  • What file are you downloading? :thinking:
  • Could you show a screenshot?
  • Can you provide more information on what steps you performed to get the error message (i.e. steps listed on the Wiki)?
1 Like

You can't start the OpenWrt image as-is in Hyper-V, you must first convert it to a vhdx file.

  1. Grab whatever image you desire from https://downloads.openwrt.org/snapshots/targets/x86/64/, I usually use the generic-squashfs-combined-efi one.
  2. Use a linux machine that has qemu installed to convert the img to vhdx:
qemu-img convert openwrt-x86-64-generic-squashfs-combined-efi.img -O vhdx -o subformat=dynamic openwrt-x86-64-generic-squashfs-combined-efi.vhdx
  1. Move the file to wherever you keep your Windows virtual hard disks.
  2. Use Hyper-V's "Quick Create" to create a new VM using the OpenWrt vhdx file.
  3. For networking, I usually pass through my primary NIC (which I've named eth0 because I'm old fashioned), then in the OpenWrt VM I edit /etc/config/network to point both wan and wan6 to eth0.

  1. To get ssh through the WAN interface (because the Hyper-V console is useless), I add a firewall rule:
config redirect
        option target 'DNAT'
        option src 'wan'
        option src_dport '22'
        option dest 'lan'
        option name 'DANGER-allow-SSH-from-WAN'

Done...

Assuming that's what OP wants, we don't know :slight_smile:

1 Like

You're right, maybe OP is using VirtualBox, which would be an even bigger pain than Hyper-V. I think those two pretty much exhaust the possibilities for "running OpenWrt on Windows", don't they? :wink:

Don't forget VMWare Workstation Player. :wink:

1 Like

Assuming the wording is correct ..

Log File
I am exactly got this error message.

I tried to download the image from here. Then I was getting the error.

But anyway I have resolved the issue with the help of this article. I followed some useful methods from there. As I use this antivirus McAfee, so first I disabled it and then reregistered the Windows installer service. After applying these methods perfectly, the problem got solved. Now I have no longer any issues while downloading this.

might want to change the topic, since it wasn't an installation issue, in the 1st place.

1 Like

but then I canceled the installation process and tried to redownload this. Then I was getting the error message.

still love to know how you're "installing" this ...

2 Likes

Changed to "download/autorun" instead of "installation".

1 Like