注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Windows Subsystem for Linux"

From Funtoo
Jump to navigation Jump to search
m (advancing this forward again.)
(IT WERKS!)
Line 20: Line 20:
tarball testing against wsl:
tarball testing against wsl:
https://www.funtoo.org/Generic_64
https://www.funtoo.org/Generic_64
*use 7zip to convert the tar.xz to tar:
https://www.7-zip.org/download.html
*search for power shell, right click it's icon and select run as administrator:


{{console|body=
{{console|body=
###i## wsl.exe --import "funtoo" "C:\funtoo" "C:\Users\$MYUSER\Downloads\gnome-stage3-amd64-piledriver-1.4-release-std-2020-12-16.tar.xz" --version 2
###i## wsl.exe --import "funtoo" "C:\funtoo" "C:\Users\$MYUSER\Downloads\gnome-stage3-amd64-piledriver-1.4-release-std-2020-12-16.tar" --version 2
}}
}}


{{console|body=
###i## wsl.exe
}}


following this video
you are now running funtoo under windows.
https://youtu.be/UCAid-NQwWU
 
installing centos8 from docker.  this looks helpful to build commands to load a stage3 tarball.
https://www.youtube.com/watch?v=Mblp1bbx2Zg
 
more coming

Revision as of 11:55, December 29, 2020

Windows Subsystem for Linux

In the Windows search box search for "turn windows features on or off"

scroll down and tick:

  • hyper v
  • virtual machine platform
  • windows subsystem for linux

WSL 2 is only available in Windows 10 builds 18917 or higher

https://www.microsoft.com/en-us/software-download/windows10

install the WSL 2 kernel from this link

https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel

You may use your specific subarch: https://www.funtoo.org/Subarches

tarball testing against wsl: https://www.funtoo.org/Generic_64

  • use 7zip to convert the tar.xz to tar:

https://www.7-zip.org/download.html

  • search for power shell, right click it's icon and select run as administrator:
root # wsl.exe --import "funtoo" "C:\funtoo" "C:\Users\$MYUSER\Downloads\gnome-stage3-amd64-piledriver-1.4-release-std-2020-12-16.tar" --version 2
root # wsl.exe

you are now running funtoo under windows.