Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 2010 13:41:41 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: recovery from terminated make installworld?
Message-ID:  <b269bc571003181341t5ac05314h9c29dd843197a5d9@mail.gmail.com>
In-Reply-To: <fd9cd3451003181307j3a30acedt28875351cd896769@mail.gmail.com>
References:  <20100318200329.GC67716@mech-cluster241.men.bris.ac.uk> <fd9cd3451003181307j3a30acedt28875351cd896769@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 18, 2010 at 1:07 PM, Justin Hibbits <jrh29@alumni.cwru.edu>wrote:

> On Thu, Mar 18, 2010 at 4:03 PM, Anton Shterenlikht <mexas@bristol.ac.uk
> >wrote:
>
> > I was in the single user mode doing 'make installworld'
> > when the system froze and I had to cold reboot.
> > Now in single user mode I get to:
> >
> > Enter full pathname of shell or RETURN for /bin/sh:
> > /libexec/ld-elf.so.1: /lib/libc.so.7: invalid file format
> > /libexec/ld-elf.so.1: /lib/libc.so.7: invalid file format
> > Enter full pathname of shell or RETURN for /bin/sh:
> >
> > Is there a way to recover?
> > Or do I have to reinstall from scratch?
>
> Try /rescue/sh (or tcsh).  It's all statically linked, so you should be
> able
> to recover from there.
>
> And if that doesn't work, try a LiveFS CD.

And, if all else fails, you can do a minimal install overtop.  You'll lose
all your /etc settings, but will get a bootable system again.

-- 
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b269bc571003181341t5ac05314h9c29dd843197a5d9>