From owner-freebsd-stable@FreeBSD.ORG Thu Oct 16 05:34:06 2003 Return-Path: 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 6EBA716A4B3; Thu, 16 Oct 2003 05:34:06 -0700 (PDT) Received: from bmyster.com (loqtis.bmyster.com [65.162.190.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3896E43FE5; Thu, 16 Oct 2003 05:34:04 -0700 (PDT) (envelope-from misterb@bmyster.com) Received: from loqtis.bmyster.com (localhost.bmyster.com [127.0.0.1]) by bmyster.com (8.12.10/8.12.10) with ESMTP id h9GCYLva030442; Thu, 16 Oct 2003 08:34:22 -0400 (EDT) Received: (from www@localhost) by loqtis.bmyster.com (8.12.10/8.12.10/Submit) id h9GCYGgu030441; Thu, 16 Oct 2003 08:34:16 -0400 (EDT) X-Authentication-Warning: loqtis.bmyster.com: www set sender to misterb@bmyster.com using -f Received: from 207.5.142.198 (SquirrelMail authenticated user mrb) by bmyster.com with HTTP; Thu, 16 Oct 2003 08:34:16 -0400 (EDT) Message-ID: <55492.207.5.142.198.1066307656.squirrel@bmyster.com> Date: Thu, 16 Oct 2003 08:34:16 -0400 (EDT) From: "Brent Bailey" To: questions@freebsd.org User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal cc: stable@freebsd.org Subject: updating system help ??!!?? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: misterb@bmyster.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2003 12:34:06 -0000 Im running several Freebsd systems some are rather old FBSD 4.6 but most are at the 4.8rc1 level. anyway does the below procedure for updating a Freebsd system seem like the correct way for both older and newer systems ?? any and all help is very appreciated Thank you ########################### Backup /etc: # cp -Rp /etc /etc.old Run mergemaster in pre-buildworld mode to update files essential to the success of buildworld and installworld: # /usr/sbin/mergemaster -p Remove old /usr/obj: # cd /usr/obj # chflags -R noschg * # rm -rf * Compile the sources: # cd /usr/src # make buildworld Compile and install the new kernel: # cd /usr/src (if you've changed directories after the last step) # make kernel KERNCONF=YOURKERNEL If you don't already have a custom kernel configuration, use GENERIC in place of YOURKERNEL above. If you wish to create a custom kernel, see the Building a Custom Kernel cheat sheet. Drop to single user mode: # shutdown now Or reboot into single user mode: # shutdown -r now ··· Ok boot -s ··· # fsck -p # mount -u / # mount -a -t ufs # swapon -a # adjkerntz -i Install the new system binaries: # cd /usr/src # make installworld Update system configuration files: # /usr/sbin/mergemaster -v -w 132 (eliminate '-w 132' if 132x43 video mode is not activated) Update /dev In most cases, mergemaster will realize when it is necessary to update the devices, and will offer to complete it automatically. If you've declined mergemaster's offer, perform these steps to update /dev manually: # cd /dev # /bin/sh MAKEDEV all Update /stand: This step is included for completeness. It can be safely omitted. # cd /usr/src/release/sysinstall # make clean # make all install Reboot to multi-user mode: # reboot ##################################### -- Brent Bailey CCNA Bmyster LLC Computer Networking and Webhosting Network Engineer, Webmaster, President http://www.bmyster.com 207-247-8330