-
-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows WSL Debian Bookworm script execution #7269
Comments
you can have a look into https://dietpi.com/forum/t/wsl2-support-update/16276 |
Did you activate |
Here is the tutorial : https://gist.github.com/djfdyuruiry/6720faa3f9fc59bfdf6284ee1f41f950 It is working ... Am I correct to have seleted Virtual Machine setup since it is running in Windows WSL 2? |
Jep, VM is correct. |
Yes, Installer is working with user root only |
How do I run it then ? |
That is after reboot after installer went through, right? There was no login prompt where you could login as root? |
Yes it is the first boot after install of script finished. But it is Debian WSL2 on Windows 10 |
And there was no login prompt where you could login as root user? Ah I see now the scrambled output on the WSL console. Does it work to connect via SSH (the IP address at least is still visible on the console). I'll do a test installation, when I find time. |
Find time : D |
I just tested it. Interestingly, on a current Windows 11 instance, WSL2 seems to setup with systemd automatically. I did: wsl --install -d debian Then rebooted the system, then started Debian from the start menu. It showed some "Installing ..." dialogue, which did not disappear until I closed the console and started it from the start menu again. But on that system, I only needed to install /dev/sdc 1055762868 729944 1001329452 1% / But one can ignore it, and it just works. Reboot, and did login automatically as root, same as in your case. As you can see, I also have no graphical issues with the console 🤔. |
Try with Windows 10 in a VM with WSL |
Sorry for the late reply. I currently do not have the time to dig out my Windows 10 laptop. Can you try to switch the default user like that: debian config --default-user root This can be run from the |
Details:
systemctl disable --now dietpi-cloudshell.service
Linux Bismillah-Ar-Rahman-Ar-Rahim 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 GNU/Linux
amd64
Steps to reproduce:
Expected behaviour:
Actual behaviour:
Extra details:
Additional logs:
The text was updated successfully, but these errors were encountered: