Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2001 16:40:25 -0400
From:      Mark Woodson <mwoodson@bacxs.com>
To:        <jks@clickcom.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Need help in fixing an unbootable system
Message-ID:  <5.1.0.14.0.20010911163631.025e9c90@192.168.99.2>
In-Reply-To: <PHEMIEFOLOKALAMFPIPCIEHBCBAA.jsmailing@clickcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 03:31 PM 9/11/2001 -0400, you wrote:
>I have a machine that I'm trying to upgrade. It had been hacked into
>(presumably through the telnetd exploit) and is a 4.0-RELEASE machine. I
>tried to makeworld on this machine twice, however in both cases (using
>completely clean /usr/src/ /usr/obj directories) the cvsup would work, but
>compiling would fail.
>
>So I remembered somewhere that alternately, you should be able to install
>binaries just like during install. So I launched /stand/sysinstall and
>started a 4.4-RC4 distribution download. After the / download had completed,
>I got an error about unknown binary elf type on the screen and was unable to
>do anything. Apparently it began replacing the "live" machine and sysinstall
>didn't like that much.
>
>After rebooting, as soon as the kernel trieds to mount /, it panics and says
>that "I'm not going anywhere without init".
>
>I tried running from the fixit floppy, but I'm rather stuck right now
>because I don't exactly understand what I can do from there.

Yes, first off I've been lead to believe (through comments on the list, and 
my own experience) that you cannot use /stand/sysinstall from one release 
to install another.  What you need to do, is to boot the system (with the 
floppies or a CD) with the release you want to install, then select upgrade.

And, if your system was hacked, I believe it would be a good idea to start 
from scratch.  Don't upgrade, repartition and then reinstall.  It's 
impossible to know everything that was gotten into or changed.  The only 
way to make absolutely sure that it's clean is to start from scratch.

-Mark



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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