Skip to content

scaryrawr/fedora-wsl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A set of scripts to help setup WSL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published