Date: Mon, 12 Jul 2004 16:54:32 -0700 From: Sean McNeil <sean@mcneil.com> To: George Mitchell <george@m5p.com> Cc: freebsd-amd64@freebsd.org Subject: Re: How to convert from i386 to amd64 Message-ID: <1089676471.52161.1.camel@server.mcneil.com> In-Reply-To: <200407122340.i6CNeMBS015756@m5p.com> References: <200407122340.i6CNeMBS015756@m5p.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2004-07-12 at 16:40, George Mitchell wrote: > > 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? I've never made a release CD, so I'm not sure. Hopefully someone else can offer experience in doing that.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1089676471.52161.1.camel>