From owner-freebsd-questions@freebsd.org Mon Jul 17 08:56:11 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1E4DD14667 for ; Mon, 17 Jul 2017 08:56:11 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 398CB7CEE4 for ; Mon, 17 Jul 2017 08:56:11 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 230928F51 for ; Mon, 17 Jul 2017 08:56:08 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/230928F51; dkim=none; dkim-atps=neutral Subject: Re: How to create img file installer To: freebsd-questions@freebsd.org References: <001801d2fed0$7cdbfbd0$7693f370$@com> From: Matthew Seaman Message-ID: Date: Mon, 17 Jul 2017 09:56:06 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <001801d2fed0$7cdbfbd0$7693f370$@com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="JgXTQkKn0lMLJKBWUd4RWXuDr1Soar7Rm" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2017 08:56:11 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --JgXTQkKn0lMLJKBWUd4RWXuDr1Soar7Rm Content-Type: multipart/mixed; boundary="h1Q0Ffon4NGRem2G6wO7P8re1rjxjM7nF"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: Subject: Re: How to create img file installer References: <001801d2fed0$7cdbfbd0$7693f370$@com> In-Reply-To: <001801d2fed0$7cdbfbd0$7693f370$@com> --h1Q0Ffon4NGRem2G6wO7P8re1rjxjM7nF Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2017/07/17 08:44, Willsz.net wrote: > I'am looking for, how to make img file for USB FreeBSD installer? Like > FreeBSD-10.3-RELEASE-i386-memstick.img from > http://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/10.3/ for exampl= e. My > goal is I wanna make FreeBSD img installer file from my FreeBSD server > (already configure & all data) is't possible? So if my HDD broken, just= > installing from that's img file to new HDD. All of the tooling used to create FreeBSD releases is held somewhere in the directory tree below: https://svnweb.freebsd.org/base/head/release/ This script does the 'checking out sources and building the system' part:= https://svnweb.freebsd.org/base/head/release/release.sh?view=3Dlog and converting that into a memstick image is handled by the top-level Makefile: https://svnweb.freebsd.org/base/head/release/Makefile?view=3Dlog which calls the make-memstick.sh script for each of the different supported architectures. However, if what you really want to do is just clone your existing harddrive onto a new one, creating a custom installer is a lot more work than you really need to do. Basically if you can mount both old and new disks in your machine at once, then you can simply copy the content of your old drive onto your new one. Methods of copying the content of drives wholesale has been a popular topic on this list in the past, but I'd start by trying rsync(8).= Cheers, Matthew --h1Q0Ffon4NGRem2G6wO7P8re1rjxjM7nF-- --JgXTQkKn0lMLJKBWUd4RWXuDr1Soar7Rm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJZbHusXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTn97EP/23kZsvDNXhUHlRLdpHUmFAw NxrYZSuudKQRlHoY51s/j4LpH4HtDW10AhLgxoP1vQOH7/55suF4nBeJM1wUyeXu VO9uWIZZJGshCUTLtu4NzBwi+sm/Udxl0h3TRtGUCptDzHwmfZH36G/kJVxkuyt7 GZNRC1sQ4XXRD0cDT/KICkEQ4ERyfDqSSlA/2HVyK2UzsQznTVkM4Jx+lrc5ehdI pqNru4AIo27OqU2BoaQZoTJ0RhZwsxuVcew5ACAj2kh6BNw3CIASbV9JN4Lwf894 N8hfh0MqLqIUnxXqSxsVIn06nTa2sV5DkzDk9347l8PCy/1tGX62NRxEfrqjAxcb qnDXq0cZ9V/ylRA7Wp8W4Bdk68Pq4d7YBJFSHhgYZc0hbpPZrla4ys44ruNBc7UZ 8DzajMRww16xeoGsCCxH12S18d8ly4O3Slcvf9LM9e/CfSRrNz/Eqx+SYId1/y1V pAAolBdVH2W0Ov8iSjSSYnYI04l6mt5GZEGshNxksbFZaAWfakK95i4VovtkVy5l L8MapwZkpW7EkA/mFjnGVkwZKnCPxfXF6ZRv1QhYykShPuYMHE9UXXJ24nrMm3kA McA+B2Dv8y5BAyz2jxj50oeJ4RfNzKx1VSUDBCSFPJAya0/kvUyjE6u0klvwp8Ft C/nn+kAR242nUIlo6rEH =h39W -----END PGP SIGNATURE----- --JgXTQkKn0lMLJKBWUd4RWXuDr1Soar7Rm--