This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Env: WinVista running on vmserver 1.0 hosted on WinXP64 Symptom: "bash.exe has failed" ... cygwin setup is partial, but reports complete.
I reinstalled several times with different options. Here is what doesn't work. - Start / Help / "Can my older programs ..." / Run Compatibility Wizard Mark setup.exe compatible with WinXPsp2; run as administrator bash still fails - Explorer c:\cygwin\bin\bash.exe / Properties Same compatibility settings as above. bash.exe runs when launched directly; setup still fails - Note: These settings are retained in the registry, not as properties of the binaries. If you delete the c:\cygwin directory, those settings remain.
cygwin was installed by first hacking the registry: - Delete those bash.exe and setup.exe compatibility registry keys under AppCompatFlags\Layers They have no effect - Find the settings for ".sh" There are two "Open With" settings (a) cmd.exe (b) bash.exe Reverse the settings. Perhaps .sh entries were processed first by cmd.exe
WinVista doesn't have a default "Administrator" userid. The userid you create during installation is given Administrator privileges ... and something else
Control Panel / User Accounts / Change Security Settings [ ] Use Account Control (UAC) ... uncheck this to set it "Off"
Rerun cygwin setup. bash.exe still stops responding / fails. Before clicking on "Close", click "Cancel" on the cygwin setup.
Start a cmd.exe session: \cygwin\bin\bash.exe cd \cygwin\etc\postinstall export PATH=/usr/bin:$PATH
Execute these scripts in order: 00ash.sh 00bash.sh 01bash.bat base-files-mketc.sh base-files-profile.sh coreutils.sh cygwin-doc.sh findutils.sh man.sh passwd-grp.sh update-info-dir.sh
Exit. Restart cygwin c:\cygwin\cygwin.bat
$ cygcheck -s -v -r > cygcheck.out 'id' program not found 'id' program not found
ddunbar@vistaDrifter ~ $ id uid=1000(ddunbar) gid=513(None) groups=0(root),513(None),544(Administrators),545(Users)
Note: I'm only posting this because it might help someone else. My problem is solved. Please don't bark at the newbies.
Attachment:
cygcheck.out
Description: Text document
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |