Lines Matching defs:device

25 #include <grub/device.h>
65 * device. It also needs to know the initial block number of
256 /* Open the root device and the destination device. */
268 grub_util_info ("setting the root device to `%s'", root);
480 grub_util_warn (_("If this is unexpected, the device should be carefully erased to remove all traces of the filesystem before GRUB can be installed"));
645 "the root device is on a RAID array or LVM volume"));
775 if (file->device->disk->id != dest_dev->disk->id)
779 = grub_util_devname_to_ofpath (grub_util_biosdisk_get_osdev (file->device->disk));
792 grub_util_info ("boot device path %s", boot_devpath);
846 {"device-map", 'm', N_("FILE"), 0,
847 N_("Use FILE as the device map [default=%s]"), 0},
848 {"root-device", 'r', N_("DEV"), 0,
849 N_("Use DEV as the root device [default=guessed]"), 0},
901 char *device;
1001 arguments->device = xstrdup(arg);
1011 fprintf (stderr, "%s", _("No device is specified.\n"));
1029 DEVICE must be an OS device (e.g. /dev/sda)."),
1091 dest_dev = get_device_name (arguments.device);
1094 /* Possibly, the user specified an OS device file. */
1095 dest_dev = grub_util_get_grub_dev (arguments.device);
1099 fprintf (stderr, _("Invalid device `%s'.\n"), arguments.device);
1104 grub_util_info ("transformed OS device `%s' into GRUB device `%s'",
1105 arguments.device, dest_dev);
1111 grub_util_info ("Using `%s' as GRUB device", dest_dev);
1119 grub_util_error (_("invalid root device `%s'"), arguments.root_dev);
1131 grub_util_info ("guessing the root device failed, because of `%s'",
1133 grub_util_error (_("cannot guess the root device. Specify the option "
1134 "`--root-device'"));
1136 grub_util_info ("guessed root device `%s' and root_dev `%s' from "
1160 if (arguments.device[0] == '/')
1161 devicelist = grub_util_raid_getmembers (arguments.device, 1);
1185 current_device = arguments.device;
1206 free (arguments.device);