From owner-freebsd-questions@FreeBSD.ORG Wed Jan 24 18:49:06 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0B05216A401 for ; Wed, 24 Jan 2007 18:49:06 +0000 (UTC) (envelope-from dds@aueb.gr) Received: from mx-out-02.forthnet.gr (mx-out.forthnet.gr [193.92.150.103]) by mx1.freebsd.org (Postfix) with ESMTP id 7CAC913C43E for ; Wed, 24 Jan 2007 18:49:05 +0000 (UTC) (envelope-from dds@aueb.gr) Received: from mx-av-01.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) by mx-out-02.forthnet.gr (8.13.8/8.13.8) with ESMTP id l0OHIgt1016591 for ; Wed, 24 Jan 2007 19:18:42 +0200 Received: from mx-in-04.forthnet.gr (mx-in-04.forthnet.gr [193.92.150.163]) by mx-av-01.forthnet.gr (8.13.7/8.13.7) with ESMTP id l0OHIfTP017356 for ; Wed, 24 Jan 2007 19:18:41 +0200 Received: from [192.168.136.22] (ppp197-7.adsl.forthnet.gr [62.1.146.7]) by mx-in-04.forthnet.gr (8.13.7/8.13.7) with ESMTP id l0OHIb6Q004012 for ; Wed, 24 Jan 2007 19:18:38 +0200 Authentication-Results: mx-in-04.forthnet.gr from=dds@aueb.gr; sender-id=neutral; spf=neutral Message-ID: <45B794E5.4070709@aueb.gr> Date: Wed, 24 Jan 2007 19:18:29 +0200 From: Diomidis Spinellis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061211 SeaMonkey/1.0.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit Subject: Upgrading from 4 to 6 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: Wed, 24 Jan 2007 18:49:06 -0000 With the EOL of FreeBSD 4.X coming close, I'm in the process of upgrading to 6.2. According to http://www.freebsd.org/releases/5.4R/migration-guide.html#UPGRADE "Probably the most straightforward approach is that of ``backup everything, reformat, reinstall, and restore user data''." However, things are not that simple, because a system typically has many configured files, other than user data. I'm currently setting up a new 6.2 system on a VMWare host trying to mirror the existing system. After a clean installation of 6.2, I also installed ports and some CPAN modules. I then configured the apache configuration files, the sendmail local host file, the named masters and configuration file, /etc/inetd.conf, /etc/rc.conf, and the imap certificates. Just before the switchoover, I'll also also need to copy the users parts of /etc/passwd* and /etc/group, the mail aliases, the httpd logs, the user mailboxes in /var/mail, and, of course, /home. However, I have an uneasy feeling I may miss copying/adjusting some files. Although I've documented the changes I made to the original system from 2002 onward, the documentation is a 1000-line file and I can't be sure it is 100% complete or that I will spot all required changes. Is there a checklist or a procedure for restoring a 4.X system configuration to a system running 6.X? Am I missing any obvious files or directories I should copy over? Diomidis Spinellis - http://www.spinellis.gr