Date: Fri, 19 Sep 2025 12:55:26 -0400 From: "Dan Langille" <dan@langille.org> To: "David Chisnall" <theraven@freebsd.org>, "Joseph Mingrone" <jrm@freebsd.org> Cc: hackers@freebsd.org Subject: Re: Notes on improving the installer Message-ID: <dc9fb3a4-6a15-46ac-b75a-7acc60b90e1e@app.fastmail.com> In-Reply-To: <69D0FE56-6D3E-4B49-9AD0-68752172FDC6@freebsd.org> References: <8634byieib.fsf@asn.ftfl.ca> <69D0FE56-6D3E-4B49-9AD0-68752172FDC6@freebsd.org>
index | next in thread | previous in thread | raw e-mail
On Tue, Jun 17, 2025, at 12:50 PM, David Chisnall wrote: > If you enable encrypted swap in the installer, it creates fstab entries > that create the GELI devices. It does not label the partitions (swap0, > swap1, or something useful) but uses the raw device nodes. Nothing in > the system appears to check the underlying partition type when enabling > swap on these devices, so if you plug in another device and things are > renumbered then swapping will write nonsense over a different partition > (I was fortunate that, when this happened to me, the destroyed > partition was one I was planning to delete anyway). This item took out FreshPorts recently. It was a few hours of tense negotiations. https://forums.freebsd.org/threads/zpool-missing-after-increasing-disk-size-aws.98986/#post-714444 In my case, the solution was easy: disable swap, import the pool. I have since moved to using "/dev/gpt/swap01 none swap sw 0 0" in /etc/fstab > I think I have filed bugs about all of these issues. It would be great > if folks looking to improve the installer could consider some of them. David: do you know the bug IDs please? Thank you. -- Dan Langille dan@langille.orghelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dc9fb3a4-6a15-46ac-b75a-7acc60b90e1e>
