From owner-freebsd-stable Wed Jul 10 10:56:24 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 05C5637B401 for ; Wed, 10 Jul 2002 10:56:21 -0700 (PDT) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5380243E64 for ; Wed, 10 Jul 2002 10:56:20 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP id GQF37091; Wed, 10 Jul 2002 10:54:48 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Postfix) with ESMTP id 7F3535D03; Wed, 10 Jul 2002 10:56:14 -0700 (PDT) To: Paulo Fragoso Cc: Alexandr Kovalenko , Gavin Atkinson , Michiel Boland , freebsd-stable@FreeBSD.ORG Subject: Re: 4.6-RELEASE -> 4.5-RELENG In-reply-to: Your message of "Wed, 19 Jun 2002 15:14:00 -0300." <20020619150606.J97503-100000@mirage.nlink.com.br> Date: Wed, 10 Jul 2002 10:56:14 -0700 From: "Kevin Oberman" Message-Id: <20020710175614.7F3535D03@ptavv.es.net> 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 > 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 REBOOT into single-user mode! (This does not mean drop to single user.) 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) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message