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

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



On Fri 15 Dec 2017 at 16:31:54 +0100, Pascal Hambourg wrote:

> Le 15/12/2017 à 14:42, Richard Owlett a écrit :
> > 
> > I have 2 similar problems which wouldn't be solved by disabling os-prober.
> > 
> > The common characteristic is wishing to probe all operating systems
> > residing on on a specific physical device. I multi-boot. There may be an
> > OS on any number of mounted devices (flash drives etc) which I do not
> > wish to probe.
> 
> I do not know any way to tell os-prober to limit the set of probed devices.
> I guess you could edit /etc/grub.d/30_os-prober to filter out unwanted
> devices from os-prober output with grep or so.

GRUB_OS_PROBER_SKIP_LIST? It's mentioned in /etc/grub.d/30_os-prober
and /usr/sbin/grub-mkconfig.

-- 
Brian.


Reply to: