Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.73 KB

README.md

File metadata and controls

61 lines (41 loc) · 1.73 KB

Fedora Importer

This helps set up Fedora on WSL 2. Based on this article.

Works with x64 and ARM64 Windows

Please make sure to read all scripts and use at your own risk.

Things that this script does:

Installing

Once your path is correctly setup, you can do something like:

.\setup.ps1 -UserName scaryrawr -DistroName Fed

Will install Fedora with the user scaryrawr. Password prompt will happen during the install process.

  • The virtual hard disk will exist at: %LOCALAPPDATA%\Fed\ext4.vhdx

  • Running wsl -l should output something like:

    Windows Subsystem for Linux Distributions:
    Fed (Default)

Default Setup

.\setup.ps1

Passing new User Name as parameter

.\setup.ps1 -UserName userName

Setting a custom Distro Name for WSL

.\setup.ps1 -DistroName CustomName

Setting a custom install directory

Default installation directory is %LOCALAPPDATA%\Fedora. You may want to specify a custom install location if you have a separate drive/partition.

# Will cause it to be installed at V:\Custom\Path\Fedora
.\setup.ps1 -InstallDirectory V:\Custom\Path