Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2014 14:03:09 -0400
From:      Thomas Hoffmann <trh411@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Issue with upgrade (9.1 to 9.2)
Message-ID:  <CAB7-od=2FucLBMCzxSrXjvoCiQjFyLuxS%2BrEErsG-%2Bbq9tOKtg@mail.gmail.com>
In-Reply-To: <CAGM=3xndsQkOqVZfmuSnRzpp0dbx=q001JbkYha1hoKcN8kirg@mail.gmail.com>
References:  <CAGM=3x==AHKikV=mQwgUOJfo0Asx6dijW9TdigssCXOUKPcBPA@mail.gmail.com> <CAGM=3xndsQkOqVZfmuSnRzpp0dbx=q001JbkYha1hoKcN8kirg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 9, 2014 at 12:16 PM, Andre Goree <andre.goree@gmail.com> wrote:

> Anyone have any insight on this?  Is there any way to salvage this or
> am I just SoL and need to reinstall?
>
> On Tue, Apr 8, 2014 at 10:51 PM, Andre Goree <andre.goree@gmail.com>
> wrote:
> > It would seem I've screwed something up with my upgrade.  Soon after
> > performing the upgrade via freebsd-update followed by a reboot, I
> > tried to go into single-user mode to finish up.  After doing so,
> > everytime I attempted to use my /usr partition, I would run into the
> > error:
> >
> > /var: got error 11 while accessing filesystem
> >
> > I [thought] I fixed this by following this[1] mailing list post, which
> > suggested upping 'kern.bio_transient_maxcnt'.  I set that tunable to
> > 10 and rebooted, at which point the server appeared to boot fine.  I
> > think continued with 'freebsd-update install', however apparently it
> > was interrupted -- probably with a kernel panic as my system
> > automatically rebooted and was thrown to single-user mode.  Now, the
> > issue is that in single-user mode, I cannot access any shell, I get
> > the following error:
> >
> > ELF interpreter /libexec/ld-elf.so.1 not found
> >
> > I recall running into this on a different box a year or two back...I
> > think I had to somehow run ldconfig, but in this case I cannot as even
> > when I boot with a live cd and mount my partitions, when I try to
> > chroot I run into that same error.  Help?
>

Can you access the rescue shell at /rescue/sh? /rescue contains statically
linked commands for just such a contingency as this. If that works, maybe
you can then copy ld-elf.so.1 from ./libexec from the live CD to your base
system (/libexec) to get past this issue?

-Tom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB7-od=2FucLBMCzxSrXjvoCiQjFyLuxS%2BrEErsG-%2Bbq9tOKtg>