Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repackaging Ubuntu-22.04 error #196

Open
Tarrke opened this issue Jun 23, 2022 · 1 comment
Open

Repackaging Ubuntu-22.04 error #196

Tarrke opened this issue Jun 23, 2022 · 1 comment

Comments

@Tarrke
Copy link

Tarrke commented Jun 23, 2022

Hi,

I'm trying to get the following working:

  1. install ubuntu-22.04 from the store in wsl (1 not 2) (ie from https://apps.microsoft.com/store/detail/ubuntu-2204-lts/9PN20MSR04DW)
  2. duplicate the installation to another folder
  3. Repackage this installation into a tar.gz file
  4. Unpack the tar.gz file as a new distribution

The first 3 steps worked nicely. The last one is failling with error:
[ERROR] Couldn't create the file "\?\c:\linux\rootfs\usr\lib\systemd\system\system-systemd\x2dcryptsetup.slice".

I thought that was linked to #142 and I did get the latest version of LxRunOffline from https://ddosolitary-builds.sourceforge.io/LxRunOffline/ ie 3.5.0-33 without success.

@murraypete
Copy link

@DDoSolitary think we've bumped into the same issue here too (albeit with Kali). Similar use-case to @Tarrke - WSL1 on Server 2019:

  1. initial install from MS
  2. duplicate + export to tgz with lxrunoffline
  3. attempt install, hit error
> lxrunoffline i -n kali-copy -d c:\wsl\kali-copy -f C:\wsl\kali.tgz -v 1 -s
[ERROR] Couldn't create the file "\\?\c:\wsl\kali-copy\rootfs\usr\lib\systemd\system\system-systemd\x2dcryptsetup.slice".
Reason: The system cannot find the path specified.

Tested with the current Choco install and 3.5.0-33/3.5.0-10 from sourceforge linked to in #142

lxrunoffline's otherwise working great - duplicate/run/reg/de-reg functions all behave fine. It's just install that gets hung up, which is unfortunately the important bit for the build we have in mind. Any help much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants