GRUB2 upgrade trigger

Elan Ruusamäe glen at pld-linux.org
Mon Oct 29 09:36:36 CET 2012


On 28.10.2012 23:03, Jacek Konieczny wrote:
> Any idea what to use instead?
> Maybe an option in /etc/sysconfig/grub?
>
> Would this be ok:
>
> in /etc/sysconfig/grub:
> GRUB_INSTALL=/sbin/grub-install '(hd0)'
that would do, if you want to upgrade grub automatically on upgrade, 
maybe just leave sysadmin deal with it when he has time? as this time 
/boot and MBR, EFI, etc is not upgraded (not even partially) when rpm 
package is updated.

as if your system boots, you don't usually want to touch it. grub maybe 
upgraded on system (as rpm), and that you're not having that exact 
version in boot partition, is not exactly a disaster, or is it? (i 
assume after grub-install i can rm -rf /boot and system is still 
bootable (except menu config is missing :) ? ))

-- 
glen



More information about the pld-devel-en mailing list