Skip to content
  • View menu
  • View sidebar

trenkwalder.name

Photoblog

  • Home
  • Xaver
  • Alben
  • Hobbies
  • Knowledge Base
  • About

Recent Posts

  • NextGEN Comment Link – image – 819
  • NextGEN Comment Link – image – 820
  • NextGEN Comment Link – image – 816
  • NextGEN Comment Link – image – 817
  • Herbst

Recent Comments

  • Ursula Gloor on About
  • d on pacman error: failed to update mingw64 (unable to lock database)?
  • sdaau on pacman error: failed to update mingw64 (unable to lock database)?
  • wpadmin on pacman error: failed to update mingw64 (unable to lock database)?
  • NatoBoram on pacman error: failed to update mingw64 (unable to lock database)?

Archives

  • November 2021
  • May 2021
  • December 2018
  • June 2018
  • May 2018
  • April 2018
  • January 2017
  • May 2016
  • July 2015
  • October 2014
  • August 2014

Calendar

May 2025
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  
« Nov    

Categories

  • Uncategorized
  • Xaver

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Tag / WSL-Distribution-Switcher

sudo is missing and root password is unknown?

  • linux, WSL, WSL-Distribution-Switcher
  • Leave a comment

On Command Prompt call:

$ lxrun /setdefaultuser root

When now starting the bash with

$ bash

the user is root and the password can be changed with

$ passwd

See Troubleshooting.

How to switch between distributions with WSL-Distribution-Switcher?

  • linux, WSL, WSL-Distribution-Switcher
  • Leave a comment

To list all installed distribution call:

$ python switch.py

To switch between them call:

$ python switch.py image[:tag]

See Switching between Distributions.

How to install a new rootfs with WSL-Distribution-Switcher?

  • linux, WSL, WSL-Distribution-Switcher
  • Leave a comment

To install a downloaded image call:

$ python install.py image[:tag] | tarball | squashfs

See Installing new rootfs.

How to download a distribution image with WSL-Distribution-Switcher?

  • linux, WSL, WSL-Distribution-Switcher
  • Leave a comment

To download a new image call:

$ python get-source.py image[:tag]

A list of images can be found at get-source.py.

How about other distributions in WSL?

  • linux, WSL, WSL-Distribution-Switcher
  • Leave a comment

A tool to switch between distributions is WSL-Distribution-Switcher.

It needs Pythin 3.0 and comes with tools to download, install and switch distributions.

See WSL-Distribution-Switcher.

Proudly powered by WordPress | Theme: editor by Array