grub2: Invoking grub2-probe
1
1 29 Invoking grub2-probe
1 ***********************
1
1 The program 'grub2-probe' probes device information for a given path or
1 device.
1
1 grub-probe --target=fs /boot/grub
1 grub-probe --target=drive --device /dev/sda1
1
1 'grub2-probe' must be given a path or device as a non-option
1 argument, and also accepts the following options:
1
1 '--help'
1 Print a summary of the command-line options and exit.
1
1 '--version'
1 Print the version number of GRUB and exit.
1
1 '-d'
1 '--device'
1 If this option is given, then the non-option argument is a system
1 device name (such as '/dev/sda1'), and 'grub2-probe' will print
1 information about that device. If it is not given, then the
1 non-option argument is a filesystem path (such as '/boot/grub'),
1 and 'grub2-probe' will print information about the device
1 containing that part of the filesystem.
1
1 '-m FILE'
1 '--device-map=FILE'
1 Use FILE as the device map (⇒Device map) rather than the
1 default, usually '/boot/grub2/device.map'.
1
1 '-t TARGET'
1 '--target=TARGET'
1 Print information about the given path or device as defined by
1 TARGET. The available targets and their meanings are:
1
1 'fs'
1 GRUB filesystem module.
1 'fs_uuid'
1 Filesystem Universally Unique Identifier (UUID).
1 'fs_label'
1 Filesystem label.
1 'drive'
1 GRUB device name.
1 'device'
1 System device name.
1 'partmap'
1 GRUB partition map module.
1 'abstraction'
1 GRUB abstraction module (e.g. 'lvm').
1 'cryptodisk_uuid'
1 Crypto device UUID.
1 'msdos_parttype'
1 MBR partition type code (two hexadecimal digits).
1 'hints_string'
1 A string of platform search hints suitable for passing to the
1 'search' command (⇒search).
1 'bios_hints'
1 Search hints for the PC BIOS platform.
1 'ieee1275_hints'
1 Search hints for the IEEE1275 platform.
1 'baremetal_hints'
1 Search hints for platforms where disks are addressed directly
1 rather than via firmware.
1 'efi_hints'
1 Search hints for the EFI platform.
1 'arc_hints'
1 Search hints for the ARC platform.
1 'compatibility_hint'
1 A guess at a reasonable GRUB drive name for this device, which
1 may be used as a fallback if the 'search' command fails.
1 'disk'
1 System device name for the whole disk.
1
1 '-v'
1 '--verbose'
1 Print verbose messages.
1