Base System Rebuild
Erich Dollansky
erichsfreebsdlist at alogt.com
Tue Dec 10 09:25:21 UTC 2013
Hi,
On Tue, 10 Dec 2013 01:11:26 -0800
"ETHAN HOUSE (RIT Student)" <ewh2048 at rit.edu> wrote:
> It is also a FreeBSD 9.2 machine. It is being virtualized using KVM
> and virtio.
you should then be able to compare the include paths and the content of
the /usr/inlude directories and sub-directories.
Just do not forget to backup all files from the remote machine before
you overwrite anything. And again, changing something in /usr/include
does affect the machine's ability to boot. Just keep your fingers away
from /etc and /boot for the moment.
I am still worried a bit about the file system. I do not believe that
somebody deleted part of the system. Can you find a little bit more out
what history this machine has. I have had a similar problem when the
hosting company a dying hard disk only after they made the backup and
used that backup for the new disk.
Erich
>
> Ethan House
>
>
> On Tue, Dec 10, 2013 at 1:09 AM, Erich Dollansky <
> erichsfreebsdlist at alogt.com> wrote:
>
> > Hi,
> >
> > On Tue, 10 Dec 2013 00:34:28 -0800
> > "ETHAN HOUSE (RIT Student)" <ewh2048 at rit.edu> wrote:
> >
> > > http://pastebin.com/LcCXcjq6
> > >
> > > Not sure if I am making a newb mistake. This would be my first
> > > worldbuild.
> > >
> > just compiling the kernel and the world does not install anything on
> > the system. With other words, there is not chance to destroy it
> > except the file system is already damaged. But this would be a
> > totally different problem then.
> >
> > It seems to me that there are some files missing from your include
> > directory. Try to install a fresh 9.2 locally and compare to see
> > what is really missing. It also could be that just a path is set
> > the wrong way.
> >
> > Are you able to run a fsck on the machine? This should be done
> > normally during the start-up of the machine.
> >
> > > I confirmed I was on the 9.2 source tree.
> >
> > What is uname -a saying? You might be able to re-install the same
> > version of it then. This will avoid certain potential problems for
> > you.
> >
> > Do you know what hardware you are using? If so, check the Internet
> > for potential problems with it.
> >
> > Erich
> > >
> > > Ethan House
> > >
> > >
> > > On Tue, Dec 10, 2013 at 12:28 AM, Erich Dollansky <
> > > erichsfreebsdlist at alogt.com> wrote:
> > >
> > > > Hi,
> > > >
> > > > On Tue, 10 Dec 2013 00:21:32 -0800
> > > > "ETHAN HOUSE (RIT Student)" <ewh2048 at rit.edu> wrote:
> > > >
> > > > > I have a working root shell. sshd still seems to work fine,
> > > > > for now atleast.
> > > >
> > > > so, download the sources. Isn't 9.2 also the current version of
> > > > the 9 branch? If not, download the 9.2 release sources and
> > > > compile them.
> > > >
> > > > It should always work out to download and compile the sources.
> > > > If the version is identical, you should not need the
> > > > mergemaster step but this could also create other problems.
> > > > Root should always work afterwards. At least it did for me.
> > > >
> > > > Erich
> > > > >
> > > > > Ethan House
> > > > >
> > > > >
> > > > > On Tue, Dec 10, 2013 at 12:16 AM, Erich Dollansky <
> > > > > erichsfreebsdlist at alogt.com> wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > On Mon, 09 Dec 2013 23:57:53 -0800
> > > > > > Ethan House <ewh2048 at rit.edu> wrote:
> > > > > >
> > > > > > > I inherited a FreeBSD 9.2 machine in pretty bad shape. The
> > > > > > > base system seems to be all out of whack with missing
> > > > > > > libraries all over the place. A reinstall of the OS is
> > > > > > > not an option as I am many states away from the box in
> > > > > > > question. Having no idea what caused this what is the
> > > > > > > best way to fix this?
> > > > > >
> > > > > > how can you connect to the machine?
> > > > > >
> > > > > > If you have any chance to copy files to it as root, I would
> > > > > > build a 9.2-system on a machine at hand and then copy the
> > > > > > files to the affected machine until a normal log-in is
> > > > > > possible.
> > > > > >
> > > > > > It should then be possible to download the 9.2 sources and
> > > > > > compile a new system locally.
> > > > > >
> > > > > > Erich
> > > > > >
> > > > > _______________________________________________
> > > > > freebsd-questions at freebsd.org mailing list
> > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > > To unsubscribe, send any mail to
> > > > > "freebsd-questions-unsubscribe at freebsd.org"
> > > >
> > > >
> > > _______________________________________________
> > > freebsd-questions at freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "freebsd-questions-unsubscribe at freebsd.org"
> >
> >
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list