Subject: Re: booting from CD (alone and with i386)?
To: Hubert Feyrer <hubert@feyrer.de>
From: Frank van der Linden <fvdl@netbsd.org>
List: port-amd64
Date: 04/04/2006 12:57:40
On Tue, Apr 04, 2006 at 12:26:16PM +0200, Hubert Feyrer wrote:
> Being able to boot both an i386 and an amd64 kernel would be nice.
> Im not sure what the implications for /boot are in that regard, but at the 
> very least adding (working...) support for running 'ls' from the 
> bootloader on an ISO9660 filesystem would be nice. (There used to be a 
> patch somewhere for that, but I didn't get that to work...)

In sys/arch/i386/stand, there are some Makefiles which define BOOT_ELF64
if $MACHINE is amd64:

Makefile.booters
pxeboot/Makefile
boot/Makefile.boot
bootxx/Makefile.bootxx

If you make that define unconditional, the i386 bootblocks should also
be able to load ELF64 binaries.

- Frank