check if grub is installed on a disk

This is useful before server restart, if you have changed HDD some time ago.

dd bs=512 count=1 if=/dev/sda 2>/dev/null| strings

or

file -s /dev/sda

Leave a Reply

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