我更新了grub如下:
$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
File descriptor 3 (pipe:[240340]) leaked on vgs invocation. Parent PID 45665: grub2-probe
File descriptor 9 (pipe:[208755]) leaked on vgs invocation. Parent PID 45665: grub2-probe
File descriptor 3 (pipe:[240340]) leaked on vgs invocation. Parent PID 45665: grub2-probe
File descriptor 9 (pipe:[208755]) leaked on vgs invocation. Parent PID 45665: grub2-probe
File descriptor 3 (pipe:[240340]) leaked on vgs invocation. Parent PID 45718: grub2-probe
File descriptor 9 (pipe:[208755]) leaked on vgs invocation. Parent PID 45718: grub2-probe
File descriptor 3 (pipe:[240340]) leaked on vgs invocation. Parent PID 45718: grub2-probe
File descriptor 9 (pipe:[208755]) leaked on vgs invocation. Parent PID 45718: grub2-probe
Found Ubuntu 22.10 (22.10) on /dev/mapper/vgubuntu-Data
Found Ubuntu 23.04 (23.04) on /dev/mapper/vgubuntu-UbuntuRoot
Adding boot menu entry for UEFI Firmware Settings ...
done
- 它发现
Ubuntu 22.10 (22.10) on /dev/mapper/vgubuntu-Data
,我如何指示避免在特定设备中查找内核和操作系统/dev/mapper/vgubuntu-Data
?