19.9 C
New York
Wednesday, November 13, 2024

How to install openSUSE Linux On Windows 10

You can now install openSUSE Linux On Windows 10. Microsoft’s new Windows Subsystem for Linux (WSL) feature allows you to run Linux binaries natively on Windows 10. By default, Microsoft installs Bash on Ubuntu on Windows 10.

Sr. Product Manager SUSE Linux Enterprise SUSE, Hannes Kühnemund, posted details on how you can install openSUSE Linux On Windows 10. Currently, you can install openSUSE Leap 42.2 and SUSE Linux Enterprise Server 12 SP2. Check out full details below.

How to install openSUSE Linux on Windows 10

  • Open the Settings app and go to Update & Security > For Developers, now select Developer Mode option.
  • Open Control Panel and click Programs, under Programs and Features click Turn Windows Features On or Off. Scroll down and select Windows Subsystem for Linux (Beta) option and click “OK.”

Turn Windows Features On or Off

  • Now reboot your computer.
  • After your computer restarts, press Windows Key + R and type bash, now press OK.
  • Press ‘Y‘ and accept the terms of service. This will download and install Bash on Ubuntu on Windows.

Bash on Ubuntu on Windows

  • Finally, you will need to create a new user account and password for the Bash environment. Let’s refer to this user as <linux_user>.
  • Download the openSUSE docker userspace:
    $ wget -O openSUSE-42.2.tar.xz https://github.com/openSUSE/docker-containers-build/blob/openSUSE-42.2/docker/openSUSE-42.2.tar.xz?raw=true
  • Open the bash shell, which you find in your Windows Start menu under “Bash on Ubuntu on Windows” and extract the openSUSE userspace (ignore any warnings) and exit the bash shell:
    $ sudo mkdir rootfs
    $ sudo tar -C rootfs -Jxf openSUSE-42.2.tar.xz
    $ exit
  • Backup the old rootfs (Ubuntu) and copy the new openSUSE rootfs. Open a Command Prompt window and run the following commands:
    cd %localappdata%\lxss\
    rename rootfs rootfs.ubuntu
    move .\home\<linux_user>\rootfs .\
  • The new openSUSE userspace will not include the user that you created when you installed Bash for Windows, nor does it have things like ‘sudo’. To start just set ‘root’ as the default user. While still in the Command Prompt window run the following.
    lxrun /setdefaultuser root

    When exiting the command prompt, start bash from the start menu and you have your openSUSE Leap 42.2 environment running within WSL.

You can also change the Ubuntu icon with openSUSE. You can try one of the icons from here.
Download the .ico file and copy it to %localappdata%\lxss\. In a command shell execute the commands:

cd %localappdata%\lxss\
rename bash.ico Ubuntu.ico
rename Saki-NuoveXT-Apps-suse.ico bash.ico

The new icon will appear once you reboot your system.

Also, go %AppData%\Microsoft\Windows\Start Menu\Programs and change the entry to “Bash on SUSE on Windows”.

Related articles

The Best Model L Loadout for Every Playstyle in Black Ops 6

If you're diving into Black Ops 6 and want...

Gold ASG-89 in Black Ops 6: How to Unlock

Discover how to unlock the Gold ASG-89 in Black Ops 6! Follow our detailed steps and tips to complete camo challenges and level up your weapon effectively.

The Ultimate Goblin MK2 Loadout for Black Ops 6

The best Goblin MK 2 loadout in Black Ops...

How to Build the Best PU-21 Class in Black Ops 6

The best PU-21 loadout in Black Ops 6 can...

Is TD Bank Server Down? Check TD Bank Server Status Here

Find out how to check if TD Bank server is down, what issues may occur, and what you can do during outages. Keep your banking on track with these tips.