Searched defs:stage1 (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/boot/installboot/i386/
H A Dinstallboot.h89 unsigned char stage1[SECTOR_SIZE]; /* partition boot block */ member in struct:_ib_data
H A Dinstallboot.c146 /* read the stage1 file from filesystem */
149 read(fd, dest->stage1, SECTOR_SIZE) != SECTOR_SIZE) {
150 (void) fprintf(stderr, gettext("cannot read stage1 file %s\n"),
411 * set up data for case stage1 is installed as MBR
425 data->stage1 + STAGE1_BPB_OFFSET, STAGE1_BPB_SIZE);
429 bcopy(device->mbr + STAGE1_SIG, data->stage1 + STAGE1_SIG,
433 *((uint16_t *)(data->stage1 + STAGE1_STAGE2_SIZE)) =
443 *((uint64_t *)(data->stage1 + STAGE1_STAGE2_LBA)) =
446 *((uint64_t *)(data->stage1 + STAGE1_STAGE2_LBA)) =
454 uuid_generate(data->stage1
1224 char *stage1 = NULL; local
[all...]
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_activate.c809 * To be able to boot EFI labeled disks, stage1 needs to be written
812 * In the trivial case of a whole-disk vdev we always write stage1 into
874 be_do_installboot_helper(zpool_handle_t *zphp, nvlist_t *child, char *stage1, argument
952 stage1, stage2, diskname);
956 stage1, stage2, diskname);
1219 char stage1[MAXPATHLEN]; local
1261 (void) snprintf(stage1, sizeof (stage1), "%s%s",
1266 (void) snprintf(stage1, sizeof (stage1), "
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dbuiltins.c4572 char stage1[64];
4733 /* Check if stage1 exists. If the user doesn't specify the option
4740 grub_sprintf (stage1, "%s%s", prefix, "/stage1");
4741 if (! check_file (stage1))
4745 grub_sprintf (stage1, "%s%s", prefix, "/stage1");
4746 if (! check_file (stage1))
4752 grub_sprintf (stage1, "%s%s", prefix, "/stage1");
4519 char stage1[64]; local
[all...]

Completed in 73 milliseconds