From owner-freebsd-questions Tue Sep 11 13:45: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.bacxs.com (ubr-b-33.179.173.winterpark.cfl.rr.com [65.33.179.173]) by hub.freebsd.org (Postfix) with ESMTP id 45C7137B405 for ; Tue, 11 Sep 2001 13:44:59 -0700 (PDT) Received: from efx.bacxs.com by mail.bacxs.com with SMTP (MDaemon.v3.5.3.R) for ; Tue, 11 Sep 2001 16:40:26 -0400 Message-Id: <5.1.0.14.0.20010911163631.025e9c90@192.168.99.2> X-Sender: mwoodson@192.168.99.2 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 11 Sep 2001 16:40:25 -0400 To: From: Mark Woodson Subject: Re: Need help in fixing an unbootable system Cc: freebsd-questions@freebsd.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Return-Path: mwoodson@bacxs.com X-MDaemon-Deliver-To: freebsd-questions@freebsd.org Reply-To: mwoodson@bacxs.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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