{"id":2295,"date":"2026-07-07T13:50:07","date_gmt":"2026-07-07T11:50:07","guid":{"rendered":"https:\/\/grupp-web.de\/cms\/?p=2295"},"modified":"2026-07-07T13:51:36","modified_gmt":"2026-07-07T11:51:36","slug":"wsl-in-einer-virtualbox-vm-installieren","status":"publish","type":"post","link":"https:\/\/grupp-web.de\/cms\/2026\/07\/07\/wsl-in-einer-virtualbox-vm-installieren\/","title":{"rendered":"Windows Subsystem for Linux (WSL) in einer VirtualBox-VM installieren"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Nachdem ich daf\u00fcr Heute mehrere Stunden &#8222;verbraten&#8220; habe hier die L\u00f6sung, auch als Doku f\u00fcr mich selbst.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In der standardm\u00e4\u00dfig aktiven WSL-Version 2 wird HyperV ben\u00f6tigt. Eine passende Konfiguration der VM in VirtualBox war aber nicht m\u00f6glich.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Stellt man die WSL-Version 1 ein, wird HyperV nicht ben\u00f6tigt. Die Schritte sehen wie folgt aus.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Schritt 1: Mit <code>wsl --install --no-distribution<\/code> das Grundsystem von WSL installieren. Danach die VM neu booten.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Schritt 2: Die Kontrolle ob WSL aktiviert ist (<code>dism \/online \/get-featureinfo \/featurename:Microsoft-Windows-Subsystem-Linux<\/code>) zeigte bei mir an, dass WSL deaktiviert ist. Also erst mal mit <code>dism \/online \/enable-feature \/featurename:Microsoft-Windows-Subsystem-Linux \/all<\/code> aktivieren.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Schritt 3: Wie <code>wsl --status<\/code> zeigt ist aber noch WSL-Version 2 aktiv. Deshalb mit <code>wsl --set-default-version 1<\/code> auf Version 1 umschalten.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Schritt 4: Nun kann, was davor immer fehlschlug, z.B. Debian mittels <code>wsl --install Debian<\/code> installiert werden. Eine Liste der m\u00f6glichen Optionen kann man sich mit <code>wsl --list --online<\/code> anzeigen lassen. Nach der Installation wird ein neuer Account angelegt der <code>sudo<\/code>-Berechtigung hat.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nachdem ich daf\u00fcr Heute mehrere Stunden &#8222;verbraten&#8220; habe hier die L\u00f6sung, auch als Doku f\u00fcr mich selbst. In der standardm\u00e4\u00dfig aktiven WSL-Version 2 wird HyperV ben\u00f6tigt. Eine passende Konfiguration der VM in VirtualBox war aber nicht m\u00f6glich. Stellt man die WSL-Version 1 ein, wird HyperV nicht ben\u00f6tigt. Die Schritte sehen wie folgt aus. Schritt 1: &#8230; <a title=\"Windows Subsystem for Linux (WSL) in einer VirtualBox-VM installieren\" class=\"read-more\" href=\"https:\/\/grupp-web.de\/cms\/2026\/07\/07\/wsl-in-einer-virtualbox-vm-installieren\/\" aria-label=\"Mehr Informationen \u00fcber Windows Subsystem for Linux (WSL) in einer VirtualBox-VM installieren\">Weiterlesen<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2295","post","type-post","status-publish","format-standard","hentry","category-allgemein"],"_links":{"self":[{"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/posts\/2295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/comments?post=2295"}],"version-history":[{"count":2,"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/posts\/2295\/revisions"}],"predecessor-version":[{"id":2297,"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/posts\/2295\/revisions\/2297"}],"wp:attachment":[{"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/media?parent=2295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/categories?post=2295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/tags?post=2295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}