I tried to do a fresh install of Fedora 35 and unfortunately it doesn't work anymore.
After running wsl --import Fedora [myInstallFolder] [myRootfs.tar]
I run wsl -d Fedora
and get the following error message: An error occurred mounting one of your file systems. Please run 'dmesg' for more details. wsl -l lists Fedora, so the import seemed to work.
Before, I put a fresh installation of Win 11 on my computer, don't know if that has something to do with this error.
WSL kernel version is 5.10.60.1.
Windows version is "Version 21H2 (Build 22000.376)"
PowerShell version is 7.2.1
Already had a look in WSL's Github, but TBH did not really understand if this is my issue.
Any help or suggestions would be greatly appreciated since I love Fedora. Otherwise, the ready-made Ubuntu WSL is working okay.
From the Fedora Container Base I download the newest distro package, in this moment this is release 20211231.0.
In the download folder of my Win 11 machine I receive the file Fedora-Container-Base-35-20211231.0.x86_64.tar.xz. In unzip it with 7-zip and obtain the file Fedora-Container-Base-35-20211231.0.x86_64.tar and rename it to something shorter like fedora-35-rootfs.tar.
I have no idea what might be wrong and even where to start looking for a solution.
Were you able to extract the layer.tar file and rename that? The Fedora-Container-Base-35-20211231.0.x86_64.tar file will not work as a rootfs without further extraction. Hope this helps...
Thank you for your patience, I indeed failed to extract the layer.tar file, it is working fine now.
(Sorry for the late reply, I was offline for a few days.)
For further actions, you may consider blocking this person and/or reporting abuse
I tried to do a fresh install of Fedora 35 and unfortunately it doesn't work anymore.
After running
wsl --import Fedora [myInstallFolder] [myRootfs.tar]I run
wsl -d Fedoraand get the following error message:
An error occurred mounting one of your file systems. Please run 'dmesg' for more details.wsl -llistsFedora, so the import seemed to work.Before, I put a fresh installation of Win 11 on my computer, don't know if that has something to do with this error.
WSL kernel version is 5.10.60.1.
Windows version is "Version 21H2 (Build 22000.376)"
PowerShell version is 7.2.1
Already had a look in WSL's Github, but TBH did not really understand if this is my issue.
Any help or suggestions would be greatly appreciated since I love Fedora. Otherwise, the ready-made Ubuntu WSL is working okay.
Thank you for noting the problem. Curious: what was your method for obtaining myRootFs.tar?
From the Fedora Container Base I download the newest distro package, in this moment this is release 20211231.0.
In the download folder of my Win 11 machine I receive the file
Fedora-Container-Base-35-20211231.0.x86_64.tar.xz. In unzip it with 7-zip and obtain the fileFedora-Container-Base-35-20211231.0.x86_64.tarand rename it to something shorter likefedora-35-rootfs.tar.I have no idea what might be wrong and even where to start looking for a solution.
Were you able to extract the layer.tar file and rename that? The Fedora-Container-Base-35-20211231.0.x86_64.tar file will not work as a rootfs without further extraction. Hope this helps...
Thank you for your patience, I indeed failed to extract the
layer.tarfile, it is working fine now.(Sorry for the late reply, I was offline for a few days.)