X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=JF2LcJTFR3ZEr+s6L50CUhFvry4LS6GG+BLYRbnn3tb YW7hHGf1dgZuuQ40CifwWSkqVIeEUgLBzECzYGR0gZPwYdUhYYzDte5p/YcGk/VA +6vJv7SGkAUf08iQ9mFH//0IioeO1YEv2G/l2L24oTnzq2xsyEwYBgdefWF6yYGQ = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=xAVOX+jUvrsguNnhAjViqN5mSeY=; b=QJ4uAIU5CD4wDzZWD 5AD7DD3ijGHOArUq1JU6ehQc7BVijxlndeHrtqIjFYSlwS0ylw9TmzZdmLILATk+ LtXZz1b5hkZzqDjM8khok0RxRlzcZiYWFKx7/xlCDO4n3WbFS7/UPHdH+Ndeluat zNvyKC/pdT5kbcpPGHIPyZf944= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mailout06.t-online.de Message-ID: <54DC4E4B.30304@t-online.de> Date: Thu, 12 Feb 2015 07:55:07 +0100 From: Christian Franke User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: directories needed to make Cygwin portable References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Garegin Asatryan wrote: > I want to run Cygwin (to run ddrescue, among other things) on WinPE. > Which folders do I need from the Cygwin installation copied over. > Someone mentioned just the cygwin1.dll, but apparently that's not > enough. I tried the bin folder and ddrescue didn't throw any errors, > off the bat. What about the dev, etc, home, and lib folders. Do I need > them too? For tools like ddrescue, which do not require external support files in /etc, /usr or /var, simply put the executable and the required Cygwin DDLs in the same directory. Use cygcheck to get a list of these DDLs. ddrescue and smartctl: cyggcc_s-1.dll cygstdc++-6.dll cygwin1.dll coreutils tools like dd, ls: cyggcc_s-1.dll cygiconv-2.dll cygintl-8.dll cygwin1.dll I successfully tested Cygwin ddrescue in the Windows console of a Win7 Recovery CD. Christian -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple