Bug#720373: grub-common: mask detected drives from os-probe

Dean Hamstead dean at fragfest.com.au
Wed Aug 21 06:19:21 UTC 2013


Package: grub-common
Version: 2.00-15
Severity: wishlist

Dear Maintainer,

The os-prober utility is called via 30_os-prober to find operating systems. Which is handy.

On the down side, LVM volumes created for KVM virtual machines are detected and added to grub- which is annoying.

ie

--
Found Debian GNU/Linux (jessie/sid) on /dev/mapper/VmStorage-fai
Found Debian GNU/Linux (jessie/sid) on /dev/mapper/VmStorage-uwsgi1
Found Debian GNU/Linux (jessie/sid) on /dev/mapper/VmStorage-uwsgi2_snapshot
Found Debian GNU/Linux (jessie/sid) on /dev/mapper/VmStorage-uwsgi3_snapshot
done
--


It would very handy to be able to configure a mask for drives that we dont care for grub to list.
>From the example above, masking out /dev/mapper/* or /dev/mapper/VmStorage*

Perhaps an entry in /etc/defaults/grub ?

Dean


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-common depends on:
ii  gettext-base        0.18.3-1
ii  libc6               2.17-92
ii  libdevmapper1.02.1  2:1.02.77-5
ii  libfreetype6        2.4.9-1.1
ii  libfuse2            2.9.2-4
ii  liblzma5            5.1.1alpha+20120614-2
ii  zlib1g              1:1.2.8.dfsg-1

Versions of packages grub-common recommends:
ii  os-prober  1.63

Versions of packages grub-common suggests:
ii  console-setup  1.94
ii  desktop-base   7.0.3
pn  grub-emu       <none>
pn  multiboot-doc  <none>
pn  xorriso        <none>

-- no debconf information



More information about the Pkg-grub-devel mailing list