Le 14/01/2017 à 11:31, Hans a écrit :
Am Samstag, 14. Januar 2017, 11:17:57 CET schrieb Pascal Hambourg:
What do you mean exactly ?
update-grub does not "edit any hard drive", it just regenerates the file
/boot/grub/grub.cfg.
Yes, and it does it on BOTH physical harrdrives.
So, I do not want, that an upgrade of the kali-kernel touches the grub
installation of the first harddrive with debian and vice versa.
It doesn't, unless you share the two systems share the same /boot/grub.
Ii does! Booting from the second drive and updating grub, also changes the
first harddrive (both are sata drives).
Debian's GRUB does not do this by default.
/etc/kernel/postinst.d/zz-update-grub just runs update-grub.
update-grub is just a script which runs grub-mkconfig and writes its
output to /boot/grub/grub.cfg.
I don't know about Kali's GRUB.