NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: I finally bricked my NetBSD system



On Thu, Jul 16, 2020 at 09:54:06PM -0700, Andy Ruhl wrote:
> What about booting from install media and dropping /rescue/sh into
> whatever the defined shell path is? Isn't that a statically linked
> binary that should work pretty much anywhere? Isn't that kinda what
> it's for?

Yes, that works too.

It mostly is intended for when you have really bricked your base install,
like broken libc.so or ld.elf_so - then you can still "boot -a" and ask
for /rescue/sh as shell.

I like the "cp some other shell to /usr/pkg/bin/tcsh" way as that allows
me to fully go multiuser and do all additional recover steps over the
network.

Martin


Home | Main Index | Thread Index | Old Index