[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issues with grub.cfg
From: |
Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: |
Re: Issues with grub.cfg |
Date: |
Tue, 12 Apr 2011 09:05:24 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110402 Iceowl/1.0b2 Icedove/3.1.9 |
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
signature.asc
Description: OpenPGP digital signature