From owner-freebsd-sysinstall@freebsd.org Tue Sep 10 14:29:56 2019 Return-Path: Delivered-To: freebsd-sysinstall@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 28438D7FC3 for ; Tue, 10 Sep 2019 14:29:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46SS9J0MjSz4Vhp for ; Tue, 10 Sep 2019 14:29:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0AC4BD7FC2; Tue, 10 Sep 2019 14:29:56 +0000 (UTC) Delivered-To: sysinstall@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0A8A7D7FC1 for ; Tue, 10 Sep 2019 14:29:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46SS9H6byFz4Vhn for ; Tue, 10 Sep 2019 14:29:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C6ACB276A5 for ; Tue, 10 Sep 2019 14:29:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x8AETti7012756 for ; Tue, 10 Sep 2019 14:29:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x8AETtHK012755 for sysinstall@FreeBSD.org; Tue, 10 Sep 2019 14:29:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: sysinstall@FreeBSD.org Subject: [Bug 213488] bsdinstall wants MANIFEST from filesystem even when installing from ftp Date: Tue, 10 Sep 2019 14:29:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsd@tim.thechases.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sysinstall@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Sep 2019 14:29:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213488 Tim Chase changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freebsd@tim.thechases.com --- Comment #11 from Tim Chase --- [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.=