From owner-freebsd-questions Tue Jan 15 21: 3:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 72BFD37B417 for ; Tue, 15 Jan 2002 21:02:57 -0800 (PST) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Postfix) with ESMTP id 129345D13; Tue, 15 Jan 2002 21:02:57 -0800 (PST) To: "Doug Reynolds" Cc: "Brian T. Schellenberger" , "freebsd-questions@FreeBSD.ORG" , "Rodrigo A B Freire" Subject: Re: Newbie: 4.4-stable, how to? - And the CVSupIT bug. In-reply-to: Your message of "Tue, 15 Jan 2002 20:04:04 EST." <20020116010211.1AFBC48425@wastegate.net> Date: Tue, 15 Jan 2002 21:02:57 -0800 From: "Kevin Oberman" Message-Id: <20020116050257.129345D13@ptavv.es.net> 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 > From: "Doug Reynolds" > Date: Tue, 15 Jan 2002 20:04:04 -0500 > > On Mon, 14 Jan 2002 09:49:53 -0800, Kevin Oberman wrote: > > >> cvsup > >> cd /usr/src > >> make buildworld KERNCONF=your-custom-kernel > >> make kernel KERNCONF=your-custom-kernel > >> reboot to single-user mode (boot -s ; fsck -u ; mount -a -t ufs ; swapon) > >> cd /usr/src > >> make installworld KERNCONF=your-custom-kernel > >> mergemaster > >> > >> reboot. > > > >Close and probably functional, but I would suggest: > >cvsup > >cd /usr/src > >make buildworld > >make kernel KERNCONF=your-custom-kernel > >reboot to single-user mode (boot -s ; fsck -p ; mount -a -t ufs) > >cd /usr/src > >make installworld > >mergemaster > >reboot. > > you can also type "shutdown now" instead of rebooting into single user > mode b4 installing the world- it saves from running fsck, mounting etc > etc etc While you can do a great many things in FreeBSD, this one is NOT a good idea. The point of the reboot is to load the new kernel and make sure it will boot before installing the world. an 'fsck -p' takes about 2 seconds and 'mount -a -t ufs' takes a bit less. Once you have installed world, if the new kernel won't work you system might not run properly with the old kernel and backing out the world install is a major pain. The instructions in UPDATING were written to provide a safe, fairly easy way to update a system. Think carefully of what you are doing before diverging from them. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message