I made a mess. libc

Bernt Hansson bah at bananmonarki.se
Thu Feb 21 17:23:12 UTC 2013


2013-02-21 18:01, Teske, Devin skrev:
> Is it the base machine that won't boot? I got this ...

That is correct. So no cd burning no nothing...Well it want to drop in 
to a single shell bla bla bla press enter for /bin/sh

<enter>
libexec* libc.so.7: invalid file format

I do not want to reinstall, have 4 encrypted disks.


> My latest version of Druid has a very sophisticated "Interactive Disk Repair" 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 clear 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 mounts your system to present a working shell to fix your problems.
>
> Important: when it asks you if you want to chroot into the mounted filesystem, say NO (you're libc isn't working, so that would be a bad idea) -- rather, run from the LiveFS environment where /mnt is your mounted system. There's even a copy of libc in the LiveFS environment that you can copy over your old one...
>
> cp /cdrom/freebsd/rescue/lib/libc.so.7 /mnt/lib/libc.so.7
>
> (if I recall correctly)
>


More information about the freebsd-questions mailing list