This is the mail archive of the 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]

Re: running cygwin on mutiple operating systems

On Thu, 20 Nov 2003, Marty Leisner wrote:

> I'm going to dual boot a system with win xp and win 2k (and of course
> linux).
> I assume I'll make two smallish partitions to boot from (one each for
> xp and 2k on one disk) and one larger partition...they'll all be
> ntfs...
> What's the best way to have cygwin shared between the two operating
> systems?   Do I have to do a complete install into the same place?
> When I do this work, can I put two primary partitions one disk?
> Marty Leisner

At a minimum, you'll need to put Cygwin on a partition accessible from
both systems.  You can use the "mount -m" command to duplicate the mounts
from one system to another (no need to reinstall Cygwin, just make sure to
fix up the drive letters in the resulting mount commands).

One problem I think you're going to run into is the SIDs of users in
/etc/passwd and /etc/group (and thus, file ownership).  Partly it's a
general multi-boot file ownership issue, and not Cygwin-specific, but you
will need to make sure you have the right things in /etc/passwd and
/etc/group for both systems.  Symlinks might become a problem, too.

You might find the Cygwin-on-CD or Cygwin-on-USB-stick instructions and
musings helpful (they should be in the mailing list archives).
P.S. I'm not sure I understand your last question.
P.P.S. Speaking of Linux, did you know that Cygwin runs under WINE? :-D
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]