From owner-freebsd-questions@FreeBSD.ORG Fri Mar 3 10:58:34 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 6681616A420 for ; Fri, 3 Mar 2006 10:58:34 +0000 (GMT) (envelope-from vaaf@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9D4B43D46 for ; Fri, 3 Mar 2006 10:58:33 +0000 (GMT) (envelope-from vaaf@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IVJ0014UT5KQ8C0@osl1smout1.broadpark.no> for freebsd-questions@freebsd.org; Fri, 03 Mar 2006 11:58:32 +0100 (CET) Received: from urban.broadpark.no ([213.187.181.70]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IVJ00M5AT5JETH0@osl1sminn1.broadpark.no> for freebsd-questions@freebsd.org; Fri, 03 Mar 2006 11:58:32 +0100 (CET) Date: Fri, 03 Mar 2006 11:58:37 +0100 From: Kristian Vaaf In-reply-to: <200602281021.20107.duncan.fbsd@gmail.com> To: "Donald J. O'Neill" Message-id: <7.0.1.0.2.20060303115508.022b1de0@broadpark.no> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <7.0.1.0.2.20060221103409.021a8808@broadpark.no> <200602210922.38445.duncan.fbsd@gmail.com> <7.0.1.0.2.20060228121217.022172c0@broadpark.no> <200602281021.20107.duncan.fbsd@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Haven't been able to make world in about a year X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2006 10:58:34 -0000 At 17:21 28.02.2006, Donald J. O'Neill wrote: >On Tuesday 28 February 2006 05:15, Kristian Vaaf wrote: > > > > Hello Don! > > > > Thank you for some good help. > > > > My make.conf only had some use.perl stuff. > > I added your flags. > > > > Also I've revised my sequence: > > > > cvsup -g -L 2 /etc/cvsupfile \ > > > > && cd /usr/obj \ > > && chflags -R noschg * \ > > && rm -rf * \ > > > > && cd /usr/src ; make clean \ > > && make buildworld \ > > && make buildkernel KERNCONF=NINJA \ > > && make installkernel KERNCONF=NINJA \ > > && make installworld \ > > && mergemaster \ > > > > And am now ready to give it another go :) > > > > All the best, > > Vaaf > >Krisstian, > >There are some places in your sequence, that I think are going to give >you trouble. DO NOT run this as a script, run script while you're doing >it. I think you're misunderstanding some things, so, I give the >procedure I use again with some comments about what is happening: > > >cvsup -g -L 2 sup-src > > >script /home/script/buildworld/bw-20060228 > > >cd /usr/obj > > pwd > >/usr/obj this is confirmation I am where I want to be > > ls > >usr Hey, there is something there > > >chflags -R noschg * > >rm -rf * > >ls > > it's gone, great > > >cd /usr/src > >pwd > >/usr/src I am where I want to be > > >make cleandir whole bunch of action on the screen > >make cleandir run it again, yes you want to do that > > >make buildworld && make buildkernel KERNCONF=PRES1750-i386 > > >make installkernel KERNCONF=PRES1750-i386 > > >exit shut off script > >shutdown -r now > >at the boot menu, hit the <6> key you want to come up in single-user >mode, not multi-user. If you make a mistake, reboot and do it right. If >it went by too fast, use the spacebar to halt the boot process. > > > <6> >OK boot -s boots up but you're not done yet >Enter full pathname of shell or RETURN for /bin/sh: ># fsck -p ># mount -u / ># mount -a -t ufs ># swapon -a > ># script /home/script/buildworld/iw-20060228 ># cd /usr/src ># pwd am I where I want to be ># /usr/src yes, I am ># mergemaster -p run mergemaster in preinstall mode > ># make installworld hey, look at it go ># mergemaster -i >answer to remove the old temporary directory, you don't need it >anymore. >answer to everything mergemaster asks, I don't care that the >recommedation is to handle it later, if you don't know what you're >doing, doing anything other is just likely to screw you up in ways >you don't understand now, but you will later. > ># exit shutdown 'script' > ># shutdown -r now boot the system, come back up in multiuser mode. > >If you did everything right, you're done with the buildworld sequence. > >Again, DO NOT run this in a script. You're running the 'script' program. >If you don't want to sit and watch this go on, do something else. It >takes me about an hour and ten minutes to run it with an AMD64 3500+, >with an amd-tbird (1.3Mhz), it takes about two hours, with a 500Mhz >Pentium pIII, I run the buildworld and buildkernel part (and maybe the >installkernel, usually not) overnight. > >I hope I caught you in time. > >Don Dear Don, Amazing build sequence you got there. The single user boot seems interesting, but is it really necessary? Isn't it just for temporary security reasons? I run the script to save time. Basically I'd run the exact same chain of commands otherwise. The computer I want to do this on is, by the way, a Pentium 120 :) Thanks man, Yes you did catch me in time, Vaaf