On 01/15/2017 12:17 AM, Andrei Borzenkov wrote:
Please show content of /etc/default/grub_installdevice.
(after that we can get to 'why in the heck did an update to grub require a grub-install on a working system to begin with?' there was no kernel update or any change that would warrant a reinstall of grub to the drive)
If you are not going to install updated grub, you can just as well lock it to prevent further updates.
$ l /etc/default total 64 drwxr-xr-x 2 root root 4096 Jan 14 20:50 . drwxr-xr-x 131 root root 12288 Jan 17 18:19 .. -rw-r--r-- 1 root root 2385 Oct 18 07:51 cdrecord -rw-r--r-- 1 root root 1757 Dec 28 19:50 grub -rw-r--r-- 1 root root 1392 Oct 28 14:18 grub.old -rw-r--r-- 1 root root 40 Dec 19 12:07 grub_installdevice -rw-r--r-- 1 root root 1757 Oct 18 05:10 nss -rw-r--r-- 1 root root 1870 Oct 7 12:52 passwd -rw-r--r-- 1 root root 1374 Jan 5 11:18 rmt -rw-r--r-- 1 root root 2197 Oct 18 07:51 rscsi -rw-r--r-- 1 root root 1210 Jan 5 11:18 star -rw-r--r-- 1 root root 313 Nov 30 07:18 su -rw-r--r-- 1 root root 118 Nov 7 13:48 useradd -rw-r--r-- 1 root root 1155 Oct 30 11:11 vm-install and $ cat /etc/default/grub_installdevice /dev/sda1 /dev/sda activate generic_mbr (WTF?) that shouldn't be there. Thank you Andrei. Why do we have such a file? That is dangerous as heck. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org