CmdID

CmdID / Commands

grub-probe

Probe device information for a particular path or device. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Get GRUB filesystem module for a path

sudo grub-probe --target fs /boot/grubIdentify

Get the system device containing a path

sudo grub-probe --target device /boot/grubIdentify

Get GRUB disk name for a system device

sudo grub-probe --target drive /dev/sdX --deviceIdentify

Get filesystem UUID

sudo grub-probe --target fs_uuid /boot/grubIdentify

Get filesystem label

sudo grub-probe --target fs_label /boot/grubIdentify

Get MBR partition type code(two hexadecimal digits)

sudo grub-probe --target msdos_parttype /dev/sdXIdentify

Probe using a custom device map

sudo grub-probe --target drive /boot/grub --device-map path/to/custom_device.mapIdentify