On Tue, 26 Oct 2010 10:35:44 +0300 Andrei Popescu wrote:
> AFAICT there is currently no way to tell update-grub that some (or
> even all) of the partitions found by os-prober are not needed in the
> menu.

Well, at least you could edit /etc/grub.d/30_os-prober.
Line 35 reads:

     OSPROBED="`os-prober | tr ' ' '^' | paste -s -d ' '`"

Run os-prober and determine which lines of its output you want to
include or exclude.
Examples:
only include the line that contains sda3:

     OSPROBED="`os-prober | grep sda3 | tr ' ' '^' | paste -s -d ' '`"

exclude the line that contains sdb4:

     OSPROBED="`os-prober | grep --invert-match sdb4 | tr ' ' '^' | paste -s -d 
' '`"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101026115211.48897a9d.shiems...@kpnplanet.nl

Reply via email to