On Wed, 2011-12-07 at 11:40 +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 05.12.2011 22:31, Chris Carr wrote: > > ### BEGIN /etc/grub.d/30_otheros ### > There is no /etc/grub.d/30_otheros distributed by either upstream or > Debian which leads me to conclution that you created one yourself and it > contains the bug you report.
The comment contains: # This entry automatically added by the Debian installer for a non-linux OS # on /dev/sde1 which suggests that D-I created it and the bug is there, no? Looks like in particular it comes from grub-installer although the root bug might be in os-prober: $ cat grub-installer/grub-installer ... if [ -s $tmpfile ] ; then case $grub_version in [...] grub2) if ! $chroot $ROOT which os-prober >/dev/null 2>&1; then cat > $ROOT/etc/grub.d/30_otheros << EOF #!/bin/sh exec tail -n +3 \$0 EOF cat $tmpfile >> $ROOT/etc/grub.d/30_otheros chmod +x $ROOT/etc/grub.d/30_otheros update_grub # propagate 30_otheros to grub.cfg fi ;; esac rm -f $tmpfile fi ... Chris said: > I can edit grub.cfg manually and it works fine, > but every time the package is updated, grub.cfg is regenerated and it > is detected incorrectly again. You can/should edit /etc/grub.d/30_otheros instead. Ian. -- Ian Campbell Hit the monkey to win $20(*)! * knghtbrd gets out his mallet. * knghtbrd plants it firmly on DannyS' head. * knghtbrd will take his $20 now. =D -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org