Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2019 14:29:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        sysinstall@FreeBSD.org
Subject:   [Bug 213488] bsdinstall wants MANIFEST from filesystem even when installing from ftp
Message-ID:  <bug-213488-8135-ZGe37ts28A@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213488-8135@https.bugs.freebsd.org/bugzilla/>
References:  <bug-213488-8135@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213488

Tim Chase <freebsd@tim.thechases.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freebsd@tim.thechases.com

--- Comment #11 from Tim Chase <freebsd@tim.thechases.com> ---
[sorry ~3yr late to the thread, but this PR was referenced from a blog post=
 I
was reading today]

If you're soliciting other use cases in which I've used `bsdinstall` from a
running system, I was trying to create a .img file with a file-backed md0

  # IMG=3D/path/to/freebsd.img
  # truncate -s 20G $IMG
  # mdconfig -f $IMG -u 0
  # bsdinstall # install to md0
  # mdconfig -d -u 0

As a side note, at least the last time I did this, bsdinstall assumes that =
it
can freely and forcibly unmount any previously-mounted ZFS & GELI volumes w=
hich
is a problem if your existing/running system is ZFS-on-GELI:

  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214911

so either you have to not install to ZFS, run bsdinstall from a UFS (possib=
ly
without GELI) system, or you have to comment out the "detach all ZFS & GELI
volumes" code from /usr/libexec/bsdinstall/zfsboot (I went with the 3rd opt=
ion
so I could create a ZFS-on-GELI .img file from a ZFS-on-GELI host system)

With the above caveats/modifications, this creates a disk image that I can =
then
dd(1) to a drive (in my case, an OVH disk via the recovery console)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213488-8135-ZGe37ts28A>