this post was submitted on 11 Nov 2023
858 points (85.2% liked)

linuxmemes

21308 readers
1635 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] whereisk 8 points 1 year ago (2 children)

    You can dip your toes and have a basic Linux desktop to play with up and running in 10 minutes (less if you know what you are doing).

    It will run in a virtual environment within windows (assuming you're running 10 or 11).

    So you don't risk anything relating to disk partitioning.

    And you can always start it when you have a few mins to play with it without closing down everything else you're working on.

    Not mint though. Ubuntu desktop which is I think is also pretty relaxed.

    See here basic instructions

    [–] [email protected] 3 points 1 year ago (2 children)

    Not to ambush you into tech support, but I decided to take your advice and try that, but I'm instantly stopped and trying to google the answer for myself is just leading to vague powershell language and I'm fully unfamiliar with powershell. I installed WSL and Ubuntu, but when I attempt to open Ubuntu I'm getting:

    "Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004002 Error: 0x80004002 No such interface supported"

    Any idea what I'm doing wrong? The site I'm following (your link) doesn't mention this error or how to overcome it, unless I'm just to dumb to decipher it.

    [–] [email protected] 5 points 1 year ago (1 children)

    If you're running Windows 10/11 Home Edition you may have to also enable the following windows features as well:

    • Virtual Machine Platform
    • Windows Hypervisor Platform (mixed reports of being needed)
    [–] [email protected] 5 points 1 year ago (1 children)

    I think this solved it! I got the installing message when I opened Ubuntu! 👍

    [–] fiddlestix 5 points 1 year ago

    If you've got a spare USB stick laying around then you could install Ventoy on it (https://www.ventoy.net/en/index.html) and run Linux in a live environment. Just (1) install Ventoy on the USB (this will wipe it, btw) (2) download any live Linux ISO (Mint has one of these) and put it on the USB (3) change your BIOS boot order to USB first (4) reboot and select the Linux you want to test drive from the Ventoy menu. (5) When you're done, just shut down, unplug USB and reboot normally.

    [–] whereisk 3 points 1 year ago (1 children)

    It's quite possible you're running wsl 1 - some.versions of windows 10 never upgraded that subsystem - not sure why.

    But it might need wsl 2.

    Open PowerShell as Administrator and run: wsl --set-default-version 2

    That should upgrade the Virtual environment subsystem but not the ubuntu installation - you can delete it and start again.

    Or you can try and upgrade it.

    Run this in your PowerShell. wsl.exe -l -v

    It should show you the Ubuntu install, the state, and the version.

    It should say 1, under version, if my assumption is correct.

    If so you need to upgrade it to 2 also.

    Copy the exact Name - it might say Ubuntu-20.04 or just Ubuntu etc .

    If it says "Running" and not Stopped terminate it like so: wsl -t Distro-Name

    Then run the command below (again, replace name with your exact name).

    wsl --set-version distro-name 2

    Then try to start it from its shortcut again.

    Let me know if that worked.

    [–] [email protected] 1 points 1 year ago (1 children)

    *Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.

    Try the new cross-platform PowerShell https://aka.ms/pscore6

    PS C:\WINDOWS\system32> wsl.exe -l -v Windows Subsystem for Linux has no installed distributions.

    Use 'wsl.exe --list --online' to list available distributions and 'wsl.exe --install ' to install.

    Distributions can also be installed by visiting the Microsoft Store: https://aka.ms/wslstore Error code: Wsl/WSL_E_DEFAULT_DISTRO_NOT_FOUND PS C:\WINDOWS\system32> wsl --set-default-version 2 For information on key differences with WSL 2 please visit https://aka.ms/wsl2 The operation completed successfully. PS C:\WINDOWS\system32> wsl.exe -l -v Windows Subsystem for Linux has no installed distributions.

    Use 'wsl.exe --list --online' to list available distributions and 'wsl.exe --install ' to install.

    Distributions can also be installed by visiting the Microsoft Store: https://aka.ms/wslstore Error code: Wsl/WSL_E_DEFAULT_DISTRO_NOT_FOUND PS C:\WINDOWS\system32>*

    Still getting this when I try to open Ubuntu:

    *Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80370114 Error: 0x80370114 The operation could not be started because a required feature is not installed.

    Press any key to continue...*

    I did make sure the subsystem feature in windows features was turned on, btw

    [–] whereisk 3 points 1 year ago* (last edited 1 year ago)

    Wsl seems to be installed since it responded to the command to set it to version 2.

    But it doesn't sound like it ever installed Ubuntu properly since it shows no installed distributions.

    Quick search shows that you need to enable the following windows features:

    Virtual Machine Platform And Windows Hypervisor Platform

    Are these enabled?

    Edit:

    Someone already answered the same thing but I didn't see it before posting this. Well done and glad it's working.

    [–] [email protected] 1 points 1 year ago (1 children)
    [–] whereisk 1 points 1 year ago

    Nothing, love Mint. Just not as easy to install on WSL with a gui.