WSL1 is not supported, please install WSL2 to use this installer.


hw_user

Member
Local time
10:37 PM
Posts
2
OS
Windows 11
I did wsl --install am using Windows 11 on Dell laptop. It shows
PS C:\WINDOWS\system32> wsl --status
Default Distribution: Ubuntu
Default Version: 2

Windows Subsystem for Linux was last updated on 3/26/2022
WSL automatic updates are on.

Kernel version: 5.10.102.1
PS C:\WINDOWS\system32>

But when I use Ubuntu to do installation
hwuser@D5505:/mnt/c/All_Data/myosInstall/USB$ sudo bash myos-install.sh -src myos.bin -dst myos.img
[sudo] password for hwuser:
WSL1 is not supported, please install WSL2 to use this installer.

PowerShell shows that the default is version 2. Am I running version 1 or version 2?
How can I fix this?
I am running Win 11 home 10.0.22621 build 22621
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
I am running Win 11 home 10.0.22621 build 22621
Welcome to ElevenForums!

Are you sure of your build #? Right click Start, Run and type winver for the build #.

You are more likely to get answers to your issues is you complete your 'System Specs' - click 'My Computer' below for mine.
 

My Computer My Computer

At a glance

Windows 11 Pro 25H2 (Build 26200.8968)Intel Core Ultra 9 285 5.6 GHz32.00 GBIntel Integrated Graphics (128 MB)
OS
Windows 11 Pro 25H2 (Build 26200.8968)
Computer type
PC/Desktop
Manufacturer/Model
Dell Pro Max Tower T2 FCT2250
CPU
Intel Core Ultra 9 285 5.6 GHz
Motherboard
64-bit operating system, x64-based processor
Memory
32.00 GB
Graphics Card(s)
Intel Integrated Graphics (128 MB)
Sound Card
Realtek Audio
Monitor(s) Displays
Dell P2714H Monitor
Screen Resolution
1920 x 1080
Hard Drives
1 x 512GB M.2 XG10d SED KIOXIA PCIe solid state drive (Internal)
1 x 2TB Seagate ST2000DM008-2UB102 HDD (Internal)
1 x 4TB Seagate STGX4000400 External HDD
1 x 6TB WD Elements AE 2689 External HDD
PSU
500 Watts
Cooling
Air
Keyboard
Microsoft Wired Keyboard 600
Mouse
Microsoft USB Basic Optical Mouse v2.0
Browser
Firefox
Antivirus
Windows Defender + Malwarebytes Premium
Other Info
BaseBoard Manufacturer Dell Inc.
BaseBoard Product 022RY57
BaseBoard Version A01
Set WSL version to 2.

Code:
wsl --set-version <distribution name> <versionNumber>

To designate the version of WSL (1 or 2) that a Linux distribution is running on, replace <distribution name> with the name of the distribution and replace <versionNumber> with 1 or 2.
 

My Computer My Computer

At a glance

Windows 11AMD Ryzen 7 5700GMicron Technology DDR4-3200 16GBNVIDIA GeForce RTX 3060
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
HP Pavilion
CPU
AMD Ryzen 7 5700G
Motherboard
Erica6
Memory
Micron Technology DDR4-3200 16GB
Graphics Card(s)
NVIDIA GeForce RTX 3060
Sound Card
Realtek ALC671
Monitor(s) Displays
Samsung SyncMaster U28E590
Screen Resolution
3840 x 2160
Hard Drives
SAMSUNG MZVLQ1T0HALB-000H1
I did wsl --install am using Windows 11 on Dell laptop. It shows
PS C:\WINDOWS\system32> wsl --status
Default Distribution: Ubuntu
Default Version: 2
This shows that you are running Ubuntu as version 2 of WSL.

Also, a wsl --install only installs WSL version 2. WSL Version 1 did not install this way.

But when I use Ubuntu to do installation
hwuser@D5505:/mnt/c/All_Data/myosInstall/USB$ sudo bash myos-install.sh -src myos.bin -dst myos.img
[sudo] password for hwuser:
WSL1 is not supported, please install WSL2 to use this installer.
What is that you are trying to install? What is myos-install.sh?

PowerShell shows that the default is version 2. Am I running version 1 or version 2?
How can I fix this?
I am running Win 11 home 10.0.22621 build 22621

WHen you run wsl -l -v, it should show you the version you are running. You can see all of my WSL distros are running 2.
1691349194949.png
 

My Computers My Computers

  • At a glance

    Windows 11 ProIntel Core i5-8279u32GB DDR4 2666MhzIntel Iris Plus 655
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Beelink SEI8
    CPU
    Intel Core i5-8279u
    Motherboard
    AZW SEI
    Memory
    32GB DDR4 2666Mhz
    Graphics Card(s)
    Intel Iris Plus 655
    Sound Card
    Intel SST
    Monitor(s) Displays
    Asus ProArt PA278QV
    Screen Resolution
    2560x1440
    Hard Drives
    512GB NVMe
    PSU
    NA
    Case
    NA
    Cooling
    NA
    Keyboard
    NA
    Mouse
    NA
    Internet Speed
    500/50
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    Mini PC used for testing Windows 11.
  • At a glance

    Windows 10 ProRyzen 9 5900x64GB DDR4-3600EVGA GeForce 3080 FT3 Ultra
    Operating System
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Ryzen 9 5900x
    Motherboard
    Asus Rog Strix X570-E Gaming
    Memory
    64GB DDR4-3600
    Graphics card(s)
    EVGA GeForce 3080 FT3 Ultra
    Sound Card
    Onboard
    Monitor(s) Displays
    ASUS TUF Gaming VG27AQ. ASUS ProArt Display PA278QV 27” WQHD
    Screen Resolution
    2560x1440
    Hard Drives
    2TB WD SN850 PCI-E Gen 4 NVMe
    2TB Sandisk Ultra 2.5" SATA SSD
    PSU
    Seasonic Focus 850
    Case
    Fractal Meshify S2 in White
    Cooling
    Dark Rock Pro CPU cooler, 3 x 140mm case fans
    Keyboard
    Corsiar K65 RGB Lux
    Mouse
    Logitech G9 Laser Mouse
    Internet Speed
    500/50
    Browser
    Chrome
    Antivirus
    Defender.
Back
Top Bottom