Closed Tommy131 closed 2 years ago
I tried one more time in my other moveable SSD Devices, they can install WSL. Perhaps is my currently disk has problem? If you need more information, I will commit again.
Removable media (such as SD card and thumb drive, not such as USB-HDD) is not auto-mounted on WSL. As a result, it cannot work because /
does not exist.
Get-Volume | fl DriveLetter,DriveType
Removable media (such as SD card and thumb drive, not such as USB-HDD) is not auto-mounted on WSL. As a result, it cannot work because
/
does not exist.Get-Volume | fl DriveLetter,DriveType
Thanks for reply. I think you are right, I installed in a NVMe removable SSD device right now. Maybe WSL just don't support install into a General USB Disk.
Thanks for reporting this @Tommy131.
What exactly do you mean by 'install WSL into my USB SSD' ? Are you installing a distribution on a removable drive or WSL itself ? What are the exact commands you're running ?
Thanks for reporting this @Tommy131.
What exactly do you mean by 'install WSL into my USB SSD' ? Are you installing a distribution on a removable drive or WSL itself ? What are the exact commands you're running ?
yes, I was installed on removable SSD Driver. Commands just used Apt-get install <package Name>
what I'm describing on Issue.
Sorry @Tommy131, I'm not following what you're trying to do.
Can you share what exactly you installed on a removable drive and what exact command you used ?
Sorry @Tommy131, I'm not following what you're trying to do.
Can you share what exactly you installed on a removable drive and what exact command you used ?
Hi, thanks for reply. This issue was a long time ago then I'm not really remember what I was operated it.
But I still remember, that I was following the page https://blog.51cto.com/u_15080022/3444892
to install WSL in Windows Server 2019. I once had a removable storage device (USB) plugged in with a size of 128GB. The file format system is exFAT.
The WSL installation was fully OK and successed, just after the installation, when I tried to run command like apt-get install -y vim wget
, then I get the issue what the first issue I opened here.
Sorry I'm still not following. What exactly did you install on the removable drive ? Windows, WSL, or a linux distribution ?
This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it.
Thank you!
Version
Microsoft Windows Server 2019 Datacenter
WSL Version
Kernel Version
4.4.0-17763-Microsoft
Distro Version
DebianGNU
Other Software
CMD Microsoft Windows [Version 10.0.17763.2686]
Repro Steps
I tried to install WSL into my USB SSD disk, after this operation it comes a problem:
Then I closed this window, and run
debian.exe
manually again. It stills cannot create a new user, but it running withroot
user. So I updated the package management with commandgpt-get update
. After this I tried to install some packages, e.g.wget
. I used commandapt-get install -y wget
, then it comes the following issue:This USB Disks has
128GB
and the file system isNTFS
withGPT
. I tried to formatted it at twice but it still running like this bug. If I install WSL in my connected Disks(AHCI Mode)
will be not happend this bug. I'm just curious what is the different between the installation.Expected Behavior
Following texts are the WSL running in my connected Disks
(AHCI Mode)
and the operations are running normally.Actual Behavior
apt-get install -y <packageName>
Diagnostic Logs
No response