title: how to set cygwin root directory?
body: <p>OK, this is a stupid question. But how do set correct root directory in cygwin? Is this something that should have been done at install time? It should be set to d:\cygwin but currently it points to c:\ and because of that \bin, \etc and other folders do not exist.
  Thanks.</p>
  
  <p><strong>Edit:</strong> Looks like the registry key for rootdir has changed few times between versions (I assume). On the working box I have in "HKLM\SOFTWARE\Wow6432Node\Cygwin\setup\" key "rootdir" that points to rootdir. On the non-working box I have completely different path: "HKLM\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2/" and key "native" with value "d:\cygwin".</p>
  
  <p>I think I will give up now. Thanks for the people who tried to help below.</p>