Lines Matching defs:drive

80 /* The BIOS drive map.  */
308 /* Exchage SAVED_DRIVE with the mapped drive. */
847 char *drive = arg;
850 /* Get the drive number from DRIVE. */
851 if (! set_device (drive))
855 device = skip_to (0, drive);
877 "Specify DEVICE as the actual drive for a BIOS drive DRIVE. This command"
1536 " is a drive, or in the \"bootloader\" area if DEVICE is a FFS partition."
1597 set_root (char *root, unsigned long drive, unsigned long part)
1603 grub_sprintf (root, "(hd%d,%d)\n", drive - 0x80, pc_slice);
1606 drive - 0x80, pc_slice, bsd_part + 'a');
1617 unsigned long drive;
1647 for (drive = 0; drive < 8; drive++)
1649 current_drive = drive;
1661 grub_sprintf(root, "(fd%d)", drive);
1664 grub_printf (" (fd%d)\n", drive);
1673 for (drive = 0x80; drive < 0x88; drive++)
1681 grub_sprintf(device, "(hd%d%s", drive - 0x80, argpart);
1704 current_drive = drive;
1705 while (next_partition (drive, 0xFFFFFF, &part, &type,
1725 set_root(tmproot, drive, part);
1893 grub_printf ("drive 0x%x: C/H/S = %d/%d/%d, "
1909 "Print the information for a drive DRIVE. In the grub shell, you can"
1910 " set the geometry of the drive arbitrarily. The number of the cylinders,"
2443 " be installed on a\ndifferent drive than the drive where"
2446 /* Set the boot drive. */
2453 for buggy BIOSes which don't pass boot drive correctly. Instead,
2589 /* If the drive where the Stage 2 resides is the same as
2591 drive number. */
2771 " the booting drive. The Stage 2 will be loaded at address ADDR, which"
2799 /* Get the drive number. */
2825 "Probe I/O ports used for the drive DRIVE."
3044 /* Get the drive number for TO_DRIVE. */
3050 /* Get the drive number for FROM_DRIVE. */
3089 "Map the drive FROM_DRIVE to the drive TO_DRIVE. This is necessary"
3091 " OS resides at a non-first drive."
3334 /* Get the drive and the partition. */
3338 /* The drive must be a hard disk. */
3429 /* Get the drive and the partition. */
3433 /* The drive must be a hard disk. */
3708 /* Network drive. */
3713 /* Hard disk drive. */
3726 /* Floppy disk drive. */
3750 /* Call set_device to get the drive and the partition in ARG. */
3811 " bootloaders), the BSD drive-type (for booting BSD kernels using"
3815 " how many BIOS drive numbers are on controllers before the current"
4564 /* Point to the string of the installed drive/partition. */
4566 /* Point to the string of the drive/parition where the GRUB images
4584 auto void sprint_device (int drive, int partition);
4585 auto int embed_stage1_5 (char * stage1_5, int drive, int partition);
4606 void sprint_device (int drive, int partition)
4609 (drive & 0x80) ? 'h' : 'f',
4610 drive & ~0x80);
4626 int embed_stage1_5 (char *stage1_5, int drive, int partition)
4630 sprint_device (drive, partition);
4710 /* Mount the drive pointed by IMAGE_PTR. */
4713 /* If the drive/partition where the images reside is specified,
4714 get the drive and the partition. */
4802 /* Don't embed a drive number unnecessarily. */
4815 that they didn't pass a booting drive correctly. It turned out,
4816 however, stage1 could trash a booting drive when checking LBA support,
4819 drive or not. If the problem still exists, it would be necessary to