grub-devel
[Top][All Lists]
Advanced

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

Re: Issues with grub.cfg


From: Harshit Jain
Subject: Re: Issues with grub.cfg
Date: Tue, 12 Apr 2011 14:08:00 +0530



2011/4/12 Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden>
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));

Now, I am getting following error :
error: out of memory
error: you need to load the multiboot kernel first


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



_______________________________________________
Grub-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/grub-devel




--
Harshit Jain,
B.Tech Part IV,
Computer Science and Engineering,
IT-BHU, Varanasi.
Work Email: address@hidden 


reply via email to

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