Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: Marty Leisner cc: cygwin AT cygwin DOT com Subject: Re: running cygwin on mutiple operating systems In-Reply-To: <200311202332.hAKNWT301921@gateway.home> Message-ID: References: <200311202332 DOT hAKNWT301921 AT gateway DOT home> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/