|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Cygwin Environment from ThumbDriveHow possible would it be to:
1) Install a Cygwin environment into a Thumbdrive, including /home, /usr etc. 2) With the help of some crafty shell scripts, be available from most Windows boxes by plugging the thumb drive in and running the environment from there? Thanx Julian |
|
|
Re: Cygwin Environment from ThumbDriveBodger wrote:
> How possible would it be to: > > 1) Install a Cygwin environment into a Thumbdrive, including /home, /usr > etc. > 2) With the help of some crafty shell scripts, be available from most > Windows boxes by plugging the thumb drive in and running the environment > from there? Google much? <http://www.cygwin.com/ml/cygwin/2005-04/msg01373.html> -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- 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/ |
|
|
Re: Cygwin Environment from ThumbDrive* Bodger (Tue, 14 Nov 2006 14:16:06 -0800 (PST))
> How possible would it be to: > > 1) Install a Cygwin environment into a Thumbdrive, including /home, /usr > etc. Just install it (or copy it from an existing installation). > 2) With the help of some crafty shell scripts, be available from most > Windows boxes by plugging the thumb drive in and running the environment > from there? rem Make cygwin mounts mount -fu %~d0\cygwin / mount -fu %~d0\cygwin/bin /usr/bin mount -fu %~d0\cygwin/lib /usr/lib mkpasswd -lc > \cygwin\etc\passwd mkgroup -lc > \cygwin\etc\group Thorsten -- 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/ |
|
|
RE: Re: Cygwin Environment from ThumbDriveThorsten Kampe wrote on Wednesday, November 15, 2006 12:08 PM:
> * Bodger (Tue, 14 Nov 2006 14:16:06 -0800 (PST)) >> How possible would it be to: >> >> 1) Install a Cygwin environment into a Thumbdrive, including /home, >> /usr etc. > > Just install it (or copy it from an existing installation). > >> 2) With the help of some crafty shell scripts, be available from most >> Windows boxes by plugging the thumb drive in and running the >> environment from there? > > rem Make cygwin mounts > mount -fu %~d0\cygwin / > mount -fu %~d0\cygwin/bin /usr/bin > mount -fu %~d0\cygwin/lib /usr/lib > > mkpasswd -lc > \cygwin\etc\passwd > mkgroup -lc > \cygwin\etc\group "%~d0" does not substitute for me on XP/cmd. How's it supposed to work? - Barry -- 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/ |
|
|
Re: Cygwin Environment from ThumbDriveI concentrated on Cygwin sites and did not do a general Google. The answer there is not what I want anyway, they suggest copying to the local machine and that is mostly doable, I would prefer to keep my own installation on my thumbdrive so that I can keep it clean and up to date.
I will investigate the option presented by the person with the mount script, that looks interesting. Not sure about the %d0 thingy will look into it. Thanx Bodger
|
|
|
RE: Re: Cygwin Environment from ThumbDrive* Buchbinder, Barry (NIH/NIAID) [E] (Wed, 15 Nov 2006 13:26:46 -0500)
> Thorsten Kampe wrote on Wednesday, November 15, 2006 12:08 PM: > > * Bodger (Tue, 14 Nov 2006 14:16:06 -0800 (PST)) > >> How possible would it be to: > >> 2) With the help of some crafty shell scripts, be available from most > >> Windows boxes by plugging the thumb drive in and running the > >> environment from there? > > > > rem Make cygwin mounts > > mount -fu %~d0\cygwin / > > mount -fu %~d0\cygwin/bin /usr/bin > > mount -fu %~d0\cygwin/lib /usr/lib > > > > mkpasswd -lc > \cygwin\etc\passwd > > mkgroup -lc > \cygwin\etc\group > > "%~d0" does not substitute for me on XP/cmd. How's it supposed to work? It works only in a batch file... (and the batch file has to be on the USB drive) Thorsten -- 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/ |
|
|
RE: Re: Cygwin Environment from ThumbDrive* Buchbinder, Barry (NIH/NIAID) [E] (Wed, 15 Nov 2006 13:26:46 -0500)
> Thorsten Kampe wrote on Wednesday, November 15, 2006 12:08 PM: > > * Bodger (Tue, 14 Nov 2006 14:16:06 -0800 (PST)) > >> How possible would it be to: > >> 2) With the help of some crafty shell scripts, be available from most > >> Windows boxes by plugging the thumb drive in and running the > >> environment from there? > > > > rem Make cygwin mounts > > mount -fu %~d0\cygwin / > > mount -fu %~d0\cygwin/bin /usr/bin > > mount -fu %~d0\cygwin/lib /usr/lib > > > > mkpasswd -lc > \cygwin\etc\passwd > > mkgroup -lc > \cygwin\etc\group > > "%~d0" does not substitute for me on XP/cmd. How's it supposed to work? see for /?: %~fI - expands %I to a fully qualified path name Thorsten -- 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/ |
| Free embeddable forum powered by Nabble | Forum Help |