This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Running off a USB Flash Drive
* 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/