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
Unable to launch bash prompt using custom wsl.conf root mount path #1538
Comments
Both And both help page
|
I just wanted ConEmu to launch a bash prompt and correctly find the wslbridge using the /e mount path instead of /mnt/e. What would the correct syntax be for that? |
Also I do think this is a ConEmu issue. Because if I change my wsl.conf file to use the But with ConEmu I see:
This is with using It's like that bridge path is hard coded to always look in |
I see now. |
It looks like some work has been done to address this at rprichard/wslbridge#22. I don't know if it's in a release or how to use it tho. By the way, other terminals such as wsltty work with custom WSL mount points using the latest wslbridge (from master). |
Try these binaries https://www.dropbox.com/s/i8z8gm80wfrcr91/wslbridge-wslpath.7z?dl=0 |
Nice work! It works great now while using I also logged out of Windows completely to make sure my mounts were clear. Here's
And the output of running
Accessing Accessing Edit: It's also worth pointing out that my .bashrc has no manual bind mounts happening, so this is definitely working well. Docker for Windows volume mounts also work out of the box. |
As I said, this options is used for pasting paths only. Your choice.
Ask this in Microsoft/WSL tracker. May be that is a WSL bug. |
Ok, thanks. So for 100% clarity, I should do something like this if I wanted to goto my
That -new_console flag comes out when I choose the startup dir from your dialog box. But I completely removed the current console flag since it didn't seem to do anything with new console set? |
You may use any option
|
@Biswa96 Certain apps don't respect symlinks. Before this patch I just ran |
at my side, since default mount option umask was 644, wslbridge-* was not executable and giving issues. All i had to do is open wsl from default terminal and add executable permissions and then conemu was working |
Versions
ConEmu build: 180429 x32
OS version: Windows 10 Pro 1803 Build 17134.1
Used shell version: WSL (Ubuntu 16.04)
Problem description
The Spring 2018 stable edition of Windows now supports adding in a wsl.conf file where you can customize the root mount location. It defaults to
/mnt
, but I wanted to change it to/
so I can avoid having to bind mound/c
in my bashrc, mainly because Docker for Windows expects things to exist at/c
instead of/mnt/c
when it comes to mounting volumes.Steps to reproduce
/etc/wsl.conf
inside of WSL like this:Actual results
ConEmu will fail to load bash because it says wslbridge.exe is not found, and the failing path includes
/mnt/e/path/to/where/conemu/is/installed
. I am using the portable installer and it happens to be on mye
drive.I went into the ConEmu task settings and went to edit this Bash::bash task:
to be:
and still received the same results (I changed the
/mnt
path at the end).Is there something else I would need to edit for it to use a different wslbridge path? I was just poking around and changing things in hopes it would work.
Expected results
A bash terminal prompt to open as it does without a custom
wsl.conf
file.The text was updated successfully, but these errors were encountered: