Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 2010 23:28:42 -0700
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        krad <kraduk@googlemail.com>
Cc:        freebsd-current@freebsd.org, Freddie Cash <fjwcash@gmail.com>
Subject:   Re: recovery from terminated make installworld?
Message-ID:  <7d6fde3d1003182328w63c84053r2bbc3e05f4ec6530@mail.gmail.com>
In-Reply-To: <d36406631003181608o10af0d9aha9246a96aece3559@mail.gmail.com>
References:  <20100318200329.GC67716@mech-cluster241.men.bris.ac.uk> <fd9cd3451003181307j3a30acedt28875351cd896769@mail.gmail.com> <b269bc571003181341t5ac05314h9c29dd843197a5d9@mail.gmail.com> <d36406631003181608o10af0d9aha9246a96aece3559@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 18, 2010 at 4:08 PM, krad <kraduk@googlemail.com> wrote:
> On 18 March 2010 20:41, Freddie Cash <fjwcash@gmail.com> wrote:
>
>> 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). =A0It'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. =A0You'll =
lose
>> all your /etc settings, but will get a bootable system again.
>>
>> --
>> Freddie Cash
>> fjwcash@gmail.com
>> _______________________________________________
>> freebsd-current@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.or=
g"
>>
>
>
> easier and less risky to boot in on some form of live cd, mount all the f=
s
> up under /mnt, set the DESTDIR=3D/mnt and continue the installworld

Yes, this is the easiest way to do things:

1. Boot live CD, USB, w/e.
2. mount all of your filesystems.
3. make -C $DESTDIR/usr/src installworld DESTDIR=3D$DESTDIR

No loss of data. But given that you've already done the reinstall, I
suppose there's no way to go back now :/...
-Garrett



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