On Tue, 26 Oct 2010 12:00:03 +0200, Sjoerd Hiemstra wrote: > 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 ' '`"
(First message seems to be queued forever in cyberspace, sorry if you will see this twice) This works perfectly man! Thanks! The first "Vista" partition (sda2) seems to be a weird windows ntfs stuff. When i boot it i get a weird windows error screen. Never saw somethings like that. Maybe related to the black magic of the recovery stuff. The second "vista" partition (sda4) is the recovery stuff of Compaq. When i boot it i get the Recovery interface to backup/restore the system. Now need to find a way to fix: FATAL ERROR: Bad primary partition 3: Partition ends in the final partial cylinder Honesty, i worry more about that error, as i dunno the consequence this could have. Kind regards, David Van Mosselbeen -- 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/rfdyo.14765$pr5.3...@newsfe08.ams2