From owner-freebsd-stable Thu Jul 25 20:56:55 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B24FA37B400 for ; Thu, 25 Jul 2002 20:56:51 -0700 (PDT) Received: from mail.reppep.com (www.reppep.com [64.81.19.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E9DD43E4A for ; Thu, 25 Jul 2002 20:56:47 -0700 (PDT) (envelope-from pepper@reppep.com) Received: from [64.81.19.109] (g4.reppep.com [64.81.19.109]) by mail.reppep.com (Postfix) with ESMTP id E4BE817B8C; Thu, 25 Jul 2002 23:02:46 -0400 (EDT) Mime-Version: 1.0 X-Sender: pepper@mail.reppep.com Message-Id: In-Reply-To: <20020710175614.7F3535D03@ptavv.es.net> References: <20020710175614.7F3535D03@ptavv.es.net> Date: Thu, 25 Jul 2002 23:54:13 -0400 To: "Kevin Oberman" From: Chris Pepper Subject: Re: 4.6-RELEASE -> 4.5-RELENG Cc: Paulo Fragoso , Alexandr Kovalenko , Gavin Atkinson , Michiel Boland , freebsd-stable@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 10:56 AM -0700 2002/07/10, Kevin Oberman wrote: > > Date: Wed, 19 Jun 2002 15:14:00 -0300 (BRT) >> From: Paulo Fragoso >> Sender: owner-freebsd-stable@FreeBSD.ORG >> >> On Wed, 19 Jun 2002, Alexandr Kovalenko wrote: >> >> > You also should update your MAKEDEV script with mergemaster. >> > And to sh MAKEDEV all again. Device minor/major numbers was changed with >> > ata(4) MFC. >> >> After we redid all following this steps: >> >> make buildworld >> make installworld >> make buildkernel KERNCONF=KERNEL6 >> make installkernel KERNCONF=KERNEL6 >> mergemaster -a >> cd /dev && sh MAKEDEV all >> >> and restoring some files from backup (group, rc.firewall, etc), all >> is working fine. > >I keep posting this because people keep building new systems in a >dangerous way. > >Doing the installworld before building and booting the new kernel is >very risky. It will almost always make no difference, but, on the >rare occasions when it does, it will leave you with a VERY sick >system and the only way out maybe to re-install FreeBSD from scratch. > >While there are a few niggles, the proper sequence is: >mergemaster -p (This is NEW!) >make buildworld >make kernel KERNCONF=your_kernel_conf_name Why not 'make installkernel' per ? Is there a problem with the Handbook? >REBOOT into single-user mode! (This does not mean drop to single user.) Why? Is this to test installkernel -- which I don't see in your list? I've been using "shutdown now" successfully for a while now; much easier not to have to remount & set the TZ before installkernel, then rebooting (multi) to test the kernel, then "shutdown now" to installworld. Chris Pepper >fsck -p >mount -a -t ufs >cd /usr/src >make installworld >mergemaster -i (-a is a bit inadequate unless you go back and clean up > the mess it often leaves before going to multi-user > mode.) >exit (to multi-user mode) -- Chris Pepper: Rockefeller University: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message