> initdb is a shell-script.
> The first line in the script declares the shell it will be using to
> execute in.
> It looks like this :
> #!/bin/sh
>
> Your problem is that /bin/sh doesn't excist !
> You'll have to mount the cygwin-executable-path to /bin
go to the directory where cygwin binaries are located and run:
cp bash.exe /bin/sh.exe
Dan