Bug#560415: Patch for blacklisting devices

Carlos Zuniga carlos.zun at gmail.com
Thu Mar 11 22:50:39 UTC 2010


Hi, I have the same problem, update-grub adds a backup partition to
the grub.cfg.

Even if the os-prober gets a blacklisting option, I think the grub
config updater should also be able to blacklist devices that the user
explicitly don't want to be added.

I've made a small patch for the 30_os-prober script that allows you to
blacklist devices by adding an option in /etc/default/grub
As an example, to blacklist sda3 and sda1:

GRUB_DEV_BLACK_LIST="/dev/sda3 /dev/sda1"


Hope it can be useful.

-- 
Linux Registered User # 386081
A menudo unas pocas horas de "Prueba y error" podrán ahorrarte minutos
de leer manuales.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 30_os-prober.patch
Type: text/x-patch
Size: 755 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100311/e3a0d8f8/attachment.bin>


More information about the Pkg-grub-devel mailing list