Current Grub boot status

When working on a remote Linux server, with no (easy) way to fix things if a reboot goes wrong, I was looking for ways to investigate the current Grub configuration.  One Anthony of HantsLUG suggested using boot_info_script, which turns out to be a very useful tool for this.

It creates output that starts like this:

                  Boot Info Script 0.60    from 17 May 2011

============================= Boot Info Summary: ===============================

 => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector
    1 of the same hard drive for core.img. core.img is at this location and
    looks for (md0)/grub on this drive.
 => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sdb and looks at sector
    1 of the same hard drive for core.img. core.img is at this location and
    looks for (md0)/grub on this drive.

and then continues with more details about the Grub settings.

Just what I needed to reassure me that the server will (probably) boot if I restart it.

Leave a Reply

Your email address will not be published. Required fields are marked *