Date: Fri, 01 Dec 2023 21:20:33 +0000 From: bugzilla-noreply@freebsd.org To: rc@FreeBSD.org Subject: [Bug 274977] [rc] [patch] /etc/rc.initdiskless: /rescue/tar: not found Message-ID: <bug-274977-20181-6G8R6Rsj2o@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-274977-20181@https.bugs.freebsd.org/bugzilla/> References: <bug-274977-20181@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=3D274977 --- Comment #9 from Cheng Cui <cc@FreeBSD.org> --- (In reply to Warner Losh from comment #8) > It breaks / and /usr being on different partitions. Please let me know if these are the partitions in default. Because as an average user who simply follows the bandbook and finds installation images = from a well-known place like https://www.freebsd.org/where/, does not and shall = not care about advanced details about where the "/rescue" is. > Why don't you have /rescue? After I re-installed my box again with FreeBSD 14.0-RELEASE through pxeboot= and by using the content from the FreeBSD-14.0-RELEASE-amd64-disc1.iso, I found there shall be clarification that the execute of "rc.initdiskless" is part = of the booting process, not a start of the installation process. So I encounte= red the "/rescue/tar: not found" again, but with the change I could finish the = boot and then start the installation. Once the installation finished, I found the files in "/rescue". This means although there are no files in "/rescue" from the ISO, they will be generated during the installation. Then, the system h= as the "/rescue". So far, the only place that the keyword "rescue" shows up in "rc.initdiskle= ss" is where the "/rescue/tar" shall be replaced with "/usr/bin/tar" in the proposed patch. Given "rc.initdiskless" is used during the pxeboot, and fil= es in "/rescue" are not ready yet and will be ready after the installation, I think the change is not bad. Also please let me know if the revert of commit https://cgit.freebsd.org/src/commit/?id=3D6e352319b6ff97a20b53d13a6df76b71d= d12afc9 is a better solution, although I don't think so. --=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-274977-20181-6G8R6Rsj2o>