From owner-freebsd-questions@FreeBSD.ORG Thu Feb 5 10:01:17 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 DD2B416A4DB for ; Thu, 5 Feb 2004 10:01:16 -0800 (PST) Received: from rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0328C43D46 for ; Thu, 5 Feb 2004 10:01:12 -0800 (PST) (envelope-from itetcu@go.ro) Received: (qmail 5480 invoked from network); 5 Feb 2004 18:01:11 -0000 Received: from unknown (HELO it.buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 5 Feb 2004 18:01:10 -0000 Date: Thu, 5 Feb 2004 20:02:38 +0200 From: Ion-Mihai Tetcu To: Nicolas Message-Id: <20040205200238.47055c4d@it.buh.cameradicommercio.ro> In-Reply-To: <200402051813.50123.nicolas.gafgo@bredband.net> References: <200402051524.05019.nicolas.gafgo@bredband.net> <20040205165707.695d01fd@it.buh.cameradicommercio.ro> <200402051813.50123.nicolas.gafgo@bredband.net> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: Newbie trying to build a new world 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: Thu, 05 Feb 2004 18:01:17 -0000 On Thu, 5 Feb 2004 18:13:50 +0100 Nicolas wrote: > Hello again. Sorry to bother you with this but I really dont know what went > wrong this time. Ive done it on my old computer with 4,9 and it went smothe. > This is the sequence that I followed: > cd /usr/obj > rm -Rf * > cd /usr/src > make buildworld > > Then: > cd /usr/src > make buildkernel KERNCONF=MOAK If you didn't reboot or drop to single user, the next step is bad. > Then: > fsck -p > mount -u / > mount -a -t ufs > swapon -a > cd /usr/src > make installworld > > make installkernel KERNCONF=MOAK > > It is hard following the order in the handbook Nop. First you intallkernel, then you reboot, then from single user installworld. Note that the ultimate reference for all this is /usr/src/UPDATING; if something is told there, follow it. READ IT. Read it again. Follow it. > I think it is a bit confusing > to read. > In my last mail I wrote it in the wrong order. Could be. But perhaps you should take a little pause, drink a coffee, etc. and retry a little later; often one makes the same mistakes again and again when tired; experience speaking ;) Second suggestion - print this and follow it (if it doesn't conflict with UPDATING, I don't know from what to what you are upgrading): cd /usr/obj chflags -R noschg * rm -Rf * cd /usr/src && make clean all script /tmp/build_kernel_1 make buildkernel KERNCONF=GENERIC && touch /tmp/done_Build_Kernel_G make installkernel KERNCONF=GENERIC && touch /tmp/done_Install_Kernel_G CTRL+D if it breaks until here you have a problem with your sources; cvsup. reboot if everithing seems to be OK: script /tmp/mergemaster_p mergemaster -p CTRL+D script /tmp/build_w cd /usr/src make buildworld && touch /tmp/done_Build_World make buildkernel KERNCONF=MOAK && touch /tmp/done_Build_Kernel make installkernel KERNCONF=MOAK && touch /tmp/done_Install_Kernel CTRL+D reboot in single user fsck -p mount -u / mount -a -t ufs swapon -a if needed (you don't have the BIOS clock on UTC) also : adjkerntz -i script /tmp/install_w make installworld CTRL+D reboot script /tmp/build_w maergemaster CTRL+D Of course, heaven only knows what exactly did you do until now; but with script we can try to figure out what goes wrong. The touch(1) are only to be easy to see where it breaks. > If I try again do I have to do it all from the beginning (cvsup src and > ports)? No. The hole make ... doesn't change the sources. -- IOnut Unregistered ;) FreeBSD user