[Bug 213488] bsdinstall wants MANIFEST from filesystem even when installing from ftp

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 10 14:29:56 UTC 2019


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

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

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

--- Comment #11 from Tim Chase <freebsd at 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=/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 which
is a problem if your existing/running system is ZFS-on-GELI:

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

so either you have to not install to ZFS, run bsdinstall from a UFS (possibly
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 option
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)

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


More information about the freebsd-sysinstall mailing list