Skip to content
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

Fresh install using msys2-x86_64-20230127.exe can't run msys2 on Windows. #61

Open
Lokathor opened this issue Feb 20, 2023 · 7 comments

Comments

@Lokathor
Copy link

I performed a fresh install of msys2 to D:\msys64 and all three shell programs (ucrt64, mingw64, and mingw32) fail to launch properly with the same error message:

/cmd.exe: Exit 126.
Failed to run '/cmd.exe': No such file or directory

Here's the InstallationLog.txt, but nothing in there seems to indicate an obvious error during installation.

@Biswa96
Copy link
Member

Biswa96 commented Feb 20, 2023

Most of the time weird things happen when antivirus programs (like Windows Defender) interferes with the installation procedure. Would you like to check if excluding msys2 installation directory in the antivirus software fixes the issue?

@Lokathor
Copy link
Author

I uninstalled everything, disabled Windows Security on the folder, reinstalled, and got the same error.

@lazka
Copy link
Member

lazka commented Feb 20, 2023

Is there anything special about your D: drive maybe?

@Lokathor
Copy link
Author

Shouldn't be. This is a fairly normal pre-built windows desktop that has a smaller C drive primarily for the OS and a much bigger D drive for data and other programs. All sorts of software is installed on the D drive.

@Lokathor
Copy link
Author

Also seems to have the same issue when installing on the C drive, using the default C:\msys64 path.

@Biswa96
Copy link
Member

Biswa96 commented Feb 21, 2023

I can not reproduce the issue in my system or in CI with latest installer. Could you please check some basic properties? For example,

  • Are the partitions compressed or encrypted?
  • Are the partitions formatted with NTFS?

@Lokathor
Copy link
Author

They are not compressed, and they are NTFS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants