Lines Matching defs:stage2
1813 /* Save the first sector of Stage2 in STAGE2_SECT. */
1872 else if (grub_memcmp ("--stage2=", arg, sizeof ("--stage2=") - 1) == 0)
1874 stage2_os_file = arg + sizeof ("--stage2=") - 1;
2056 /* Read the whole of Stage2 except for the first sector. */
2070 /* Set the "force LBA" flag for Stage2. */
2130 Stage2. */
2157 /* Set the "force LBA" flag for Stage2. */
2160 /* If REAL_CONFIG_FILENAME is specified, copy it to the Stage2. */
2221 /* Write the modified sectors of Stage2 to the disk. */
2295 "install [--stage2=STAGE2_FILE] [--force-lba] STAGE1 [d] DEVICE STAGE2 [ADDR] [p] [CONFIG_FILE] [REAL_CONFIG_FILE]",
2296 "Install STAGE1 on DEVICE, and install a blocklist for loading STAGE2"
2298 " look for the disk where STAGE2 was installed, rather than using"
2304 " this is the name of the true Stage 2) at boot time. If STAGE2 is a Stage"
2308 " for LBA mode. If the option `--stage2' is specified, rewrite the Stage"
3896 char stage2[64];
4010 else if (grub_memcmp ("--stage2=", arg, sizeof ("--stage2=") - 1) == 0)
4058 grub shell, since that affects `--stage2'. */
4080 grub_sprintf (stage2, "%s%s", prefix, "/stage2");
4084 /* Check if stage2 exists. */
4085 if (! check_file (stage2))
4110 grub_sprintf (config_filename, "%s%s", device, stage2);
4111 grub_strcpy (stage2, buffer);
4132 stage2,
4149 stage2,
4179 "setup [--prefix=DIR] [--stage2=STAGE2_FILE] [--force-lba] INSTALL_DEVICE [IMAGE_DEVICE]",
4188 " partition where GRUB images reside, specify the option `--stage2'"