/boot/grub/device.map is missing on Ubuntu 14.04
Olivia Zamora
The device map file /boot/grub/device.map is in this format:
(disk) /dev/deviceSo, for example, on a system with a floppy and a single SCSI disk, the file would look like this:
(fd0) /dev/fd0
(hd0) /dev/sdaI try to display its content :
cat /boot/grub/device.map I get this error: No such file or directory
Is it renamed or it is a new hierarchy of Linux system?
1 Answer
The device map is not installed by default with grub2. You can create a device map by typing the following into your console:
sudo grub-mkdevicemapThis will put device.map into the /boot/grub directory.
5