grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] build 32-bit Linux loader as `linux', rename legacy loader t


From: phcoder
Subject: Re: [PATCH] build 32-bit Linux loader as `linux', rename legacy loader to `linux16'
Date: Mon, 30 Mar 2009 16:35:52 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

Pavel Roskin wrote:
On Sat, 2009-03-28 at 13:53 +0100, Robert Millan wrote:

Here's a patch to rename `linux' to `linux16' and build the 32-bit loader as
simply `linux'.
Committed.

Just for your information.  With the old loader, booting an x86_64
kernel in qemu emulating i386 would result in a kernel message:

"This kernel requires an x86-64 CPU but only detected an i686 CPU
Unable to boot - please use a kernel appropriate for your CPU"

With the new loader, the kernel hands without showing any messages.  It
can be a kernel bug.  Linux 2.6.29, current GRUB.

I confirm. I suppose that this check and message is bypassed with 32-bit loading mode. IMO grub2 should provide an equivlent of this check. We already have cpuid code. Does anyone know how to determine if kernel is i386 or amd64?

--

Regards
Vladimir 'phcoder' Serbinenko




reply via email to

[Prev in Thread] Current Thread [Next in Thread]