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
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel