Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #189920

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

From Brian <ad44@cityscape.co.uk>
Newsgroups linux.debian.user
Subject Re: update-grub: how to avoid scanning all devices
Date 2017-12-15 13:50 +0100
Message-ID <uWXB7-4F1-7@gated-at.bofh.it> (permalink)
References <uWXrs-4zS-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri 15 Dec 2017 at 13:18:17 +0100, Steve Keller wrote:

> 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.  Scanning all devices
> is annoying because
> 
> * all disks that are normally idle and that have spun down (e.g. my
>   backup drives) have to spin up.  This wears off my disks
>   unnecessarily and also causes long delays.
>   
> * update-grub finds a number of operating systems that I don't want in
>   the GRUB config, e.g. on logical volumes for virtual machines,
>   backup images of old machines, etc.
>   
> I haven't found anything on this topic in the documentation.

Purge os-prober.

-- 
Brian.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

update-grub: how to avoid scanning all devices "Steve Keller" <keller.steve@gmx.de> - 2017-12-15 13:40 +0100
  Re: update-grub: how to avoid scanning all devices Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-15 13:50 +0100
    Re: update-grub: how to avoid scanning all devices Richard Owlett <rowlett@cloud85.net> - 2017-12-15 14:50 +0100
      Re: update-grub: how to avoid scanning all devices Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-15 16:40 +0100
        Re: update-grub: how to avoid scanning all devices Brian <ad44@cityscape.co.uk> - 2017-12-15 17:50 +0100
          Re: update-grub: how to avoid scanning all devices Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-15 18:00 +0100
            Re: update-grub: how to avoid scanning all devices Brian <ad44@cityscape.co.uk> - 2017-12-15 18:20 +0100
              Re: update-grub: how to avoid scanning all devices Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-15 20:40 +0100
                Re: update-grub: how to avoid scanning all devices Brian <ad44@cityscape.co.uk> - 2017-12-15 23:50 +0100
  Re: update-grub: how to avoid scanning all devices Brian <ad44@cityscape.co.uk> - 2017-12-15 13:50 +0100
    Re: update-grub: how to avoid scanning all devices "Steve Keller" <keller.steve@gmx.de> - 2018-01-03 18:10 +0100

csiph-web