All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] build 32-bit Linux loader as `linux', rename legacy loader to `linux16'
Date: Wed, 1 Apr 2009 15:33:01 +0200	[thread overview]
Message-ID: <20090401133301.GF27958@thorin> (raw)
In-Reply-To: <200903310106.25852.okuji@enbug.org>

On Tue, Mar 31, 2009 at 01:06:25AM +0900, Yoshinori K. Okuji wrote:
> I don't know any reliable way. Some candidates:
> 
> - The ramdisk max value. On 32-bit, initrd may not be loaded onto over 2GB. 
> This is hard to change in Linux, so we can expect that this will not change. 
> On 64-bit, currently, the max is 4GB-1. It is likely that this value will not 
> change, but who knows.

This could be possible, but doesn't sound very reliable.

> - The long mode panic message. This exists only for x86_64. But the message 
> might change some day.

Actually, it seems to have changed recently.  Doesn't seem too reliable
either.

> - Otherwise, we could probe some opcodes and see if 64-bit opcodes are used. 
> This would be error-prone.

Same here :-(

However, this is not as large a problem as it seems.  Most users install GRUB
to disk through their distribution, which already provides the right Linux
builds in /boot.  It could be a problem with removable media, but:

  - It's easy to solve this when you have a "cpuid" command and know what
    each of the files you put in the CD is.  This also allows for a more
    user-friendly error message than a Linux panic.

  - GRUB is rarely used there anyway (most GNU/Linux distros opt for
    isolinux)

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



      parent reply	other threads:[~2009-04-01 13:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-06 19:57 [PATCH] linux/gfxterm integration Robert Millan
2009-03-08 13:01 ` Robert Millan
2009-03-08 13:09   ` Robert Millan
2009-03-08 13:35   ` Vesa Jääskeläinen
2009-03-13 19:44     ` Robert Millan
2009-03-13 20:10       ` David Miller
2009-03-18 10:25       ` new Linux loader (Re: [PATCH] linux/gfxterm integration) Robert Millan
2009-03-18 13:09         ` phcoder
2009-03-21 17:50           ` Robert Millan
2009-03-22 16:00             ` [PATCH] build 32-bit Linux loader as `linux', rename legacy loader to `linux16' Robert Millan
2009-03-28 12:53               ` Robert Millan
2009-03-30 13:32                 ` Pavel Roskin
2009-03-30 14:35                   ` phcoder
2009-03-30 16:06                     ` Yoshinori K. Okuji
2009-03-30 21:51                       ` Pavel Roskin
2009-04-01 13:23                         ` Robert Millan
2009-04-01 14:04                           ` Pavel Roskin
2009-04-01 14:22                             ` Robert Millan
2009-04-01 13:33                       ` Robert Millan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090401133301.GF27958@thorin \
    --to=rmh@aybabtu.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.