Code Monkey home page Code Monkey logo

lxrunoffline's People

Contributors

artoria2e5 avatar conduitry avatar danielloader avatar ddosolitary avatar freaklevel avatar martin1994 avatar sqc1999 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lxrunoffline's Issues

could not open resolv.conf?

Anybody knows why I get this error?

PS D:\Dev\WSL\LxRunOffline-v2.2.2> D:\Dev\WSL\LxRunOffline-v2.2.2\LxRunOffline.exe install -n Ubuntu1604 -f ..\ubuntu-16.04-server-cloudimg-amd64.tar.gz -d ../Distros/Ubuntu1604
[ERROR] Couldn't open the file or directory "D:\Dev\WSL\Distros\Ubuntu1604\rootfs\etc\resolv.conf".

It happens with both of these images:
https://cloud-images.ubuntu.com/releases/artful/release/ubuntu-17.10-server-cloudimg-amd64.tar.gz
https://cloud-images.ubuntu.com/releases/xenial/release/ubuntu-16.04-server-cloudimg-amd64.tar.gz

It works when using the tar files from https://lxrunoffline.apphb.com/download/{distro}/{version} as the Wiki suggested but I don't want to use them because those are Ubuntu core images which do not contain sudo (command not found) or updating the system did not work (apt-get).

Thanks

Unable to load DLL 'LxssFileSystem.dll'

As a new user, I've tried to install via chocolatey and via the GitHub release distribution. Both produce the following error on a windows 10 VM I'm trying this with:

.\LxRunOffline.exe install -n UbuntuFromMS -f "C:\Users\myuser\Downloads\16.04.2-server-clo
udimg-amd64-root.tar.gz" -d c:\wsl

Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'LxssFileSystem.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at LxRunOffline.FileSystem.GetFileHandle(String ntPath, Boolean directory, Boolean create, Boolean write)
   at LxRunOffline.FileSystem.ExtractTar(Stream stream, String tarRootPath, String targetPath)
   at LxRunOffline.Wsl.InstallDistro(String distroName, String tarPath, String tarRootPath, String targetPath)
   at LxRunOffline.Program.<>c.<Main>b__0_2(InstallOptions opts)
   at LxRunOffline.Program.Main(String[] args)

Attempted:

  • I've confirmed that the dll is in the directory
  • the directory is on the path
  • executing from within the tools/lxrunoffline directory
  • specifically writing the executable like .\LxRunOffline.exe rather than simply "LxRunOffline" and letting it discover it

Didn't find this problem in the issue tracker and am curious what makes me special for such a simple seeming error.

Create shortcuts automatically

After installing new distribution or duplicating the current one, I can change the default with LxRunOffline default -n Name. That changes what distro is opened when running wsl/bash from cmd/PowerShell.

Any way to also change what distro is opened when launching from from Start Menu or pinned taskbar button?

(P.S. Is this somewhere documented or is it even possible? One usually wants to launch the default one with just default icon/shortcut and not through cmd/PowerShell)

Default userid is ignored

PS C:\Users\mystery\Downloads\LxRunOffline> .\LxRunOffline.exe config-uid -n ArchLinux
[WARNING] You are running LxRunOffline with administrator privileges. It may cause problems.
Do you want to continue? (y/n): y
1000
PS C:\Users\mystery\Downloads\LxRunOffline> bash
[root@DESKTOP-CHU61QE LxRunOffline]# id
uid=0(root) gid=0(root) groups=0(root)
[root@DESKTOP-CHU61QE LxRunOffline]# su mystery
[mystery@DESKTOP-CHU61QE LxRunOffline]$ id
uid=1000(mystery) gid=1000(mystery) groups=1000(mystery)
[mystery@DESKTOP-CHU61QE LxRunOffline]$

I'm using LxRunOffline 2.2.2. The same thing happens when launching bash or wsl directly or using a non-admin poweshell

LxRunOffline.exe install fails missing resolv.conf?

Hi,
trying to build a custom Lxc container from a debian based docker (trophime/salome-8.4.0)
following notes found in this article, I got this error:

PS C:\LxRunOffline> .\LxRunOffline.exe install -n Salome -f C:\Users\trophime\Documents\SalomeLxc\salome-8.4.0_docker.tar.gz -d C:\Users\trophime\Documents\MySalomeLxc\
[ERROR] Couldn't open the file or directory "C:\Users\trophime\Documents\MySalomeLxc\rootfs\etc\resolv.conf".

the docker.tar.gz file is just obtained by using docker save ...
How to fix this issue?
Is there any way to build a custom lxc container?

Thanks for you work and any hints would be really appreciated
Best

yum/dnf doesn't work with fedora installation

I tried both fedora 26, and 27 using the API method to get the didcated file to install a wsl instance of fedora, which was succeful for both the versions. However, I couldn't get yum/dnf to work as they both fail with seg fault.
Any suggestions?

File system upgrade?

After installing a new distribution on build 17134 and running bash, it says:

Performing one-time upgrade of the Windows Subsystem for Linux file system for this distribution...

It requires more investigation.

where is placed the files after installation?

hi.
I have used your method to install bashonwindows offline.
but I dont know where are placed the installed files.
I did a search for "C:\Users\USERNAME\AppData\Local\lxss" , but there is not lxss folder there. and only one Ixss folder is inside "C:\Windows\System32" that does not included this folders :
C:\Users\USERNAME\AppData\Local\Lxss\home\USERNAME
C:\Users\USERNAME\AppData\Local\Lxss\root

thanks

Unknown error in injected C++ completion routine.

@aslandevops:

After command LxRunOffline /install I have this error
Error: Failed to launch LxRun. System.ApplicationException: STATUS_INTERNAL_ERROR: Unknown error in injected C++ completion routine. (Code: 15) at EasyHook.RemoteHooking.CreateAndInject(String InEXEPath, String InCommandLine, Int32 InProcessCreationFlags, InjectionOptions InOptions, String InLibraryPath_x86, String InLibraryPath_x64, Int32& OutProcessId, Object[] InPassThruArgs) at LxRunOffline.Program.Main(String[] args)

A failed Move example : gdebi

On a traditional HDD, I have a 25 GB "C:\Users\me\AppData\Local\lxss" folder (containing Legacy Ubuntu), which I tried to move to E: by using LxRunOffline v3.0.1.
Unfortunately after an hour or two (if not four), I got :::

   [ERROR] Could't open the file "\\?\C:\Users\me\AppData\Local\lxss\rootfs\usr\share\gdebi\gdebi".
   Reason: Access is denied.

Upon which the process gave up, having copied some 15 GB at that point.

This is on Windows v10.0.17134.165 (1803, S.CU), Pro, x64

Taking a closer look into the problem zone, I saw :::

Directory of c:\Users\me\AppData\Local\lxss\rootfs\usr\share\gdebi
14/07/2017  02:13    DIR      GDebi
14/07/2017  01:37     4 038   gdebi

Clear enough a folder and a file are sitting there side by side while carrying the same name, albeit differently cased. It makes me believe that my attempt at a LxRunOffline "move" operation somehow crashed in the nasty "case [in]sensitivity" [in]compatibility area.

It's probably not just me. I suppose just anybody can reproduce my "move" failure merely by having [e.g.] the gdebi package installed (or is it "gdebi-kde", or both perhaps).
Should it nonetheless turn out that I'm the only one stumbling onto this, and if everywhere else "Move" works fine, then I'll have to conduct more tests over here in the first place.

You know it would be so great if this might truly work.

Support for other distros including OpenSUSE

From Windows 10 v1709, Microsoft releases Ubuntu, OpenSUSE, SLES offline packages in this article WSL Windows Server Installation Guide. Like you've mentioned the Ubuntu Server Cloud-images for LxRunOffline, Are there any Cloud-images of the these distros?


Distribution Links:


These .appx files can be opened with 7zip. APPX packages contain some images in assets folder, a distro UserSpace file in .tar.gz format like ubuntu.tar.gz, an a .exe file to install.
LxRunOffline can install those .tar.gz file.

Is there any limit for the archive tar.gz distro?

Hi,
I'm trying to create a LXC container from my docker image.
I'm getting some errors. The archive is not completely unzipped and untarred.
It seems that the archive tar.gz file is big more than 1.8 G.

Is there any limit for the archive tar.gz distro?
Best

Unable to run Fedora 28,27 on Windows 10 v1803

With the latest version on Windows (1803) I am able to install Fedora 27, 28 but unable to run dnf update and other commands. However, my other fedora 27 instance, which I created before the update is working fine.

[root@PC]# dnf update
Segmentation fault (core dumped)
[root@PC]# dnf update
error: db5 error(12) from dbenv->open: Cannot allocate memory
error: db5 error(22) from dbenv->close: Invalid argument
error: cannot open Packages index using db5 - Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm
Error: Error: rpmdb open failed
[root@PC]# cat /etc/*-release
Fedora release 28 (Twenty Eight)
NAME=Fedora
VERSION="28 (Twenty Eight)"
ID=fedora
VERSION_ID=28
PLATFORM_ID="platform:f28"
PRETTY_NAME="Fedora 28 (Twenty Eight)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:28"
HOME_URL="https://fedoraproject.org/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=28
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=28
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
Fedora release 28 (Twenty Eight)
Fedora release 28 (Twenty Eight)

Any help appreciated.

Can't make it work

Hey, I built your program to .exe and ran on a Win10 VM. It asks for the paths of the image and icon file. After entering those it just closes the command prompt without any error. Somethings pops up in the command prompt screen but it closes quickly. No other errors and bash didn't get installed.

Can you please help how to make it work properly?

Roadmap for v3.

  • v3 will only support the upcoming Win 10 v1803.
  • Rewrite the whole project in C++.
  • Use libarchive to read tar files, which would solve #29 (comment).
  • Take a look at FileStatLxInformation and FileCaseSensitiveInformation.

Error: 0x80070002 when I try to install Ubuntu

I download file from https://wsldownload.azureedge.net/16.04.2-server-cloudimg-amd64-root.tar.gz
then use LxRunOffline to install it.
lxrunoffline install -n Ubuntu -d A:\WSL\Ubuntu -f A:\16.04.2-server-cloudimg-amd64-root.tar.gz
However, it crashed. Then when I use command bash, there is an error: 0x80070002.
Since command lxrun /uninstall /full can't work now, I wonder how can I uninstall this wrong installation? Any help will be truly appreciated.

Wrong chars in the strings in the Registry after installing a distro

I got strange chars in the strings in the registry after installing a distro. I think the strings are stored into the registry with a wrong length.


Problem 1

I have installed the Ubuntu from MS version 16 using the file obtained from

https://lxrunoffline.apphb.com/download/UbuntuFromMS/16

I installed the distribution using the following command as Administrator (as a normal user I got an error)

C:\wsl>lxrunoffline install -n copy -d c:\wsl\copy -f 16.04.2-server-cloudimg-amd64-root.tar.gz

When I look at the registry values using Powershell, I got the following.

PS> (Get-ChildItem "HKCU:\Software\Microsoft\Windows\CurrentVersion\Lxss" -Recurse)

    Hive: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss

Name                           Property
----                           --------
{879FCB84-CA4D-4859-8310-1FCEA DistributionName : copy            㐽鐗ᤀ退Ubuntu-18.04                            
0F5581E}                       BasePath         : c:\wsl\copy     㐥鑯ᄀ退솠阤ȓ        �       㐠鑢ሀ耀copy  
                               State            : 1
                               Version          : 1

{e45b4078-48eb-4564-b597-8b9de State              : 1
1fd44b6}                       DistributionName   : Ubuntu-18.04
                               Version            : 1
                               BasePath           : C:\Users\Jaime
                               Chavarriaga\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79
                                                    rhkp1fndgsc\LocalState
                               PackageFamilyName  : CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc
                               KernelCommandLine  : BOOT_IMAGE=/kernel init=/init ro
                               DefaultUid         : 1000
                               Flags              : 7
                               DefaultEnvironment : {HOSTTYPE=x86_64, LANG=en_US.UTF-8,
                                                    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bi
                               n:/usr/games:/usr/local/games,
                                                    TERM=xterm-256color}


Problem 2

Note that the distribution does not have values for the DefaultEnvironment and KernelCommandLine parameters.

I ran the get-env and the get-kernelcmd trying to get some information and the software stored new values in the registry.

C:\wsl>lxrunoffline get-env -n copy
HOSTTYPE=x86_64
LANG=en_US.UTF-8
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
TERM=xterm-256color

C:\wsl>lxrunoffline get-kernelcmd -n copy
BOOT_IMAGE=/kernel init=/init ro

The following are the resulting values in the registry, obtained by using powershell. Note the wrong chars in the values.

PS> (Get-ChildItem "HKCU:\Software\Microsoft\Windows\CurrentVersion\Lxss" -Recurse)

    Hive: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss

Name                           Property
----                           --------
{879FCB84-CA4D-4859-8310-1FCEA DistributionName   : copy            㐽鐗ᤀ退Ubuntu-18.04                          
0F5581E}                       BasePath           : c:\wsl\copy     㐥鑯ᄀ退솠阤ȓ        �       㐠鑢ሀ耀cop 
                               State              : 1
                               Version            : 1
                               DefaultEnvironment : {HOSTTYPE=x86_64, LANG=en_US.UTF-8,
                                                    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bi
                               n:/usr/games:/usr/local/games,
                                                    TERM=xterm-256color}
                               KernelCommandLine  : BOOT_IMAGE=/kernel init=/init

                               ro            ⭓䜯☀踀USERDOMAIN_ROAMINGPROFILE=DEXTER-ZENBOOK    ⭉䜩✀退Couldn't delete 
                               the
                                                    directory "%1%".

Workaround

As a workaround, I ran regedit. In the registry editor the values look OK. I did double click on the values and save the values without making any change in the dialog box. The values got corrected after that.

PS> (Get-ChildItem "HKCU:\Software\Microsoft\Windows\CurrentVersion\Lxss" -Recurse)

    Hive: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss

Name                           Property
----                           --------
{879FCB84-CA4D-4859-8310-1FCEA DistributionName   : copy
0F5581E}                       BasePath           : c:\wsl\copy
                               State              : 1
                               Version            : 1
                               DefaultEnvironment : {HOSTTYPE=x86_64, LANG=en_US.UTF-8,
                                                    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bi
                               n:/usr/games:/usr/local/games,
                                                    TERM=xterm-256color}
                               KernelCommandLine  : BOOT_IMAGE=/kernel init=/init ro

{e45b4078-48eb-4564-b597-8b9de State              : 1
1fd44b6}                       DistributionName   : Ubuntu-18.04
                               Version            : 1
                               BasePath           : C:\Users\Jaime
                               Chavarriaga\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79
                                                    rhkp1fndgsc\LocalState
                               PackageFamilyName  : CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc
                               KernelCommandLine  : BOOT_IMAGE=/kernel init=/init ro
                               DefaultUid         : 1000
                               Flags              : 7
                               DefaultEnvironment : {HOSTTYPE=x86_64, LANG=en_US.UTF-8,
                                                    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bi
                               n:/usr/games:/usr/local/games,
                                                    TERM=xterm-256color}

Cannot run the system directly from different drive

Hello! I'm trying to move the WSL system to another drive(such as D:) and run directly from there.

I've installed Ubuntu from Microsoft Store, and used LxRunOffline to duplicate the system and set duplicated system to default, and tried to run it but I couldn't.

> LxRunOffline.exe duplicate -n Ubuntu -N UbuntuD -d D:\WSL\Ubuntu
> LxRunOffline.exe default -n UbuntuD
> bash
Error: 0x80070057

but when I've duplicated the system into somewhere in C:, I can run it.
> LxRunOffline.exe duplicate -n Ubuntu -N UbuntuC -d C:\WSL\Ubuntu
> LxRunOffline.exe default -n UbuntuC
> bash
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
$

How can I run my system from different drive? Any solution for this prolem?

EDIT:
I've also read microsoft/WSL#7 threads, but legacy mode has already disabled.
Windows 10 build is 16299.309(Fall Creators).
Run as Administrator not worked.

How to run the installed distribution?

Hello, sorry to be a dumbo, but how do I run the installed distribution? With the ones installed through wslconfig, they have names corresponding to the distros, so I can just type the name into the terminal:

  • ubuntu
  • opensuse-42

I installed another Ubuntu distro using

lxrunoffline install -n Ubuntu1 -f ./ubuntu-xenial-core-cloudimg-amd64-root.tar.gz -d C:/Users/Tom/Desktop/wsl/demo

and I figured I could just do ubuntu1, but that doesn't seem to be the case?

I can use wslconfig /s Ubuntu1 to make it a default and run it using wsl or bash, but that doesn't seem ideal. I would ultimately like to have taskbar shortcuts. I read Getting Crazy with Windows Subsystem for Linux where I found this tool, but the author uses WSLtty, but I would like to use the default Windows terminal that regular WSL uses.

After moving, home directory is lost

I installed WSL Ubuntu 16 using "lxrun /install" and I moved the installed Ubuntu using LxRunOffline using command :
LxRunOffline move -n Legacy -d d:\WSL\ubuntu

As a result, only rootfs is move. But the home directory is not mounted in lxss/rootfs/home but in lxss/home. So my home directory is lost forever.

Cannot install on Windows 10 x64 v1603

Hello,

I can't seem to install this successfully. The files are downloaded to the folder "C:\Users\Admin\Downloads". All the files has the block the file check removed. Please advise...


C:\Users\Admin\Downloads\LxRunOffline-v1.1.0>LxRunOffline.exe /install
Enter path to the Ubuntu image file: C:\Users\Admin\Downloads
Enter path to the icon file: C:\Users\Admin\Downloads
Error: Failed to launch LxRun.
System.ArgumentException: STATUS_INVALID_PARAMETER_1: The given process file does not exist. (Code: 2)
at EasyHook.NativeAPI.Force(Int32 InErrorCode)
at EasyHook.RemoteHooking.CreateAndInject(String InEXEPath, String InCommandLine, Int32 InProcessCreationFlags, InjectionOptions InOptions, String InLibraryPath_x86, String InLibraryPath_x64, Int32& OutProcessId, Object[] InPassThruArgs)
at LxRunOffline.Program.Main(String[] args)

Couldn't open the file or directory "H:\wlsdev\fedora1\rootfs\usr\share\terminfo\A\"

Couldn't open the file or directory "H:\wlsdev\fedora1\rootfs\usr\share\terminfo\A"

I am having this error while installing using the following versions

Windows 10 Fall Creators Update x64, 1709
LxRunOffline 2.2.2
fedora-rawhide-x86_64-20180303.tar.xz

LxRunOffline is installed to c:\tools

This is my install command
lxrunoffline install -n fedora1 -d h:\wlsdev\fedora1 -f h:\wlsdev\fedora-rawhide-x86_64-20180303.tar.xz -r .

I have tried setting the -d option to drive C and other partitioned drives, but the error persists.
What could be wrong?

Other distros stopped working after the Windows April 2018 update

With the latest update existing distros installed previously stopped working. But the officially installed Ubuntu is working fine.

How to get around this?

Errors (mintty):

/bin/wslbridge: Exit 1.
wslbridge error: failed to start backend process
note: bash.exe output: Error: 0x80070005

Also:

G:\LxRunOffline-v2.2.2>LxRunOffline.exe run -w -n ubuntu222
Error: 0x80070005

Not exactly an issue, but....

Is there anyway to utilize the config file to act as an answer file for the paths on the distro tar.gz and .ico prompts?

Suppress message when run with admin permissions

Is is possible to suppress the question "[WARNING] You are running LxRunOffline with administrator privileges. It may cause problems." when run using an account that has admin permissions? Also what type of problems can come as a result of running with admin rights?

Thanks,

~MC

Version 1.1 Unable to Install Fedora - Error 0x80070003

Hi,
I am stuck working on a system that does not have the Fall Creator's Update, thus I am also stuck with using the 1.1 version of LxRunOffline (As I do not have the required .dll files mentioned here: #10).

After following all of the instructions on the wiki page here: https://github.com/DDoSolitary/LxRunOffline/wiki/Fedora , I run

.\LxRunOffline.exe /install

and specify the fedora .tar.gz and a .ico icon file. I get the following output after specifying the tar and ico locations:

-- Beta feature --
This will install Ubuntu on Windows, distributed by Canonical 
and licensed under its terms available here:
https://aka.ms/uowterms

Type "y" to continue: y
Downloading from the Windows Store... 100%
Extracting filesystem, this will take a few minutes...
Error: 0x80070003

System details:
OS Name: Windows 10 Enterprise
Version: 1607
OS Build: 14393.447

Failed to duplicate a distribution

I am trying to duplicate a distribution and got an error.

Using the 3.0.1 version
I got an error message indicating a problem with the registry. After running the command, the registry is modified and the the following lxrunoffline commands gets error. If I have a running linux window it got an error too and the system halts. To restore the registry values I must close the linux windows and run again the linux distribution.

C:\wsl>lxrunoffline version
LxRunOffline v3.0.1

C:\wsl>lxrunoffline list
Ubuntu-18.04

C:\wsl>lxrunoffline duplicate -n Ubuntu-18.04 -d c:\wsl\copy -N copy
[ERROR] Couldn't get the value "DistributionName" of the registry key "Software\Microsoft\Windows\CurrentVersion\Lxss\{C383C0DA-8922-4B53-B019-4110BA9EC5EB}".
Reason: The system cannot find the file specified.

C:\wsl>lxrunoffline list
[ERROR] Couldn't get the value "DistributionName" of the registry key "Software\Microsoft\Windows\CurrentVersion\Lxss\{C383C0DA-8922-4B53-B019-4110BA9EC5EB}".
Reason: The system cannot find the file specified.

I must mention that the registry looks unmodified when I use Powershell. The values remains the same before and after running the commands.

PS> (Get-ChildItem "HKCU:\Software\Microsoft\Windows\CurrentVersion\Lxss" -Recurse)

    Hive: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss

Name                           Property
----                           --------
{D935AE08-6853-4418-B736-C50C9
C6EEABD}
{e45b4078-48eb-4564-b597-8b9de State              : 1
1fd44b6}                       DistributionName   : Ubuntu-18.04
                               Version            : 1
                               BasePath           : C:\Users\Jaime
                               Chavarriaga\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79
                                                    rhkp1fndgsc\LocalState
                               PackageFamilyName  : CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc
                               KernelCommandLine  : BOOT_IMAGE=/kernel init=/init ro
                               DefaultUid         : 1000
                               Flags              : 7
                               DefaultEnvironment : {HOSTTYPE=x86_64, LANG=en_US.UTF-8,
                                                    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bi
                               n:/usr/games:/usr/local/games,
                                                    TERM=xterm-256color}

Using the 2.2.2 version
Here, I got an error because the software cannot copy a file

C:\wsl>lxrunoffline duplicate -n Ubuntu-18.04 -d c:\wsl\copy -N copy
[ERROR] Couldn't open the file or directory "C:\wsl\copy\rootfs\etc\alternatives\mpicc".

In the original linux distribution, this files is a symbolic link to a command.

$ ls -al /etc/alternatives/mpicc
lrwxrwxrwx 1 root root 20 May 24 20:19 /etc/alternatives/mpicc -> /usr/bin/mpicc.mpich

$ ls -al /usr/bin/mpicc.mpich
-rwxr-xr-x 1 root root 9518 Sep 25  2017 /usr/bin/mpicc.mpich

Error installing with chocolatey

I tried to use the suggested command line:
choco install lxrunoffline
but, after asking me if I wanted to run the script, I got the following error:

ERROR: Cannot bind argument to parameter 'Path' because it is null.
The install of lxrunoffline was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\lxrunoffline\tools\chocolateyInstall.ps1'.
 See log for details.

I don't know PowerShell enough to debug this issue.
This is the log file generated during setup (I tried multiple times, but cleared the log before generating this dump, so this is for a single attempt).

2018-01-25 16:52:56,574 9404 [DEBUG] - XmlConfiguration is now operational
2018-01-25 16:52:56,636 9404 [INFO ] - ============================================================
2018-01-25 16:52:57,417 9404 [INFO ] - Chocolatey v0.10.8
2018-01-25 16:52:57,449 9404 [DEBUG] - Chocolatey is running on Windows v 10.0.17074.0
2018-01-25 16:52:57,449 9404 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2018-01-25 16:52:57,464 9404 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2018-01-25 16:52:57,480 9404 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install lxrunoffline
2018-01-25 16:52:57,480 9404 [DEBUG] - Received arguments: install lxrunoffline
2018-01-25 16:52:57,558 9404 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2018-01-25 16:52:57,574 9404 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2018-01-25 16:52:57,589 9404 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2018-01-25 16:52:57,667 9404 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2018-01-25 16:52:57,667 9404 [DEBUG] - 
NOTE: Hiding sensitive configuration data! Please double and triple 
 check to be sure no sensitive data is shown, especially if copying 
 output to a gist for review.
2018-01-25 16:52:57,683 9404 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\valte\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='False'|Verbose='False'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='True'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='lxrunoffline'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='lxrunoffline'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17074.0'|
Information.PlatformName='Windows 10'|
Information.ChocolateyVersion='0.10.8.0'|
Information.ChocolateyProductVersion='0.10.8'|
Information.FullName='choco, Version=0.10.8.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='valte'|
Information.UserDomainName='DESKTOP-HLQNCH1'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
PinCommand.Command='unknown'|OutdatedCommand.IgnorePinned='False'|
Proxy.BypassOnLocal='True'|
2018-01-25 16:52:57,699 9404 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2018-01-25 16:52:57,714 9404 [INFO ] - Installing the following packages:
2018-01-25 16:52:57,730 9404 [INFO ] - lxrunoffline
2018-01-25 16:52:57,746 9404 [INFO ] - By installing you accept licenses for the packages.
2018-01-25 16:53:01,968 9404 [INFO ] - [NuGet] Installing 'lxrunoffline 2.1.3'.
2018-01-25 16:53:01,995 9404 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'lxrunoffline\tools'.
2018-01-25 16:53:02,005 9404 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'lxrunoffline\tools'.
2018-01-25 16:53:02,070 9404 [DEBUG] - [NuGet] Added file 'lxrunoffline.nuspec' to folder 'lxrunoffline'.
2018-01-25 16:53:02,086 9404 [DEBUG] - [NuGet] Added file 'lxrunoffline.nupkg' to folder 'lxrunoffline'.
2018-01-25 16:53:02,086 9404 [INFO ] - [NuGet] Successfully installed 'lxrunoffline 2.1.3'.
2018-01-25 16:53:02,102 9404 [INFO ] - 
lxrunoffline v2.1.3 [Approved]
2018-01-25 16:53:02,148 9404 [INFO ] - lxrunoffline package files install completed. Performing other installation steps.
2018-01-25 16:53:02,270 9404 [DEBUG] - Setting installer args for lxrunoffline
2018-01-25 16:53:02,288 9404 [DEBUG] - Setting package parameters for lxrunoffline
2018-01-25 16:53:02,297 9404 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\lxrunoffline\tools\chocolateyInstall.ps1':
2018-01-25 16:53:02,315 9404 [DEBUG] - $osVersion = [Environment]::OSVersion.Version.Major
$osRelId = (gp 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion').ReleaseId
if ($osVersion -ne 10 -or $osRelId -lt 1703) {
	throw "This package requires Windows 10 Fall Creators Update or later."
}

$packageName = 'lxrunoffline'
$url = 'https://github.com/DDoSolitary/LxRunOffline/releases/download/v2.1.3/LxRunOffline-v2.1.3.zip'
$unzipLocation = Join-Path $Env:ChocolateyToolsLocation $packageName
if (Test-Path $unzipLocation) {
	rm -Recurse $unzipLocation
}
Install-ChocolateyZipPackage -PackageName $packageName -Url $url -UnzipLocation $unzipLocation -Checksum '0EFD657DA351297B60AF71EDD130A9DE152897B3B899E1D69F3135BF4C273082' -ChecksumType 'sha256'
Install-ChocolateyPath -PathToInstall $unzipLocation -PathType 'Machine'

2018-01-25 16:53:02,335 9404 [INFO ] - The package lxrunoffline wants to run 'chocolateyInstall.ps1'.
2018-01-25 16:53:02,369 9404 [INFO ] - Note: If you don't run this script, the installation will fail.
2018-01-25 16:53:02,392 9404 [INFO ] - Note: To confirm automatically next time, use '-y' or consider:
2018-01-25 16:53:02,423 9404 [INFO ] - choco feature enable -n allowGlobalConfirmation
2018-01-25 16:53:02,485 9404 [INFO ] - Do you want to run the script?
2018-01-25 16:53:02,501 9404 [INFO ] -  1) yes
2018-01-25 16:53:02,532 9404 [INFO ] -  2) no
2018-01-25 16:53:02,564 9404 [INFO ] -  3) print
2018-01-25 16:53:06,760 9404 [INFO ] - Choice selected: 'yes'
2018-01-25 16:53:06,823 9404 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\lxrunoffline\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2018-01-25 16:53:06,839 9404 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2018-01-25 16:53:07,151 9404 [DEBUG] - Host version is 5.1.17074.1002, PowerShell Version is '5.1.17074.1002' and CLR Version is '4.0.30319.42000'.
2018-01-25 16:53:07,995 9404 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2018-01-25 16:53:08,026 9404 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2018-01-25 16:53:08,042 9404 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2018-01-25 16:53:08,073 9404 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2018-01-25 16:53:08,104 9404 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2018-01-25 16:53:08,136 9404 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2018-01-25 16:53:08,151 9404 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2018-01-25 16:53:08,182 9404 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2018-01-25 16:53:08,214 9404 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2018-01-25 16:53:08,245 9404 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2018-01-25 16:53:08,260 9404 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2018-01-25 16:53:08,292 9404 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2018-01-25 16:53:08,323 9404 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2018-01-25 16:53:08,354 9404 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2018-01-25 16:53:08,370 9404 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2018-01-25 16:53:08,401 9404 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2018-01-25 16:53:08,432 9404 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2018-01-25 16:53:08,479 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2018-01-25 16:53:08,495 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2018-01-25 16:53:08,526 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2018-01-25 16:53:08,557 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2018-01-25 16:53:08,589 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2018-01-25 16:53:08,620 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2018-01-25 16:53:08,651 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2018-01-25 16:53:08,682 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2018-01-25 16:53:08,714 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2018-01-25 16:53:08,745 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2018-01-25 16:53:08,776 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2018-01-25 16:53:08,807 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2018-01-25 16:53:08,839 9404 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2018-01-25 16:53:08,870 9404 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2018-01-25 16:53:08,901 9404 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2018-01-25 16:53:08,932 9404 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2018-01-25 16:53:08,964 9404 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2018-01-25 16:53:08,995 9404 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2018-01-25 16:53:09,026 9404 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2018-01-25 16:53:09,057 9404 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2018-01-25 16:53:09,089 9404 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2018-01-25 16:53:09,120 9404 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2018-01-25 16:53:09,151 9404 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2018-01-25 16:53:09,182 9404 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2018-01-25 16:53:09,214 9404 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2018-01-25 16:53:09,260 9404 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2018-01-25 16:53:09,292 9404 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2018-01-25 16:53:09,323 9404 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2018-01-25 16:53:09,370 9404 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2018-01-25 16:53:09,417 9404 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2018-01-25 16:53:09,448 9404 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2018-01-25 16:53:09,479 9404 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2018-01-25 16:53:09,510 9404 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2018-01-25 16:53:09,542 9404 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2018-01-25 16:53:09,573 9404 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2018-01-25 16:53:09,604 9404 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2018-01-25 16:53:09,635 9404 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2018-01-25 16:53:09,667 9404 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2018-01-25 16:53:09,698 9404 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2018-01-25 16:53:09,729 9404 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2018-01-25 16:53:09,745 9404 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2018-01-25 16:53:09,776 9404 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2018-01-25 16:53:09,807 9404 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2018-01-25 16:53:09,839 9404 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2018-01-25 16:53:09,870 9404 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2018-01-25 16:53:09,901 9404 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2018-01-25 16:53:09,932 9404 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2018-01-25 16:53:09,979 9404 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2018-01-25 16:53:09,995 9404 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2018-01-25 16:53:10,026 9404 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2018-01-25 16:53:10,057 9404 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2018-01-25 16:53:10,089 9404 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2018-01-25 16:53:10,120 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2018-01-25 16:53:10,151 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2018-01-25 16:53:10,182 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2018-01-25 16:53:10,214 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2018-01-25 16:53:10,245 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2018-01-25 16:53:10,276 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2018-01-25 16:53:10,307 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2018-01-25 16:53:10,339 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2018-01-25 16:53:10,370 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2018-01-25 16:53:10,401 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2018-01-25 16:53:10,432 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2018-01-25 16:53:10,464 9404 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2018-01-25 16:53:10,495 9404 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2018-01-25 16:53:10,526 9404 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2018-01-25 16:53:10,557 9404 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2018-01-25 16:53:10,589 9404 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2018-01-25 16:53:10,604 9404 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2018-01-25 16:53:10,635 9404 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2018-01-25 16:53:10,667 9404 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2018-01-25 16:53:10,698 9404 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2018-01-25 16:53:10,729 9404 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2018-01-25 16:53:10,760 9404 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2018-01-25 16:53:10,792 9404 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2018-01-25 16:53:10,823 9404 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2018-01-25 16:53:10,854 9404 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2018-01-25 16:53:10,885 9404 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2018-01-25 16:53:10,917 9404 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2018-01-25 16:53:10,948 9404 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2018-01-25 16:53:10,979 9404 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2018-01-25 16:53:11,010 9404 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2018-01-25 16:53:11,042 9404 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2018-01-25 16:53:11,073 9404 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2018-01-25 16:53:11,104 9404 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2018-01-25 16:53:11,151 9404 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2018-01-25 16:53:11,182 9404 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2018-01-25 16:53:11,214 9404 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2018-01-25 16:53:11,245 9404 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2018-01-25 16:53:11,276 9404 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2018-01-25 16:53:11,292 9404 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2018-01-25 16:53:11,323 9404 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2018-01-25 16:53:11,354 9404 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2018-01-25 16:53:11,385 9404 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2018-01-25 16:53:11,417 9404 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2018-01-25 16:53:11,448 9404 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2018-01-25 16:53:11,479 9404 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2018-01-25 16:53:11,510 9404 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2018-01-25 16:53:11,542 9404 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2018-01-25 16:53:11,573 9404 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2018-01-25 16:53:11,604 9404 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2018-01-25 16:53:11,635 9404 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2018-01-25 16:53:11,667 9404 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2018-01-25 16:53:11,698 9404 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2018-01-25 16:53:11,729 9404 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2018-01-25 16:53:11,760 9404 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2018-01-25 16:53:11,792 9404 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2018-01-25 16:53:11,823 9404 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2018-01-25 16:53:11,854 9404 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2018-01-25 16:53:11,913 9404 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2018-01-25 16:53:11,948 9404 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2018-01-25 16:53:11,966 9404 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2018-01-25 16:53:12,013 9404 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2018-01-25 16:53:12,044 9404 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2018-01-25 16:53:12,075 9404 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2018-01-25 16:53:12,107 9404 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2018-01-25 16:53:12,138 9404 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2018-01-25 16:53:12,169 9404 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2018-01-25 16:53:12,200 9404 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2018-01-25 16:53:12,247 9404 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2018-01-25 16:53:12,287 9404 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2018-01-25 16:53:12,308 9404 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2018-01-25 16:53:12,339 9404 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2018-01-25 16:53:12,370 9404 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2018-01-25 16:53:12,401 9404 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2018-01-25 16:53:12,433 9404 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2018-01-25 16:53:12,479 9404 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2018-01-25 16:53:12,525 9404 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2018-01-25 16:53:12,558 9404 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2018-01-25 16:53:12,583 9404 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2018-01-25 16:53:12,614 9404 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2018-01-25 16:53:12,645 9404 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2018-01-25 16:53:12,692 9404 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2018-01-25 16:53:12,723 9404 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2018-01-25 16:53:12,755 9404 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2018-01-25 16:53:12,786 9404 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2018-01-25 16:53:12,817 9404 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2018-01-25 16:53:12,848 9404 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2018-01-25 16:53:12,895 9404 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2018-01-25 16:53:12,973 9404 [DEBUG] - Running 'ChocolateyScriptRunner' for lxrunoffline v2.1.3 with packageScript 'C:\ProgramData\chocolatey\lib\lxrunoffline\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\lxrunoffline', installArguments: '', packageParameters: '',
2018-01-25 16:53:13,005 9404 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\lxrunoffline\tools\chocolateyInstall.ps1'
2018-01-25 16:53:13,083 9404 [ERROR] - ERROR: Cannot bind argument to parameter 'Path' because it is null.
2018-01-25 16:53:13,114 9404 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\lxrunoffline\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '-1'.
2018-01-25 16:53:13,145 9404 [DEBUG] - Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']
2018-01-25 16:53:13,239 9404 [DEBUG] - Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116'
2018-01-25 16:53:13,413 9404 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\lxrunoffline'
2018-01-25 16:53:13,444 9404 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\lxrunoffline\lxrunoffline.nupkg'
  with checksum '1FF355A5CE2C4A39D2EBC1A8A917FBA4'
2018-01-25 16:53:13,475 9404 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\lxrunoffline\lxrunoffline.nuspec'
  with checksum '0BAB095216A07C67F70A049F64BB4924'
2018-01-25 16:53:13,507 9404 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\lxrunoffline\tools\chocolateyInstall.ps1'
  with checksum '256990963D26196D2362A7A7F444BCAF'
2018-01-25 16:53:13,522 9404 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\lxrunoffline\tools\chocolateyUninstall.ps1'
  with checksum '4AB185DEA08AD4174F6F423C0F805842'
2018-01-25 16:53:13,606 9404 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lxrunoffline.2.1.3\.arguments".
2018-01-25 16:53:13,634 9404 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lxrunoffline.2.1.3\.extra".
2018-01-25 16:53:13,653 9404 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lxrunoffline.2.1.3\.version".
2018-01-25 16:53:13,684 9404 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lxrunoffline.2.1.3\.sxs".
2018-01-25 16:53:13,699 9404 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lxrunoffline.2.1.3\.pin".
2018-01-25 16:53:13,731 9404 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\lxrunoffline".
2018-01-25 16:53:13,762 9404 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2018-01-25 16:53:13,793 9404 [ERROR] - The install of lxrunoffline was NOT successful.
2018-01-25 16:53:13,840 9404 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\lxrunoffline\tools\chocolateyInstall.ps1'.
 See log for details.
2018-01-25 16:53:13,887 9404 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\lxrunoffline'
 to 'C:\ProgramData\chocolatey\lib-bad\lxrunoffline'
2018-01-25 16:53:15,924 9404 [DEBUG] - Attempting to delete file "C:\Users\valte\AppData\Local\NuGet\Cache\lxrunoffline.2.1.3.nupkg".
2018-01-25 16:53:15,986 9404 [WARN ] - 
Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2018-01-25 16:53:16,017 9404 [INFO ] - 
2018-01-25 16:53:16,064 9404 [ERROR] - Failures
2018-01-25 16:53:16,095 9404 [ERROR] -  - lxrunoffline (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\lxrunoffline\tools\chocolateyInstall.ps1'.
 See log for details.
2018-01-25 16:53:16,142 9404 [WARN ] - 
Enjoy using Chocolatey? Explore more amazing features to take your 
experience to the next level at
 https://chocolatey.org/compare
2018-01-25 16:53:16,173 9404 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2018-01-25 16:53:16,220 9404 [DEBUG] - Exiting with -1

wslapi.dll not found!

this is the command that I ran
lxrunoffline install -f ubuntu-17.10-server-cloudimg-amd64.tar.gz -n "Ubuntu" -d "D:\ubuntu wls"

and I got this error
Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'wslapi.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at LxRunOffline.WslWinApi.WslRegisterDistribution(String distributionName, String tarGzFilename) at LxRunOffline.Wsl.InstallDistro(String distroName, String tarGzPath, String targetPath) at LxRunOffline.Program.<>c.<Main>b__0_2(InstallOptions opts) at LxRunOffline.Program.Main(String[] args)

I checked my System32 folder and I couldn't find it.
is there a way to download it.

Error installing Ubuntu (case sensitivity?)

Version:
LxRunOffline 2.2.1

Command:
LxRunOffline install -n test -f 16.04.2-server-cloudimg-amd64-root.tar.gz -d C:\lxss\test

Log:

[LOG] Opening the LXSS registry key.                                                            
[LOG] Distribution "test" not found.                                                            
[LOG] Creating the directory "C:\lxss\test\rootfs".                                             
[LOG] Extracting the tar file to "C:\lxss\test\rootfs".                                         
[WARNING] Ignoring the file "dev/null" of unsupported file type '3'.                            
[WARNING] Ignoring the file "dev/tty0" of unsupported file type '3'.                            
[WARNING] Ignoring the file "dev/rmidi3" of unsupported file type '3'.                          
[WARNING] Ignoring the file "dev/ram2" of unsupported file type '4'.                            
[WARNING] Ignoring the file "dev/rmidi0" of unsupported file type '3'.                          
[WARNING] Ignoring the file "dev/midi03" of unsupported file type '3'.                          
[WARNING] Ignoring the file "dev/tty5" of unsupported file type '3'.                            
[WARNING] Ignoring the file "dev/loop4" of unsupported file type '4'.                           
[WARNING] Ignoring the file "dev/random" of unsupported file type '3'.                          
[WARNING] Ignoring the file "dev/dsp" of unsupported file type '3'.                             
[WARNING] Ignoring the file "dev/midi0" of unsupported file type '3'.                           
[WARNING] Ignoring the file "dev/loop2" of unsupported file type '4'.                           
[WARNING] Ignoring the file "dev/port" of unsupported file type '3'.                            
[WARNING] Ignoring the file "dev/audio3" of unsupported file type '3'.                          
[WARNING] Ignoring the file "dev/audio2" of unsupported file type '3'.                          
[WARNING] Ignoring the file "dev/audio1" of unsupported file type '3'.                          
[WARNING] Ignoring the file "dev/dsp2" of unsupported file type '3'.                            
[WARNING] Ignoring the file "dev/loop0" of unsupported file type '4'.                           
[WARNING] Ignoring the file "dev/smpte1" of unsupported file type '3'.                          
[WARNING] Ignoring the file "dev/tty" of unsupported file type '3'.                             
[WARNING] Ignoring the file "dev/mixer1" of unsupported file type '3'.                          
[WARNING] Ignoring the file "dev/midi1" of unsupported file type '3'.                           
[WARNING] Ignoring the file "dev/tty8" of unsupported file type '3'.                            
[WARNING] Ignoring the file "dev/ram11" of unsupported file type '4'.                           
[WARNING] Ignoring the file "dev/rmidi1" of unsupported file type '3'.                          
[WARNING] Ignoring the file "dev/ram12" of unsupported file type '4'.                           
[WARNING] Ignoring the file "dev/console" of unsupported file type '3'.                         
[WARNING] Ignoring the file "dev/smpte3" of unsupported file type '3'.                          
[WARNING] Ignoring the file "dev/midi3" of unsupported file type '3'.                           
[WARNING] Ignoring the file "dev/dsp3" of unsupported file type '3'.                            
[WARNING] Ignoring the file "dev/ram4" of unsupported file type '4'.                            
[WARNING] Ignoring the file "dev/ram1" of unsupported file type '4'.                            
[WARNING] Ignoring the file "dev/midi02" of unsupported file type '3'.                          
[WARNING] Ignoring the file "dev/sndstat" of unsupported file type '3'.                         
[WARNING] Ignoring the file "dev/ram10" of unsupported file type '4'.                           
[WARNING] Ignoring the file "dev/tty3" of unsupported file type '3'.                            
[WARNING] Ignoring the file "dev/ram15" of unsupported file type '4'.                           
[WARNING] Ignoring the file "dev/zero" of unsupported file type '3'.                            
[WARNING] Ignoring the file "dev/dsp1" of unsupported file type '3'.                            
[ERROR] Couldn't open the file or directory "C:\lxss\test\rootfs\lib\xtables\libipt_TTL.so".  

Error: 0x80010119

Hi,

I try to install Ubuntu with LxRunOffline but it fails:

c:\WSL\LxRunOffline-dev-9d7c59b>LxRunOffline.exe /install
Enter path to the Ubuntu image file: c:\WSL\16.04.2-server-cloudimg-amd64-root.tar.gz
Enter path to the icon file: c:\WSL\ubuntu.ico
Error: 0x80010119

WSL is enabled, Windows Defender is disabled, and I unblocked all the files in the LxRunOffline folder. I tried both the stable and the latest development build.

Do you have any idea what else I can do?

Thanks,

Maarten

Unknown error in injected C++ completion routine. (Code: 15)

It doesn't work in my computer,I'm sorry I don't know why!

Error:
Failed to launch LxRun.
System.ApplicationException: STATUS_INTERNAL_ERROR: Unknown error in injected C++ completion routine. (Code: 15)
在 EasyHook.RemoteHooking.CreateAndInject(String InEXEPath, String InCommandLine, Int32 InProcessCreationFlags, InjectionOptions InOptions, String InLibraryPath_x86, String InLibraryPath_x64, Int32& OutProcessId, Object[] InPassThruArgs)
在 LxRunOffline.Program.Main(String[] args)

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.

Hi. I'm getting the above error when trying to run .\LxRunOffline.exe list or .\LxRunOffline.exe install. Full log is below. I downloaded the .zip version of LxRunOffline. Here are my system specs:

  • Windows 10 Pro
  • Version 1709
  • OS Build 16299.64

Windows Developer Mode was already enabled and I ran Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux and rebooted before trying LxRunOffline.

I have not previously tried to install any distributions using other WSL installers.

Here is is my PS session. PS was run as administrator.

PS C:\LxRunOffline-v2.1.1> .\LxRunOffline.exe help
LxRunOffline 2.1.1
Copyright (C) 2017 DDoSolitary

  list                List all installed distributions.

  default             Get or set the default distribution, which is used by bash.exe.

  install             Install a new distribution.

  register            Register an existing installation directory.

  uninstall           Uninstall a distribution

  unregister          Unregister a distribution but not delete the directory containing it.

  move                Move a distribution to a new directory.

  run                 Run a command in a distribution.

  dir                 Get the installation directory of a distribution.

  config-env          Get or set the default environment variables of a distribution. (Currently unusable because of a
                      problem of the command line parser library.)

  config-uid          Get or set the UID of the default user of a distribution.

  config-kernelcmd    Get or set the default kernel command line of a distribution.

  config-flag         Get or set some flags of a distribution. See
                      https://msdn.microsoft.com/en-us/library/windows/desktop/mt826872(v=vs.85).aspx for details.

  help                Display more information on a specific command.

  version             Display version information.

PS C:\LxRunOffline-v2.1.1> .\LxRunOffline.exe list

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at LxRunOffline.Wsl.<ListDistros>d__6.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at LxRunOffline.Program.<>c.<Main>b__0_0(ListOptions opts)
   at LxRunOffline.Program.Main(String[] args)
PS C:\LxRunOffline-v2.1.1-B> .\LxRunOffline.exe install -n wsl-ubuntu-16.04.2 -f "F:\Archived Installers\OS Images For W
SL\16.04.2-server-cloudimg-amd64-root.tar.gz" -d c:\wsl-ubuntu-16.04.2

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at LxRunOffline.Wsl.FindDistroKey(String distroName, Boolean write)
   at LxRunOffline.Wsl.InstallDistro(String distroName, String tarGzPath, String targetPath)
   at LxRunOffline.Program.<>c.<Main>b__0_2(InstallOptions opts)
   at LxRunOffline.Program.Main(String[] args)
PS C:\LxRunOffline-v2.1.1>

Cant move or duplicate

.\LxRunOffline.exe duplicate -n UbuntuLoadBalancer -N UbuntuLoadBalancerSys -d C:\WSLDistros\UbuntuLoadBalancerSys

[ERROR] Couldn't open the file or directory "C:\WSLDistros\UbuntuLoadBalancerSys\rootfs\usr\lib\x86_64-linux-gnu\perl\5.22.1\sys"

Inconsistency in Fedora wiki page

That page states that there are generally three ways to get the RootFS tarball, but then only two ways are mentioned. That is, unless the mirror in kernel.org is the third way. In that case, the text is confusing.

Error while using CentOS docker image

Hello,

I'm trying to use the official CentOS 7 docker image (here) as the installed distro.
When I try to install it I get:

[ERROR] Couldn't open the file or directory "D:\LxRunOffline-v2.2.2\Installations\CentOS-7\rootfs\.\dev\".

Is there something wrong with the docker image, or the way that LxRunOffline is trying to extract it? I think it should ignore the dot...

ArchLinux does not install on 1803

Is windows 1803 supported by version 2.2.2 ?
I tried to install archlinux but wslconfig /l says no distro is installed.
Tried to create the shortcut with distro key, answer is the same.

Distros installed on windows insider build 17643 doesn't launch

中文:旧版本(RS4 的预览版)上安装的发布版现在仍然可以运行,但是在 Build 17643 上新安装的发布版无法运行,报 0x80070005 错误。安装的发布版是 Arch Linux。另外我发现新的 Arch Linux rootfs 压缩包里没有 /init,不知道是否有影响。

Version 1.1 does not install

Hi,

I run the 1.1 installer from a Administrator cmd.exe, but it does not seem to do anything:

C:\Users\me\Downloads\LxRunOffline-v1.1.0\LxRunOffline-v1.1.0>.\LxRunOffline.exe
Enter path to the Ubuntu image file: C:\containers\rootfs.tar.gz
Enter path to the icon file: C:\Users\me\Downloads\archlinux.ico
C:\containers\rootfs.tar.gz C:\Users\me\Downloads\archlinux.ico
Performs administrative operations on the LX subsystem

Usage:
    /install - Installs the subsystem
        Optional arguments:
            /y - Do not prompt user to accept
    /uninstall - Uninstalls the subsystem
        Optional arguments:
            /full - Perform a full uninstall
            /y - Do not prompt user to accept
    /setdefaultuser - Configures the subsystem user that bash will be launched as. If the user does not exist it will be created.
        Optional arguments:
            username - Supply the username
            /y - If username is supplied, do not prompt to create a password
    /update - Updates the subsystem's package index

C:\Users\me\Downloads\LxRunOffline-v1.1.0\LxRunOffline-v1.1.0>

The files exist:

C:\>dir C:\containers\rootfs.tar.gz
 Volume in drive C is Windows
 Volume Serial Number is BE7C-B407

 Directory of C:\containers

18-12-2017  08:05       177.644.315 rootfs.tar.gz
               1 File(s)    177.644.315 bytes
               0 Dir(s)  72.998.940.672 bytes free

C:\>dir C:\Users\me\Downloads\archlinux.ico
 Volume in drive C is Windows
 Volume Serial Number is BE7C-B407

 Directory of C:\Users\me\Downloads

18-12-2017  09:18           111.389 archlinux.ico
               1 File(s)        111.389 bytes
               0 Dir(s)  72.998.940.672 bytes free

Any ideas on what is preventing the installation? I can't use version 2.x since I don't have the FallUpdate.
Thanks in advance!

Unable to load DLL 'wslapi.dll'

Hi,

I'm trying to setup ubuntu-17.10 using this command
C:\Users\klintz>lxrunoffline install -n ubuntu-17.10-amd64 -f D:\Programs\windows\ubuntu-17.10-server-cloudimg -amd64.tar.gz -d D:\wsl

And I'm getting this error.

Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'wslapi.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at LxRunOffline.WslWinApi.WslRegisterDistribution(String distributionName, String tarGzFilename) at LxRunOffline.Wsl.InstallDistro(String distroName, String tarGzPath, String targetPath) at LxRunOffline.Program.<>c.<Main>b__0_2(InstallOptions opts) at LxRunOffline.Program.Main(String[] args)

Am I doing it right? Need your help.

Here's my current windows version.
image

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.