From owner-freebsd-arm@freebsd.org Mon Jul 15 09:22:19 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 437A8B53AA for ; Mon, 15 Jul 2019 09:22:19 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:300:2185:123::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E97B2876C7 for ; Mon, 15 Jul 2019 09:22:18 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [104.207.135.49]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id x6F9MI1s063647 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Jul 2019 10:22:18 +0100 (BST) (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id x6F9MIAA063646; Mon, 15 Jul 2019 10:22:18 +0100 (BST) (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <201907150922.x6F9MIAA063646@donotpassgo.dyslexicfish.net> Date: Mon, 15 Jul 2019 10:22:18 +0100 Organization: Dyslexic Fish To: sparvu@kronometrix.org, jamie@catflap.org, freebsd-arm@freebsd.org Subject: Re: recreate FreeBSD 12 ARM image References: <23ABC4DD-840D-4C63-ACCF-4DF6BC801CF0@kronometrix.org> <201907150915.x6F9FqES061430@donotpassgo.dyslexicfish.net> In-Reply-To: <201907150915.x6F9FqES061430@donotpassgo.dyslexicfish.net> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [104.207.135.49]); Mon, 15 Jul 2019 10:22:18 +0100 (BST) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2019 09:22:19 -0000 Jamie Landeg-Jones wrote: > I.E. Stick the card into another system, don't mount it, but do: > > dd if=/dev/DEVICE-NAME bs=1m | gzip -c > img.gz > > This will copy the disk image, and compress it with gzip before saving it > to the file. P.S. Before you unmount the "live" system you want to copy, do: rm /etc/hostid or else all your installs will have the same id!