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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

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

Tim Chase <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #11 from Tim Chase <[hidden email]> ---
[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.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-sysinstall
To unsubscribe, send any mail to "[hidden email]"