On Mon, July 19, 2010 12:47 pm, Dan Nelson wrote:
> In the last episode (Jul 19), David Brodbeck said:
>> That doesn't work, unfortunately.  Once you rename ld-elf.so.1 to
>> ld-elf.so.1.old, trying to run any further commands -- even mv and cp --
>> fails with an error.  (I didn't write down which one; something about
>> failing to load the ELF interpreter, I think.) I know, I managed to
>> cripple my system that way.  I had to boot a LiveCD to recover, because
>> it
>> couldn't even load /bin/sh to get into single-user mode.
>
> A better method would be to copy (not move) the file to a backup location,
> then either use mv or install to install the new version.  Also, the
> programs in /rescue/ are statically linked so they can be used to recover
> if
> you end up losing ld-elf.so.1 or other critical shared libs.

That was actually what I tried first, but I got a file in use error when I
tried to overwrite it with the new version.

Good to know about /rescue.  I'll remember that next time something like
this happens.


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to