From owner-freebsd-questions@FreeBSD.ORG Fri Oct 11 03:18:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6C09A342; Fri, 11 Oct 2013 03:18:17 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 056F6218A; Fri, 11 Oct 2013 03:18:16 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r9B3IFl7056249; Thu, 10 Oct 2013 21:18:15 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r9B3IFLC056246; Thu, 10 Oct 2013 21:18:15 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 10 Oct 2013 21:18:15 -0600 (MDT) From: Warren Block To: "W. D." Subject: Re: Why no "ls" on DVD or livefs.iso? In-Reply-To: <201310110258.r9B2wskF056153@wonkity.com> Message-ID: References: <20131006063608.23914935@hub.freebsd.org> <201310110258.r9B2wskF056153@wonkity.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Thu, 10 Oct 2013 21:18:15 -0600 (MDT) Cc: freebsd-questions@freebsd.org, phk@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Oct 2013 03:18:17 -0000 On Thu, 10 Oct 2013, W. D. wrote: > At 08:47 10/6/2013, Warren Block wrote: >> On Sun, 6 Oct 2013, W. D. wrote: >> >>> Booted with both. Alt-F4 to get to command line. >>> >>> Very limited commands: "ls: not found". >>> >>> Why? What good are these disks if they don't have >>> the most basic of commands? >> >> The "emergency holographic shell" was always very limited. I suspect a >> path thing, with it looking for commands on the installed system. Old >> bare-bones tricks like "echo *" help. >> >>> Trying to clone a hard disk that has an number >>> of bad sectors. Trying to save most of my data. >>> >>> Want to use "recoverdisk", but can't get the >>> command line to work. >> >> Use mfsBSD: http://mfsbsd.vx.sk/ > > Thanks, Warren. MFSBSD worked for me. > > Had to use 8.X because 9.X hangs. I think it has something > to do with my PS2 mouse and keyboard. 9.X still only seems > to work with USB peripherals--or is something else going on? > > I was a bit skittish using "recoverdisk" because I couldn't > find any explicit notation about source and target. > > # clone a hard disk > recoverdisk /dev/ad3 /dev/ad4 > > As it turns out, the first argument is the source and the > second is the target, as one might intuitively guess. However, > I've been burned before by guesses, so I hope someone will > update the man pages to make this obvious. It says recoverdisk [-b bigsize] [-r readlist] [-s interval] [-w writelist] source [destination] That seems pretty clear, although the text does not really explain what happens if the optional destination is not given. Output to stdout would be the standard expectation.