From owner-freebsd-bugs@FreeBSD.ORG Wed May 18 19:50:07 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 379A916A4D0 for ; Wed, 18 May 2005 19:50:07 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A619843D8D for ; Wed, 18 May 2005 19:50:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4IJo2RR049902 for ; Wed, 18 May 2005 19:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4IJo2ap049901; Wed, 18 May 2005 19:50:02 GMT (envelope-from gnats) Resent-Date: Wed, 18 May 2005 19:50:02 GMT Resent-Message-Id: <200505181950.j4IJo2ap049901@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Wes Groleau Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A97716A4CE for ; Wed, 18 May 2005 19:46:40 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8A2E43DC7 for ; Wed, 18 May 2005 19:46:39 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j4IJkYuB094252 for ; Wed, 18 May 2005 19:46:34 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j4IJkYpY094241; Wed, 18 May 2005 19:46:34 GMT (envelope-from nobody) Message-Id: <200505181946.j4IJkYpY094241@www.freebsd.org> Date: Wed, 18 May 2005 19:46:34 GMT From: Wes Groleau To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: bin/81218: 5.4 dist archives not backwards compatible X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2005 19:50:07 -0000 >Number: 81218 >Category: bin >Synopsis: 5.4 dist archives not backwards compatible >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed May 18 19:50:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Wes Groleau >Release: 4.11 >Organization: Ain't no organization here! >Environment: I am not at the machine, but it has a Pentium Pro (i386) >Description: i386/5.4-RELEASE split archives cammot be unpacked by a 4.11 installation. Repeats: "Unknown file type 'x', extracted as normal file" until error count limit is reached. (I had a 4.9 system, and due to various issues, am forced to use the method below to upgrade. This method worked for 4.11, but 4.11 was not able to get 5.4) >How-To-Repeat: Let /tmp/Download be a directory on a machine running FreeBSD 4.11 This machine has no internet access. On an iMac with dialup,
NFS Mount the directory at /BSD
cd /BSD
wget --mirror --passive-ftp ftp://ftp2.freebsd.org/......../5.4-RELEASE
On the FreeBSD machine (it has two disks), dismount all partitions of the target disk, NOT the disk booted. In my case /dev/ad1s1 was booted and ad1s0 is the one I want to upgrade
mkdir /UPGRADE
mount /dev/ad0s1a /UPGRADE
mount /dev/ad0s1e /UPGRADE/var
mount /dev/ad0s1f /UPGRADE/tmp
mount /dev/ad0s1g /UPGRADE/usr
cd /tmp/Download/......../5.4-RELEASE/base
Look in install.sh and copy the cat base.?? | tar (et cetera) command. Use /UPGRADE for the destination.
Watch it fail. >Fix: Include in the tools directory binary versions of tar that can execute on earlier O.S. installations but are capable of unpacking these archives. Or document command-line options for making it work on earlier systems (if possible) >Release-Note: >Audit-Trail: >Unformatted: