20

The device map file /boot/grub/device.map is in this format:

(disk) /dev/device

So, for example, on a system with a floppy and a single SCSI disk, the file would look like this:

(fd0) /dev/fd0
(hd0) /dev/sda

I 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?

muru
  • 207,228

2 Answers2

26

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-mkdevicemap

This will put device.map into the /boot/grub directory.

Fuzzy Analysis
  • 408
  • 1
  • 7
  • 12
0

Carefully modify /proc/sys/kernel/printk

Set the values to the following (tabs not spaces)

-1  -1  -1  -1

This locks all kernel log levels to zero.

This really cleans up a desktop boot sequence. Not recommended for servers which need these logs.

Birkensox
  • 383