How do I regenerate a GRUB device.map file?

Updated -

After hardware or hardware settings changed, you may sometimes need to force GRUB to rescan devices. To have GRUB rescan all of the devices and regenerate the /boot/grub/device.map, do the following:

  1. If the device.map already exists, move it to device.map.bak

     mv /boot/grub/device.map /boot/grub/device.map.bak
    

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In