All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Cc: Seth Goldberg <seth.goldberg@oracle.com>
Subject: Re: Issues with grub.cfg
Date: Tue, 12 Apr 2011 09:05:24 +0200	[thread overview]
Message-ID: <4DA3F9B4.8020001@gmail.com> (raw)
In-Reply-To: <BANLkTikRZbvY6BNWGj=gT=qPQUP9ywu+dw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 976 bytes --]

On 12.04.2011 08:48, Harshit Jain wrote:
>
> 1) GRUB shell is able to detect the label 'rpool' for booting
> Openindiana. However, on selecting menuentry named 'Solaris' computer
> reboots without giving any output.
This one is because of the bug in 32-bit Opensolaris kernel. I thought
they already fixed it. Following patch will ignore bogus values in
multiboot header:

=== modified file 'grub-core/loader/i386/multiboot_mbi.c'
--- grub-core/loader/i386/multiboot_mbi.c       2010-09-29 21:51:12 +0000
+++ grub-core/loader/i386/multiboot_mbi.c       2010-12-18 13:31:58 +0000
@@ -101,7 +101,7 @@
                         "unsupported flag: 0x%x", header->flags);
     }
 
-  if (header->flags & MULTIBOOT_AOUT_KLUDGE)
+  if (0)//(header->flags & MULTIBOOT_AOUT_KLUDGE)
     {
       int offset = ((char *) header - buffer -
                    (header->header_addr - header->load_addr));



-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

  reply	other threads:[~2011-04-12  7:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-12  6:48 Issues with grub.cfg Harshit Jain
2011-04-12  7:05 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2011-04-12  8:38   ` Harshit Jain
2011-04-12 23:41   ` Seth Goldberg
2011-04-13  8:27     ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-04-22 21:01       ` Seth Goldberg
2011-04-12  7:10 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-04-12  7:29   ` Harshit Jain
2011-04-12  7:33     ` Vladimir 'φ-coder/phcoder' Serbinenko

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=4DA3F9B4.8020001@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    --cc=seth.goldberg@oracle.com \
    /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.