mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-21 02:15:11 -04:00
[grub] add Grub 2.0 support
* Also moves secondary Grub boot record as a resource * Also fix a typo in README.txt and update signtool path * Closes #340
This commit is contained in:
parent
306191fb85
commit
b3947fc026
17 changed files with 105 additions and 758 deletions
|
@ -231,6 +231,7 @@ typedef struct {
|
|||
#define IS_WINPE(r) (((r&WINPE_MININT) == WINPE_MININT)||((r&WINPE_I386) == WINPE_I386))
|
||||
#define IS_EFI(r) ((r.has_efi) || (r.has_win7_efi))
|
||||
#define IS_REACTOS(r) (r.reactos_path[0] != 0)
|
||||
#define IS_GRUB(r) ((r.has_grub2) || (r.has_grub4dos))
|
||||
|
||||
typedef struct {
|
||||
char label[192]; /* 3*64 to account for UTF-8 */
|
||||
|
@ -251,6 +252,7 @@ typedef struct {
|
|||
BOOL has_old_vesamenu;
|
||||
BOOL has_efi_syslinux;
|
||||
BOOL has_grub4dos;
|
||||
BOOL has_grub2;
|
||||
BOOL has_kolibrios;
|
||||
BOOL uses_minint;
|
||||
BOOL is_bootable_img;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue