search for: find_logical_partition

Displaying 2 results from an estimated 2 matches for "find_logical_partition".

2008 Apr 24
1
[PATCH] chain.c32: fix booting from logical partitions
Booting from a logical partition failed with the "Requested logical partition not found" error due to a wrong test for partition signature in find_logical_partition(). Signed-off-by: Sergey Vlasov <vsu at altlinux.ru> --- com32/modules/chain.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/com32/modules/chain.c b/com32/modules/chain.c index b790bd0..ec92cd0 100644 --- a/com32/modules/chain.c +++ b/com32/modules/chain.c @@ -22...
2007 Oct 17
3
Adding a "boot from local hard disk" option to syslinux menu, booted from USB
...primary partition\n"); error(logs); strcat(logrc, logs); goto endloop; } } else { /* Boot a logical partition */ sprintf(logs, "whichpart > 4 Boot a logical partition \n"); printf(logs); strcat(logrc, logs); nextpart = 5; partinfo = find_logical_partition(whichpart, mbr, NULL, NULL); if ( !partinfo || partinfo->ostype == 0 ) { //error(); sprintf(logs, "Requested logical partition not found\n"); error(logs); strcat(logrc, logs); goto endloop; } } /* Do the actual chainloading */ if ( partinfo )...