[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: update-grub: how to avoid scanning all devices



Le 15/12/2017 à 13:18, Steve Keller a écrit :
When calling update-grub, it scans all devices for operating systems
to put into the GRUB config.  It even mounts all block devices to do
the scan.  I'd like to avoid this and let it scan only a number of
configured directories, in my case only /boot.

This is due to os-prober invoked by update-grub. To avoid it, you can either
- remove the os-prober package
- or add GRUB_DISABLE_OS_PROBER=true in /etc/default/grub.


Reply to: