From owner-freebsd-questions@FreeBSD.ORG Mon Aug 23 18:10:31 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8167116A509 for ; Mon, 23 Aug 2004 18:10:30 +0000 (GMT) Received: from sccimhc92.asp.att.net (sccimhc92.asp.att.net [63.240.76.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A8B343D48 for ; Mon, 23 Aug 2004 18:10:13 +0000 (GMT) (envelope-from FreeBSD@insightbb.com) Received: from [192.168.1.239] (12-202-28-183.client.insightbb.com[12.202.28.183]) by sccimhc92.asp.att.net (sccimhc92) with ESMTP id <20040823181012i920092fjbe>; Mon, 23 Aug 2004 18:10:12 +0000 From: Steven Friedrich To: freebsd-questions@freebsd.org Date: Mon, 23 Aug 2004 14:10:11 -0400 User-Agent: KMail/1.6.2 References: <200408231351.44084.FreeBSD@InsightBB.com> <117C865A-F52E-11D8-8159-000393934006@npc-usa.com> In-Reply-To: <117C865A-F52E-11D8-8159-000393934006@npc-usa.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408231410.11784.FreeBSD@InsightBB.com> Subject: Re: Salvageable? (Was Re: make installworld error) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2004 18:10:32 -0000 On Monday 23 August 2004 01:58 pm, Curtis Vaughan wrote: > On 23 Aug, 2004, at 10:51, Steven Friedrich wrote: > > On Monday 23 August 2004 01:39 pm, Curtis Vaughan wrote: > >> So, could someone tell me if my system is salvageable or not and what > >> I > >> need to do? > >> Or, should I just start over? > >> > >> Curtis > >> > >> On 21 Aug, 2004, at 17:06, Curtis Vaughan wrote: > >>> So, it is my understanding that I did in fact do things right (or > >>> that > >>> is > >>> to say that The Complete FreeBSD had the right directions. But that > >>> something else went wrong. > >>> > >>> BTW, I installed 4.8 from scratch. Then spent a couple of days > >>> preparing > >>> to do a cvsup making sure that I set everything up right (sources: > >>> Complete FreeBSD, freebsd.org, and this list. > >>> > >>> Then I did the cvsup. Everything else I've already written about in > >>> a > >>> previous letter. > >>> > >>> Unfortunately, it doesn't seem that booting into an old kernel is an > >>> option. I have looked at the files on my system and there is no > >>> kernel.old or anything like it. There is only a kernel directory > >>> under > >>> the > >>> /boot/ directory. > >>> > >>> What information do I need to provide to perhaps salvage this system? > >>> And what steps did I possibly miss? > >>> > >>> Curtis > >>> > >>>> "Kevin D. Kinsey, DaleCo, S.P." writes: > >>>>> Yup. Go back to the top --- I missed where > >>>>> in your list of steps you actually *installed* > >>>>> the new kernel... > >>>> > >>>> That would be where he said: > >>>>>> make kernel > >>>> > >>>> which is equivalent to "make buildkernel installkernel". > >>>> > >>>> It doesn't explain quite what's happening here, though -- and he > >>>> didn't even *hint* at such basic clues as what version he was > >>>> updating > >>>> from or to (there may be extra steps for large updating jumps). > >>>> > >>>> Booting the old kernel is certainly worth a try before starting > >>>> over, > >>>> though; the system is quite likely to be salvageable. > >>>> _______________________________________________ > >>>> 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" > >>> > >>> _______________________________________________ > >>> 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" > >> > >> _______________________________________________ > >> 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" > > > > Try to boot into single-user mode, i.e., when the system boots, it'll > > display > > a 10 second countdown. Hit spacebar to abort the countdown. Then type > > boot > > -s and it'll boot into single-user mode with only the root partition > > mounted. > > > > type mount -a to get the other partitions mounted. > > > > Then redo your buildworld,etc., but skip mergemaster stuff. > > > > Here's the steps: > > cd /usr/src > > make buildworld > > make buildkernel KERNCONF=yourkernelname (you DID copy GENERIC and > > customize > > it didn't you?) > > make installkernel KERNCONF=yourkernelname > > make installworld > > reboot > > > > Skipping the mergemaster stuff will mean that any recent changes to > > various > > config files will be missing, but you should be able to come up > > multi-user. > > > > If these steps fail, it'll probably be easier to just reinstall. > > As I wrote in an earlier letter, I can't get into single-user mode. > Here's what happens after using the boot -s option: > > It's asks: Enter full pathname of shell or RETURN for /bin/sh > > But when I hit RETURN, it says: pid 7 (ssh), uid -: exited on signal 12 > Aug 20 08:41:58 init: single user shell terminated, restarting > > and then it asks again: Enter full path.... > > I have tried also manually entering in: > /bin/sh > /bin/csh > /bin/chsh > /usr/local/bin/bash > etc. > etc. > > Curtis > > _______________________________________________ > 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" unless you are expert enough to use FreeBSD boot and repair floppies, I recommend you just reinstall.