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:
-
If the
device.map
already exists, move it todevice.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, tools, and much more.