On Sun, Jan 11, 2009 at 07:07:46PM +0000, Clint Adams wrote: > Package: initramfs-tools > Version: 0.92o > > This will keep lilo from overwriting the mbr when do_bootloader = no, > at least.
if do_bootloader is set it is always respected, unless grub is not found. > diff -ur initramfs-tools-0.92o.orig/update-initramfs > initramfs-tools-0.92o/update-initramfs > --- initramfs-tools-0.92o.orig/update-initramfs 2008-09-15 > 05:48:38.000000000 -0400 > +++ initramfs-tools-0.92o/update-initramfs 2009-01-11 14:04:07.703082128 > -0500 > @@ -233,7 +233,7 @@ > { > # if both lilo and grub around, figure out if lilo needs to be run > if [ -x /sbin/grub ] || [ -e /boot/grub/menu.lst ] \ > - || [ -x /usr/sbin/grub ]; then > + || [ -x /usr/sbin/grub ] || [ -e /boot/grub/grub.cfg ]; then > if [ -e /etc/lilo.conf ] && [ -x /sbin/lilo ]; then > [ -r "${KPKGCONF}" ] && \ > do_b=$(awk '/^do_bootloader/{print $3}' "${KPKGCONF}") ok can be added, but where does the grub binary hide on this box? should be probably exchanged anyway with [ -x "$(command -v grub)" ] -- maks -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org