search for: install_partit

Displaying 8 results from an estimated 8 matches for "install_partit".

2010 Dec 21
2
[PATCH] chain.c32: support chainloading GRUB2 core.img
...to 0x270) */ struct grub_stage2_patch_area { - /* 0x0 to 0x205 */ + /* 0x0 - 0x205 */ char unknown[0x206]; /* 0x206: compatibility version number major */ uint8_t compat_version_major; /* 0x207: compatibility version number minor */ uint8_t compat_version_minor; - /* 0x208: install_partition variable */ + /* 0x208 - 0x20b: install_partition variable */ struct { /* 0x208: sub-partition in sub-partition part2 */ uint8_t part3; @@ -1624,83 +1637,146 @@ int main(int argc, char *argv[]) uint8_t drive; } __attribute__ ((packed)) install_partition; - /* 0x20c:...
2010 Jun 30
1
(no subject)
...rncmp(argv[i], "grldr=", 6)) { opt.loadfile = argv[i] + 6; opt.grldr = true; @@ -1585,13 +1593,43 @@ int main(int argc, char *argv[]) if (opt.grub) { regs.ip = 0x200; /* jump 0x200 bytes into the loadfile */ - /* GRUB's stage2 wants the partition number in the install_partition + /* + * GRUB's stage2 wants the partition number in the install_partition * variable, located at memory address 0x8208. - * We only need to change the value of memory address 0x820a too: - * -1: whole drive (default) + * + * It looks very similar to t...
2010 Jun 28
0
[PATCH] chain.c32: pass partition number to stage2 of Grub Legacy
Grub Legacy stage2 will read the install_partition variable from memory address 0x8208. We only need to change the value at 0x820a to the correct partition number: -1: whole drive (default) 0-3: primary partitions 4-*: logical partitions Signed-off-by: Gert Hulselmans <gerth at zytor.com> --- com32/modules/chain.c | 13 ++++++...
2010 Jun 30
0
[PATCH] chain.c32: add grubcfg= for passing an alternative config
...(argv[i], "grldr=", 6)) { opt.loadfile = argv[i] + 6; opt.grldr = true; @@ -1585,13 +1593,43 @@ int main(int argc, char *argv[]) if (opt.grub) { regs.ip = 0x200; /* jump 0x200 bytes into the loadfile */ - /* GRUB''s stage2 wants the partition number in the install_partition + /* + * GRUB''s stage2 wants the partition number in the install_partition * variable, located at memory address 0x8208. - * We only need to change the value of memory address 0x820a too: - * -1: whole drive (default) + * + * It looks very similar...
2010 Jun 30
2
[PATCH] chain.c32: add menu support to grub loader
...;f', + (drive & 0x7), + partition); + len = strlen(path); + strncpy (path + len, opt.grubmenu, 89 - len); + memcpy(data[ndata].data + 0x217, path, 89); + memset(path + 88, '\0', 1); /* to be safe*/ + } + /* GRUB's stage2 wants the partition number in the install_partition * variable, located at memory address 0x8208. * We only need to change the value of memory address 0x820a too: -- 1.7.1
2010 Jan 09
2
chain.c32 add grldr= command for Grub4dos
$ git log -p commit d8c5e94803fa01f0d52475a50b69681ad3135700 Author: Gert Hulselmans <kimmik999999 at yahoo.co.uk> Date: Sat Jan 9 15:30:49 2010 +0100 chain.c32: Add grldr= command for Grub4dos grldr of Grub4dos wants the partition number in DH: 0xff: whole drive 0-3: primary partitions 4-*: logical partitions diff --git a/com32/modules/chain.c
2010 Jul 26
5
[RFC/PATCH] New chainloading functionality
This patch introduces extra functionality to chain.c, mainly with reference to BPB adjustments, but not only that. It expects 3 small patches I sent earlier (they are included for easy reference, patches 1-3/4). The changes introduced are: 1) file and boot sector use separate options to control load address and jump address (if applicable). Options are as described below: *
2012 Nov 06
50
chain.c32 (and partiter) updates v2
This is a bit updated set of chain.c32 changes that simplifies a few things (and in partiter part), fixes few minor issues and adds a few new features. Details are in the following commits, below is the summary and pull details at the end. Shao - any chance to peek over them ? Most of those are relatively simple changes and well tested, though of course something might have slipped my attention.