Port update hosed entire system
jb.1234abcd at gmail.com
Mon Oct 1 11:37:10 UTC 2012
jb <jb.1234abcd <at> gmail.com> writes:
> Rod Person <rodperson <at> rodperson.com> writes:
> > ...
> > I'm still able to issue sudo, so using sudo rm -r I was able to free up
> > 25GB...but still, /bin/sh, ls, clear all seg fault and su doesn't work
> > and switching consoles doesn't let me log in.
> > I maybe be left with attempting a single user boot, but I'm still not
> > that comfortable at attempting such as I don't want to have a totally
> > useless box.
> Well, in emergency:
> - add /rescue/sh to /etc/shells
> Anything in /rescue/ is statically compiled.
> - change "root" shell to /rescue/sh
I forgot to mention that you may want to do this:
mv /bin/sh /bin/sh-saved
ln -s /rescue/sh /bin/sh
More information about the freebsd-questions