# grub-mkdevicemap - make a device map file automatically - man(8) - [phpMan]

[_GRUB-MKDEVICEMAP_(8)](https://www.chedong.com/phpMan.php/man/GRUB-MKDEVICEMAP/8/markdown)                System Administration Utilities               [_GRUB-MKDEVICEMAP_(8)](https://www.chedong.com/phpMan.php/man/GRUB-MKDEVICEMAP/8/markdown)

## NAME
       grub-mkdevicemap - make a device map file automatically

## SYNOPSIS
       **grub-mkdevicemap **[_OPTION_]...

## DESCRIPTION
       Generate a device map file automatically.

### -n --no-floppy
              do not probe any floppy drive

### -s --probe-second-floppy 

### -m --device-map
              use FILE as the device map [default=/boot/grub/device.map]

### -h --help
              display this message and exit

### -V --version
              print version information and exit

### -v --verbose
              print verbose messages

## REPORTING BUGS
       Report bugs to <<bug-grub@gnu.org>>.

## SEE ALSO
       [**grub-probe**(8)](https://www.chedong.com/phpMan.php/man/grub-probe/8/markdown)

       The  full  documentation for **grub-mkdevicemap **is maintained as a Texinfo manual.  If the **info**
       and **grub-mkdevicemap **programs are properly installed at your site, the command

              **info grub-mkdevicemap**

       should give you access to the complete manual.

GRUB 2.12-1ubuntu7.3                         March 2025                          [_GRUB-MKDEVICEMAP_(8)](https://www.chedong.com/phpMan.php/man/GRUB-MKDEVICEMAP/8/markdown)
