[root tip] [How To] Primer on handling a grub package update

Some clues for @linux-aarhus in verifying whether the grub-install command should target the device or the partition in a BIOS/GPT system.

I just updated a BIOS/GPT system with Stable 2023-12-23 followed immediately by the grub-install before rebooting. I did some prep work prior to installing the updates. Here was the response to

lsblk -o path,pttype,parttypename | grep -e ‘dos’ -e ‘BIOS’
/dev/sda1 gpt BIOS boot

Also, Gparted showed /dev/sda1 as an 8.00 MiB partition having file system grub2 core.img and flag bios_grub.

I was prepared to target the partition sda1 in the grub-install command if the device sda failed. But then I came across this page –

It describes both BIOS/GPT and BIOS/MBR systems and seems to lump both cases specifically stating “The device is the disk (not a partition)” for the grub-install command. So that is what I did.
It worked. No errors, no problems.