X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: Running off a USB Flash Drive Date: Tue, 12 Sep 2006 22:29:31 +0100 Lines: 22 Message-ID: References: <30cdcbe20609120840i37740b4et9759898257f5f34e AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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: 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 * 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/