Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2017 09:56:06 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to create img file installer
Message-ID:  <ac5063d3-4f1c-eacc-54f8-48dd39587247@FreeBSD.org>
In-Reply-To: <001801d2fed0$7cdbfbd0$7693f370$@com>
References:  <001801d2fed0$7cdbfbd0$7693f370$@com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--JgXTQkKn0lMLJKBWUd4RWXuDr1Soar7Rm
Content-Type: multipart/mixed; boundary="h1Q0Ffon4NGRem2G6wO7P8re1rjxjM7nF";
 protected-headers="v1"
From: Matthew Seaman <matthew@FreeBSD.org>
To: freebsd-questions@freebsd.org
Message-ID: <ac5063d3-4f1c-eacc-54f8-48dd39587247@FreeBSD.org>
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ac5063d3-4f1c-eacc-54f8-48dd39587247>