Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2013 17:01:02 +0000
From:      "Teske, Devin" <Devin.Teske@fisglobal.com>
To:        Bernt Hansson <bah@bananmonarki.se>, Fleuriot Damien <ml@my.gd>
Cc:        questions FreeBSD <FreeBSD-questions@freebsd.org>, "Teske, Devin" <Devin.Teske@fisglobal.com>
Subject:   RE: I made a mess. libc
Message-ID:  <13CA24D6AB415D428143D44749F57D7201EAC464@ltcfiswmsgmb21>
In-Reply-To: <51264295.1040902@bananmonarki.se>
References:  <51263091.1080507@bananmonarki.se> <2E4C6324-D93A-46EF-82C4-D7C8F9D06894@my.gd>, <51264295.1040902@bananmonarki.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Is it the base machine that won't boot? I got this ...

My latest version of Druid has a very sophisticated "Interactive Disk Repai=
r" script that will assemble your system "humpty-dumpty style" while booted=
 from a CD or Thumb drive (you said you couldn't burn a CD, but it wasn't c=
lear whether you could master a thumb drive).

http://sourceforge.net/projects/druidbsd/files/FreeBSD-8.3_Druid-1.0b60.iso=
/download

When you run the "Interactive Disk Repair (IDR) Shell" option, it presents =
you with a few questions (like, "I've found a saved network interface in rc=
.conf(5) -- would you like me to activate it for you?"), and ultimately mou=
nts your system to present a working shell to fix your problems.

Important: when it asks you if you want to chroot into the mounted filesyst=
em, say NO (you're libc isn't working, so that would be a bad idea) -- rath=
er, run from the LiveFS environment where /mnt is your mounted system. Ther=
e's even a copy of libc in the LiveFS environment that you can copy over yo=
ur old one...

cp /cdrom/freebsd/rescue/lib/libc.so.7 /mnt/lib/libc.so.7

(if I recall correctly)
--=20
Devin


________________________________________
From: owner-freebsd-questions@freebsd.org [owner-freebsd-questions@freebsd.=
org] on behalf of Bernt Hansson [bah@bananmonarki.se]
Sent: Thursday, February 21, 2013 7:51 AM
To: Fleuriot Damien
Cc: questions FreeBSD
Subject: Re: I made a mess. libc

2013-02-21 15:43, Fleuriot Damien skrev:
>
> On Feb 21, 2013, at 3:34 PM, Bernt Hansson <bah@bananmonarki.se> wrote:
>
>> Hello list!
>>
>> It's me again.
>>
>> I was happily upgrading my jail make build* and so on.
>>
>> Make installworld failed with som chflag set on libc.so.7
>> so i left jail and went to the host and tought I fixit from there.
>>
>> I did remove the chflag and all was well I tought, but no.
>>
>> Copy it to the jail, someone screamed, ok I'll do that
>>
>> Well the problem is I copied it to the host amd64 and jail is i386.
>>
>> the host locked up hard and after a reboot I get
>>
>> libc.so.7 invalid file format. How do I get it back.
>>
>> I can not burn a cd with livefs, wich should be on memorystick
>> anyway.
>>
>> Thanks for any help and it's needed.
>
>
>
> This is my libc.so.7 from the 19th, for 8-stable amd64, after the patch f=
or the security advisory.
>
> root@pf1:/usr/ports/emulators/fuse # ls -l /lib/libc.so.7
> -r--r--r--  1 root  wheel  1399225 Feb 19 15:27 /lib/libc.so.7
>
> root@pf1:/usr/ports/emulators/fuse # md5 /lib/libc.so.7
> MD5 (/lib/libc.so.7) =3D 9e4b09aa6dbc731bf56593b736e9fef1
>
> root@pf1:/usr/ports/emulators/fuse # shasum /lib/libc.so.7
> 19e856f287586f52611aca9a4aa8a4104b65fb4e  /lib/libc.so.7
>
> root@pf1:/usr/ports/emulators/fuse # uname -a
> FreeBSD pf1.backbone.dev 8.3-STABLE FreeBSD 8.3-STABLE #6 r247008M: Tue F=
eb 19 20:14:57 UTC 2013     root@pf1.backbone.dev:/usr/obj/usr/src/sys/UNIV=
ERSAL  amd64
>
>
> I can host the file over HTTP if you want.
>

That was very nice of you, but how do I get the file into my machine?


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

_____________
The information contained in this message is proprietary and/or confidentia=
l. If you are not the intended recipient, please: (i) delete the message an=
d all copies; (ii) do not disclose, distribute or use the message in any ma=
nner; and (iii) notify the sender immediately. In addition, please be aware=
 that any message addressed to our domain is subject to archiving and revie=
w by persons other than the intended recipient. Thank you.



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