needless OS probing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Expired
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: grub2
Running "update-grub" takes a very long time as it scans through every configured LVM chroot I have:
# update-grub
Generating grub.cfg ...
Found Debian background: moreblue-
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Warning: update-grub_lib is deprecated, use grub-mkconfig_lib instead
Found memtest86+ image: /memtest86+.bin
Found Ubuntu 6.06 LTS (6.06) on /dev/mapper/
Found Ubuntu 6.06 LTS (6.06) on /dev/mapper/
Found Debian GNU/Linux (4.0) on /dev/mapper/
Found Ubuntu 8.04 (8.04) on /dev/mapper/
Found Ubuntu 8.04 (8.04) on /dev/mapper/
Found Ubuntu 8.10 (8.10) on /dev/mapper/
Found Ubuntu 8.10 (8.10) on /dev/mapper/
Found Ubuntu 9.04 (9.04) on /dev/mapper/
Found Ubuntu 9.04 (9.04) on /dev/mapper/
Found Ubuntu karmic (development branch) (9.10) on /dev/mapper/
Found Ubuntu karmic (development branch) (9.10) on /dev/mapper/
Found Debian GNU/Linux (squeeze/sid) on /dev/mapper/
Found Debian GNU/Linux (squeeze/sid) on /dev/mapper/
Found Debian GNU/Linux (squeeze/sid) on /dev/mapper/
done
There should be a way to either disable os-prober in /etc/grub.d/ or a way to blacklist regex device names.
ProblemType: Bug
Architecture: amd64
Date: Mon Jun 8 15:17:31 2009
DistroRelease: Ubuntu 9.10
Package: grub2 1.96+20090523-
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: grub2
Uname: Linux 2.6.30-7-generic x86_64
Changed in grub2 (Ubuntu): | |
assignee: | nobody → kimani (kimani1976) |
Changed in grub2 (Ubuntu): | |
assignee: | kimani (kimani1976) → nobody |
status: | New → Confirmed |
Changed in grub2 (Ubuntu): | |
importance: | Undecided → Wishlist |
OS probing can be "disabled" deleting the file /etc/grub. d/30_os- prober, but I think that a blacklist file should be used instead.