GRUB2 upgrade trigger

Jacek Konieczny jajcus at jajcus.net
Mon Oct 29 10:48:39 CET 2012


On Mon, Oct 29, 2012 at 10:36:36AM +0200, Elan Ruusamäe wrote:
> that would do, if you want to upgrade grub automatically on upgrade, 
> maybe just leave sysadmin deal with it when he has time?

Yes, that is the right way.

> 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?

It is not.

> (i assume after grub-install i can rm -rf /boot and system is still 
> bootable (except menu config is missing :) ? ))

No. The system won't boot, you would get a GRUB rescue mode prompt, as
grub won't be able to read its modules from /boot/grub

grub-install installs the core image in the bootloader area (between MBR
and first part, on the dedicated BIOS boot partition, on the EFI system
partition, etc.). The core image contains only the modules needed to
access the /boot partition, and everything else (not only the menu
configuration) is loaded from the /boot partition (or the / partition if
there is no dedicated /boot).

Greets,
        Jacek


More information about the pld-devel-en mailing list