[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Splitting /rescue out of base.tgz
On Fri, Sep 06, 2019 at 01:53:50PM +0200, Edgar Fuß wrote:
> [Would this better belong to tech-install?]
> I think it may make sense to split /rescue out of base.tgz into a separate set.
> I just rendered a machine unusable during an update because, after having
> booted into the new kernel, extracting base.tgz failed (/ full), corrupting
> both bin/sbin and rescue. Tho only thing I had was a shell with whatever is
> My colleague joked it was time to write a tar parser in shell (to extract
> /rescue from the base set to somewhere else), but unfortunately, base.tgz
> is compressed.
> Note that it wouldn't suffice to duplicate /rescue into a separate tgz,
> it would need to be removed from base.tgz.
> Of course, I could mimic this with args to tar xpzfC base.tgz /.
I've been there too. Now when doing an upgrade I always --exclude rescue
when extracting the sets, and only at the end (and when everything went fine)
I extract only /rescue from base.tgz
Sure, a separate rescue set would make it a bit easier, but that's not a
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
Main Index |
Thread Index |