Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 2025 03:15:50 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        Tomoaki AOKI <junchoon@dec.sakura.ne.jp>, Graham Perrin <grahamperrin@gmail.com>,  FreeBSD-CURRENT <freebsd-current@freebsd.org>
Subject:   Re: Using a recovery partition to repair a broken installation of FreeBSD
Message-ID:  <CANCZdfrrybisM6gSvsqKHfT2yk6ACXH=g=0oae1iVGBAdwWZQg@mail.gmail.com>
In-Reply-To: <202509010904.58194iP2007318@critter.freebsd.dk>
References:  <7b384ac0-9b24-43a4-bf63-012d745155a7@gmail.com> <aKD970iOlzyQNi0d@amaryllis.le-fay.org> <18e1a7e9-07d8-43a2-96af-0acdab6c2920@gmail.com> <babf662e-cded-4a2c-b5e8-c5a7175739f2@gmail.com> <20250901175827.73ba0ea24812cebe2263811f@dec.sakura.ne.jp> <202509010904.58194iP2007318@critter.freebsd.dk>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Mon, Sep 1, 2025, 3:05 AM Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:

> --------
> Tomoaki AOKI writes:
>
>
> > >  > … it would be nice to have something like 'recovery partition', as
> > > some OSes have. or at least some tiny fail-safe feature. having remote
> > > machine in some distant datacenter, booting from a flashstick is
> always
> > > a problem.
>
> I thought that is what /rescue is for ?
>

That only works if your boot loader can read it... I've thought for a
while now that maybe we should move that into a ram disk image that we fall
back to if the boot loader can't read anything else...

Warner


> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>

[-- Attachment #2 --]
<div dir="auto"><div><br><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, Sep 1, 2025, 3:05 AM Poul-Henning Kamp &lt;<a href="mailto:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">--------<br>
Tomoaki AOKI writes:<br>
<br>
<br>
&gt; &gt;  &gt; … it would be nice to have something like &#39;recovery partition&#39;, as <br>
&gt; &gt; some OSes have. or at least some tiny fail-safe feature. having remote <br>
&gt; &gt; machine in some distant datacenter, booting from a flashstick is always <br>
&gt; &gt; a problem.<br>
<br>
I thought that is what /rescue is for ?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">That only works if your boot loader can read it... I&#39;ve thought for a while now that maybe we should move that into a ram disk image that we fall back to if the boot loader can&#39;t read anything else...</div><div dir="auto"><br></div><div dir="auto">Warner</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
-- <br>
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG         | TCP/IP since RFC 956<br>
FreeBSD committer       | BSD since 4.3-tahoe    <br>
Never attribute to malice what can adequately be explained by incompetence.<br>
<br>
</blockquote></div></div></div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrrybisM6gSvsqKHfT2yk6ACXH=g=0oae1iVGBAdwWZQg>