{"id":26299,"date":"2024-03-14T07:26:00","date_gmt":"2024-03-14T00:26:00","guid":{"rendered":"https:\/\/www.lntn203.com\/w\/wsl-windows-subsystem-for-linux\/"},"modified":"2024-03-14T07:26:00","modified_gmt":"2024-03-14T00:26:00","slug":"wsl-windows-subsystem-for-linux","status":"publish","type":"post","link":"https:\/\/www.lntn203.com\/w\/wsl-windows-subsystem-for-linux\/","title":{"rendered":"WSL &#8211; Windows Subsystem for Linux"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n<pre class=\"wp-block-code\"><code>[root@minidesk ~]# systemctl status containerd\nSystem has not been booted with systemd as init system (PID 1). Can&#039;t operate.\nFailed to connect to bus: Host is down<\/code><\/pre>\n\n\n<p>&nbsp;<\/p>\n\n\n<h3 class=\"wp-block-heading\">Resolved<\/h3>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\">Add this to your <code>\/etc\/wsl.conf<\/code><\/p>\n\n\n<pre class=\"wp-block-code\"><code>[boot]\nsystemd=true<\/code><\/pre>\n\n\n<p>&nbsp;<\/p>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\">Shutdown your WSL distro (for example: <code>OracleLinux_9_1<\/code> in my case)<\/p>\n\n\n<pre class=\"wp-block-code\"><code># Command Prompt\n~ wsl --list --running\nWindows Subsystem for Linux Distributions:\nUbuntu (Default)\nOracleLinux_9_1\n\n~ wsl --shutdown -d OracleLinux_9_1<\/code><\/pre>\n\n\n<p>&nbsp;<\/p>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\">Re-open (to restart your WSL linux, try again<\/p>\n\n\n<pre class=\"wp-block-code\"><code>[root@minidesk ~]# systemctl status<\/code><\/pre>\n\n\n<p>&nbsp;<\/p>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\">&nbsp;<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Troubleshooting &nbsp; Resolved Add this to your \/etc\/wsl.conf &nbsp; Shutdown your WSL distro (for example: OracleLinux_9_1 in my case) &nbsp; Re-open (to restart your WSL linux, try again &nbsp; &nbsp;<\/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-26299","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.lntn203.com\/w\/wp-json\/wp\/v2\/posts\/26299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lntn203.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lntn203.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lntn203.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lntn203.com\/w\/wp-json\/wp\/v2\/comments?post=26299"}],"version-history":[{"count":0,"href":"https:\/\/www.lntn203.com\/w\/wp-json\/wp\/v2\/posts\/26299\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lntn203.com\/w\/wp-json\/wp\/v2\/media?parent=26299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lntn203.com\/w\/wp-json\/wp\/v2\/categories?post=26299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lntn203.com\/w\/wp-json\/wp\/v2\/tags?post=26299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}