From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 12 23:44:54 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D30FC16A4CE for ; Mon, 12 Jul 2004 23:44:54 +0000 (GMT) Received: from mailhost.m5p.com (209-162-215-52.dq1sn.easystreet.com [209.162.215.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 888C043D31 for ; Mon, 12 Jul 2004 23:44:54 +0000 (GMT) (envelope-from george@m5p.com) Received: from m5p.com (mailhost.m5p.com [10.100.0.247]) by mailhost.m5p.com (8.12.11/8.12.11) with ESMTP id i6CNiqPV035204 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=OK) for ; Mon, 12 Jul 2004 16:44:53 -0700 (PDT) Received: (from defang@localhost) by m5p.com (8.12.11/8.12.11/Submit) id i6CNeNf9035135 for ; Mon, 12 Jul 2004 16:40:23 -0700 (PDT) X-Authentication-Warning: ashmont.m5p.com: defang set sender to using -f Received: from m5p.com (ssh.m5p.com [2001:418:3fd::fb]) by mailhost.m5p.com (MIMEDefang) with ESMTP id i6CNeMxh035133; Mon, 12 Jul 2004 16:40:23 -0700 (PDT) Received: (from george@localhost) by m5p.com (8.12.11/8.12.11/Submit) id i6CNeMBS015756; Mon, 12 Jul 2004 16:40:22 -0700 (PDT) Date: Mon, 12 Jul 2004 16:40:22 -0700 (PDT) From: George Mitchell Message-Id: <200407122340.i6CNeMBS015756@m5p.com> To: george+freebsd@m5p.com, sean@mcneil.com In-Reply-To: <1089675245.33747.10.camel@server.mcneil.com> X-Scanned-By: MIMEDefang 2.43 cc: freebsd-amd64@freebsd.org Subject: Re: How to convert from i386 to amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 23:44:54 -0000 > I started with an i386 installation on my machine and recompiled for > amd64. Here is what I did: > > Made a kernel config file from generic one in /sys/amd64/conf. I called > mine AMD64. > > make TARGET_ARCH=amd64 buildworld > make TARGET_ARCH=amd64 KERNCONF=AMD64 buildkernel > make TARGET_ARCH=amd64 KERNCONF=AMD64 installkernel > cp /libexec/ld-elf.so.1 /libexec/ld-elf32.so.1 > reboot into single user mode. > make TARGET_ARCH=amd64 installworld > > This was really a big pain and I'd recommend installing from a CD. I'm planning to try this install on a Compaq Presario laptop, which is known to require a kernel patch to keep it from powering off when it probes the keyboard controller. Under i386, I built a patched kernel on another i386 machine and wrote a CD-ROM with the new kernel. If I make TARGET_ARC=amd64 in my amd64 kernel build directory and then put that kernel onto an amd64 install CD-ROM, do you think I will be able to go from there? > Best of luck. I'm very happy with my amd64 system and hope you get > things setup to your satisfaction. > > Sean Thanks for the good wishes! -- George