Lines Matching refs:partition

29 #include <grub/partition.h>
69 * of a partition.
275 grub_partition_t container = dest_dev->disk->partition;
283 /* Unlike root_dev, with dest_dev we're interested in the partition map even
292 /* NetBSD and OpenBSD subpartitions have metadata inside a partition,
317 if (dest_dev->disk->partition &&
318 strcmp(dest_dev->disk->partition->partmap->name, "sunpc") == 0)
320 if (dest_dev->disk->partition->parent &&
321 strcmp(dest_dev->disk->partition->parent->partmap->name, "msdos") == 0)
323 dest_partmap = dest_dev->disk->partition->partmap;
325 * sunpc embed function will replace dest_dev->disk->partition with boot slice partition
332 else if (dest_dev->disk->partition &&
333 strcmp(dest_dev->disk->partition->partmap->name, "msdos") == 0 &&
334 (dest_dev->disk->partition->msdostype == GRUB_PC_PARTITION_SUNIXOS
335 || dest_dev->disk->partition->msdostype == GRUB_PC_PARTITION_LEGACY_SUNIXOS))
350 /* sunpc embed function will replace dest_dev->disk->partition with boot slice partition */
362 container = dest_dev->disk->partition;
365 if (dest_dev->disk->partition->parent->number > 3)
367 /* inside an extended partition. set force_mbr */
370 grub_util_warn("Installing GRUB2 into an extended partition... "
386 grub_util_warn (_("Attempting to install GRUB to a disk with multiple partition labels or both partition label and filesystem. This is not supported yet."));
413 grub_util_error (_("%s appears to contain a %s partition map which isn't known to "
463 /* Copy the partition table. */
474 grub_util_warn (_("Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea."));
481 grub_util_warn (_("Additionally, multiple partition schemes have been detected. This combination is not supported and GRUB cannot be installed"));