We recently upgraded to PVE4 and migrated all containers to LVM-thin drives. We've been removing some old kernels and on one of them grup-update was executed and I noticed that grub is checking all drives, including the containers one.
I understand grub config is related to disabling /etc/grub.d/30_os-prober or hacking it somehow (like in https://ubuntuforums.org/showthread.php?t=1412654) to only check the drives you want.
Before getting to that I was wondering if there are any other cleaner methods. Thanks.
Found Debian GNU/Linux (7.7) on /dev/sdb2
/usr/sbin/grub-probe: error: disk `lvmid/QtJiw0-wsDf-A2zh-2v2y-7JVA-NhPQ-TfjQlN/phCDlj-1XAM-VZnl-RzRy-g3kf-eeUB-dBcgmb' not found.
Found Debian GNU/Linux (8.5) on /dev/mapper/pve-vm--115--disk--1
done
/usr/sbin/grub-probe: error: disk `lvmid/QtJiw0-wsDf-A2zh-2v2y-7JVA-NhPQ-TfjQlN/phCDlj-1XAM-VZnl-RzRy-g3kf-eeUB-dBcgmb' not found.
Found Debian GNU/Linux (8.5) on /dev/mapper/pve-vm--115--disk--1
done
I understand grub config is related to disabling /etc/grub.d/30_os-prober or hacking it somehow (like in https://ubuntuforums.org/showthread.php?t=1412654) to only check the drives you want.
Before getting to that I was wondering if there are any other cleaner methods. Thanks.