[syslinux] 64/32 auto select

H. Peter Anvin hpa at zytor.com
Wed Dec 28 09:04:37 PST 2005


Velu Erwan wrote:
>>
> You can use a x86 kernel on a x86_64 architecture (but you will not use 
> it with its full capabilities) but you can't use a x86_64 kernel on a 
> x86 system.
> It could make senses to use a "ARCH" flag somewhere in syslinux.
> We can try to find the "lm (long mode)" flags on the cpu capabilities 
> for checking if it's a x86_64 capable system and then decide which 
> configuration files you needs to downloads or using an "arch=" option as 
> Jun Okajima suggest.
> H. Peter Anvin ? Does it make sense for you ?
> 

No, the right thing is to have a com32 program which can pick a kernel 
for you.  It's not just a matter of i386 versus x86-64; you could also, 
say, want an i386 kernel versus an i686 kernel versus a PAE kernel.

	-hpa




More information about the Syslinux mailing list