delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/06/19:55:16

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
Reply-To: <jmpurser AT attbi DOT com>
From: "John Purser" <jmpurser AT attbi DOT com>
To: "'Larry Hall \(RFK Partners, Inc\)'" <lhall AT rfk DOT com>, <cygwin AT cygwin DOT com>
Subject: RE: Running Cygwin from a CD-ROM
Date: Sun, 6 Oct 2002 17:58:09 -0600
Message-ID: <000501c26d94$39a669f0$5bb9ff0c@perrin>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <4.3.1.2.20021006191540.01e44bc8@pop.rcn.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal

Perfect!  That's exactly what I'm looking for.

I'll dig into the message thread and the manual about mounting.  I started
using Cygwin originally just because switching to Dos commands from Unix
drove me nuts!  With this new job I see a lot more potential use especially
given the tech restrictions I'm under.

Thanks for getting back to me.

John Purser

-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf
Of Larry Hall (RFK Partners, Inc)
Sent: Sunday, October 06, 2002 17:35
To: jmpurser AT attbi DOT com; cygwin AT cygwin DOT com
Subject: RE: Running Cygwin from a CD-ROM


Off the top of my head, no I don't recall a specific set of keywords that
will help.  However, last week's discussion can be found simply by searching
for "removable".  The initiating message is here:

http://sources.redhat.com/ml/cygwin/2002-10/msg00025.html

This discusses removable media in general (rather than just read-only media)
but you may find some of this information helpful.  Most of the other
discussions about running from CDROM are quite old (at least to my
recollection) which probably accounts for why you don't run across anything
obvious in the first few hits.  But, like I said, there's not much magic
here.  The first approximation of this is to simply copy your Cygwin
installation to a CD, load the CD on your laptop, and use mount to point
to your CD something like:

   mount -s -b <CD drive> /
   mount -s -b <CD drive>/bin /usr/bin
   mount -s -b <CD drive>/lib /usr/lib

This doesn't take into account the potential need to be able to change
certain files though.  If you need this flexibility, then you'll want to
set up an installation on your home PC that has the files you need to
edit in a mounted file system and make the ones in the standard locations
symbolic links to those.  Then, on your laptop, you can create this mount,
make it point to somewhere on your disk, and copy versions of the
files there.  You can then edit these files and write them back to your
local disk yet still reference them in context of the installation on the
CDROM.

Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


At 07:14 PM 10/6/2002, John Purser wrote:
>Yes, I want to set up a Cygwin installation on a CD-ROM.  I can use my home
>machine for that, then put the CD into the laptop when I need some of the
>tools.
>
>I did a search on CD-ROM and got over 100 hits, mostly related to
>installation and not finding the drive as I recall.  Do you remember a
>better phrase to search on?
>
>John
>
>-----Original Message-----
>From: Larry Hall (RFK Partners, Inc) [mailto:lhall AT rfk DOT com]
>Sent: Sunday, October 06, 2002 16:46
>To: jmpurser AT attbi DOT com; cygwin AT cygwin DOT com
>Subject: Re: Running Cygwin from a CD-ROM
>
>
>At 12:08 PM 10/6/2002, John Purser wrote:
> >Apologies if this is a much asked question.  I did not find it in an
>archive
> >search nor in the FAQ.
> >
> >I'd like to use Cygwin at work but am not allowed to install any software
>on
> >my computer (Windows 2000 Compaq laptop) nor am I likely to get
permission
> >to run any of that hated (virus prone, pornography related, system
>crashing,
> >etc.) free software.  So I'd like to set up a Cygwin installation on a
> >CD-ROM for use when needed.  I don't need too much, mostly just some
> >networking utilities (tcpdump especially) and python along with bash to
>give
> >me a useful shell and to keep me from getting that "Command not found"
>error
> >every time I type in "ls".
> >
> >I know I'm skirting the limits of the law here but honestly would you
like
> >to explain why you need Cygwin to a "system administrator" who doesn't
know
> >what FTP means?
>
>
>No thanks.  I'll leave that to you! ;-)
>
>So what's the question?  Are you asking if this can be done?  The answer to
>that is - yes.  There have been many in the past that have wanted to do
this
>(including me).  The list saw a question about this as recently as last
>week.
>The key is to manage the mounts and the files that may need write access
>(~/.bashrc, /etc/profile, /etc/passwd, etc).  So you might find another
look
>at the email list archives instructional if this is your question.  But
>I don't want to jump to any conclusions on your request, since it's not
>clear what request you're making, if you actually are.
>
>
>
>
>Larry Hall                              lhall AT rfk DOT com
>RFK Partners, Inc.                      http://www.rfk.com
>838 Washington Street                   (508) 893-9779 - RFK Office
>Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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