delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/12/17:30:00

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: Running off a USB Flash Drive
Date: Tue, 12 Sep 2006 22:29:31 +0100
Lines: 22
Message-ID: <zp42b29xbeed$.jdfu8k7d2r7t$.dlg@40tude.net>
References: <30cdcbe20609120840i37740b4et9759898257f5f34e AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: 40tude_Dialog/2.0.15.1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

* Aaron Seidel (2006-09-12 16:40 +0100)
> Ok i saw one person ask in the archives, but has anyone actually got
> cygwin to run off a usb flash drive (or key)?

Yes, me. Every day. Just install (or copy) it to your usb drive and
use the following script if your drive letter changes:

,--- *
| @echo off
| 
| set Path=%Path%;\cygwin\bin
| 
| REM  umount -c; umount -A
| reg delete "hklm\software\cygnus solutions" /f > nul 2>&1
| reg delete "hkcu\software\cygnus solutions" /f > nul 2>&1
| 
| mount -xfub --change-cygdrive-prefix /cygdrive
| mount -xfub %~d0\cygwin     /
| mount -xfub %~d0\cygwin/bin /usr/bin
| mount -xfub %~d0\cygwin/lib /usr/lib
| mount -xfub %TEMP%          /tmp
`---


--
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