[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#511514: initramfs-tools: unconditionally runs lilo when both lilo and grub2 are installed



On Sun, Jan 11, 2009 at 08:51:30PM +0100, maximilian attems wrote:
> ok can be added, but where does the grub binary hide on this box?
> should be probably exchanged anyway with
>  [ -x "$(command -v grub)" ]

There isn't one.

You could look for one of these, maybe:

/usr/bin/grub-mkimage
/usr/bin/grub-editenv
/usr/bin/grub-mkrescue
/usr/sbin/grub-setup
/usr/sbin/grub-emu
/usr/sbin/grub-install
/usr/sbin/update-grub
/usr/sbin/grub-set-default
/usr/sbin/upgrade-from-grub-legacy
/usr/sbin/update-grub2



Reply to: