search for: grub_legacy_stage2

Displaying 1 result from an estimated 1 matches for "grub_legacy_stage2".

2010 Dec 21
2
[PATCH] chain.c32: support chainloading GRUB2 core.img
...ll normally be 0.97) */ char version_string[5]; - /* 0x217: config filename */ + /* 0x217 - 0x26f: config filename */ char config_file[89]; - /* 0x270: start of code (after jump from 0x200) */ - char codestart[1]; - } __attribute__ ((packed)) *stage2; + } __attribute__ ((packed)) *grub_legacy_stage2; - if (data[ndata].size < sizeof(struct grub_stage2_patch_area)) { - error - ("The file specified by grub=<loader> is to small to be stage2 of GRUB Legacy.\n"); - goto bail; - } + /* Layout of GRUB2 core.img file (from byte 0x0 to 0x25c) */ + struct grub2_...