How to run openSUSE? Detailed graphic tutorial for installing SUSE Linux subsystem in Win10

  

There have been a complete set of Ubuntu-based Bash Shells in recent Windows 10 builds so that developers can run Linux software or commands directly on the Windows desktop, which is "Bash on Ubuntu on Windows" ; Although not officially announced, people with strong hands-on capabilities have also found ways to run openSUSE and SUSE Linux Enterprise operating systems in Windows 10.

Interested users can access it directly from the Windows 10 Start menu.

SUSE Senior Product Manager Hannes Kü hnemund pointed out that Microsoft actually chose the wrong default Linux distribution for the Linux subsystem in Windows 10, so he can only teach you personally in WSL. The method of SUSE.

Why do you recommend SUSE, that's because we know it since 1992, you can't find a Linux & lsquo;manufacturer & rsquo; (release) earlier than us.

If you are a fan of SUSE Linux and want to use it in Windows 10, you don't have to install a virtual machine or configure dual boot.

Preparation:

1, must be 64-bit version of Windows 10 Build 14393 and above, that is, Windows 10 anniversary update;

2, in programs and functions Enable the Linux subsystem for Windows 10 (ie WSL Beta);

3, in the Settings app — update & security & mdash; enable developer mode for developers;

4 The Ubuntu subsystem for Windows 10 has been installed and enabled (click here for details)

Kühnemund Take openSUSE Leap 42.2 as an example, the following tutorial is used in WSL (the same applies to SUSE Linux Enterprise Server Edition 12 SP2).

In the installation process, please confirm that you have created a regular account with a password.

(1) First, run the following command to download and open the docker user space of openSUSE Leap 42.2.

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

(2) Next, open the Linux bash shell on the Start menu and execute the second step.

sudo mkdir rootfs

sudo tar -C rootfs -Jxf openSUSE-42.2.tar.xz

exit

(3) Please confirm the backup of the current "Bash on Ubuntu on Window" installation (execute the following command) …

cd%localappdata%lxss

rename rootfs rootfs.ubuntu

(4) Then copy the new openSUSE Leap 42.2 rootfs (root file system) …

move .homerootfs .

(5) Drop the default user root …

lxrun /setdefaultuser root

(6) After you finish, you can type "<;bash" to access the Linux shell the next time you click the Windows button. In fact, you have a Windows Linux sub The openSUSE or SLES user space in the system.

It is worth mentioning that you can also replace the default "Bash on Ubuntu on Window" icon (replaced with SUSE logo) by executing the following command:

Cd %localappdata%lxss

rename bash.ico Ubuntu.ico

rename Saki-NuoveXT-Apps-suse.ico bash.ico

Also, you can also &ldquo ;Bash on Ubuntu on Window” Rename to "Bash on SUSE on Windows" and so on just enter the following path and rename the default entry.

%AppData%MicrosoftWindowsStart MenuPrograms

Copyright © Windows knowledge All Rights Reserved