delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/20/18:49:37

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 20 Nov 2003 18:48:52 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Marty Leisner <leisner AT rochester DOT rr DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: running cygwin on mutiple operating systems
In-Reply-To: <200311202332.hAKNWT301921@gateway.home>
Message-ID: <Pine.GSO.4.56.0311201839150.19459@slinky.cs.nyu.edu>
References: <200311202332 DOT hAKNWT301921 AT gateway DOT home>
Importance: Normal
MIME-Version: 1.0

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
> leisner AT rochester DOT rr DOT com

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).
	Igor
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
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,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:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019