Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Linux on Windows 10 [NO DualBoot or VM] *WSL



This is a simple guide on how to install a fully working ubuntu linux OS onto your current windows 10 OS without needing to use a VM or dualbooting via WSL.

This method allows you to use both windows 10 and linux OS at the exact same time, The linux OS is not running on VM "Virtual Machine" rather it is physically installed and running co-side your current running windows 10 OS.

This makes your OS now both a windows 10 OS & and ubuntu linux OS at once without virtualization technology

By doing this you can have both windows 10 and ubuntu linux running at the same time without needing to use a VM or needing to create a partition/dual boot.


Requires Windows 10 x64 build 1604 or higher

If you are not on windows 10 x64 with build 1604 or higher you can:
  You can download the build directly and install
 
Code
  Win10_1709_English_x64.iso
  Fall Creators Update "4.37GB"
 
  *******OR*******
  if Above does not work for you , You can also try loading command prompt as admin
  Once command prompt is opened as admin type
 
Code
  bash
  After you have enabled WSL from step 2
  it should then allow you to download a lower version of ubuntu "must have developer mode enabled" ***********



Step 1:
Open powershell as administrator
"powershell is installed by default on windows 10 simply open it as administrator"

Step 2:
We will first enable the windows 10 feature to system layer linux OS
Code
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Type above into powershell to enable this windows 10 feature

Step 3:
Now we download the ubuntu OS app for the enabled feature to system directory
Code
Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile Ubuntu.appx -UseBasicParsing
Type above into powershell to start the ubuntu linux OS download

Step 4:
Make sure you are using windows 10 x64 build 1604+ and open the ubuntu app
Code
Ubuntu.appx
Type above into powershell to start the ubuntu app install

Step 5:
A Console window should open, and you'll be asked to wait for a minute or two for the installation to complete.
This may take around a minute or more depending on the performance of your PC's storage devices.

Step 6:
Once installation is complete, you will be prompted to create a new user account (and its password).
[Image: ubuntuinstall.png]
This user account is for the normal non-admin user that you'll be logged-in as by default when launching a distro.

Step 7:

We are done your new ubuntu linux OS is now layer embeded into the windows 10 OS.
You may wish to update any outdated packages as OS is ready to use
Code
sudo apt update && sudo apt upgrade


Now open Command Prompt & Type
Code
bash
And you have a simple linux ubuntu terminal
something like so:
[Image: HZQ5YC4.png]

As shown above I have a linux terminal active inside my command prompt,
From here I can run all your basic linux terminal commands and I can download and run linux packages and applications directly off windows.




You can use Xming Server on windows 10 if you wish to display GUI from linux applications
https://sourceforge.net/projects/xming/

Once the windows 10 is running Xming sever the linux ubuntu can now use the windows GUI display by typing
Code
export DISPLAY=:0

Into the linux terminal of windows.

Now the linux system can also use and load programs or scripts that require GUI.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by K1.Nov 25, 2024 09:17 PM 1 243 Nov 25, 2024 09:17 PM
Last Post: preddt
by TyrNov 24, 2024 12:20 PM 0 96 Nov 24, 2024 12:20 PM
Last Post: Tyr
by ⒤⒞⒰⒭⒰⒪⒦Feb 24, 2016 05:32 AM 17 731 Feb 24, 2016 05:32 AM
Last Post: Johnmoe