Run openSUSE within Windows 10

Not yet approved, but it appears that now you can use openSUSE Leap or SUSE Linux Enterprise Linux operating systems within Windows 10 via Windows Subsystem for Linux (WSL).

As you may know, the latest versions of Windows 10 come with a complete Ubuntu Bash shell that developers can use to run Linux software or commands directly on the Windows screen. It's called "Bash on Ubuntu on Windows," and is accessible from the Windows 10 Start menu.openSUSE

SUSE Senior Product Manager Hannes Kühnemund was probably unhappy with the new addition, saying that Microsoft chose to launch a "wrong" Linux distribution, by default, in the Windows Subsystem for Linux in the latest build of Windows 10.

So he decided to add SUSE to WSL.

“Why SUSE? Well, SUSE knows what it has been doing since it developed Linux since 1992. Try to find a Linux distributor that is bigger. You will not find it, "says Hannes Kühnemund.

If you are a friend of SUSE distribution and want to use your favorite distribution inside Windows 10, Kühnemund will help you add it directly to Microsoft's operating system. Yes, forget about virtual machines and dual boot and let's add openSUSE Leap 42.2 to WSL.

The following instructions also work for SUSE Linux Enterprise Server (SLES) 12 Service Pack 2, but you will need to download a different file. So, if you are ready, you must first activate it WSL by following this guide. Be sure to create a regular user (password) during installation.

Run the first command to download the openSUSE Leap 42.2 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

After that, open the Linux bash shell from the Start menu, and run the following commands to extract the file and exit the shell. Ignore any warning when executing these commands.

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

Once done, backup the installation of "Bash on Ubuntu on Windows" using the following commands. You can then copy the openSUSE Leap 42.2 rootfs (root file system) news. Next, you need to give root as the default to the user with the last command.

cd% localappdata% \ lxss \
rename rootfs rootfs.ubuntu
move. \ home \ \ rootfs. \
lxrun / setdefaultuser root

That's it. You can run openSUSE or SLES userspace in Windows Subsystem for Linux.

As a bonus, you can also replace the default SUSE favicon icon that you can download from here.

Then run the commands

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

iGuRu.gr The Best Technology Site in Greeceggns

Get the best viral stories straight into your inbox!















Written by giorgos

George still wonders what he's doing here ...

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).