Run openSUSE within Windows 10

Not officially approved yet, but it looks like you can now use the operating systems Leap or SUSE Linux Enterprise Linux inside 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

Senior Product Manager Hannes Kühnemund of SUSE was probably not happy with the new feature after reporting that Microsoft has chosen to launch a "wrong" Linux distribution, by default, in the Windows Subsystem for Linux present 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're a fan of the SUSE distribution and want to use your favorite distribution inside Windows 10, Kühnemund will help you add it directly to της Microsoft. Ναι ξεχάστε virtual machines και dual boot και ας προσθέσουμε το openSUSE Leap 42.2 στο 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 (with password) at of the 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 commands below to extract the file and exit the shell. Ignore any pre 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 Greecefgns

every publication, directly to your inbox

Join the 2.087 registrants.

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.).