On 01/15/2017 11:19 AM, John Andersen wrote:
On 01/15/2017 03:26 AM, Carlos E. R. wrote:
I no longer do it. Ever. Separate single disks, or virtualbox. He has separate single disks. Apparently not. He has multiple single disks, all of which are available for the trashing when grub is updated.
Yes and yes... :) That was the point. I have multiple single disks that are separate in the laptop. opensuse on /dev/sdb and win10 on /dev/sda. (Yes, we will eventually virtualize the win10 disk within linux, but I'm still kicking around whether to use virtualbox or KVM, (I've run vbox for years and years, but have recently been using KVM where there is hardware support, but I'm still making friends with all the Tap and VDE2 network bridge setup alternatives, etc.)) However, in the interim, there should be no reason why I can't spin both disks (well, sda is ssd), without having to worry about one overwriting the boot loader on the other. The problem is how the boot loader is being managed on Leap. If there is a change to the naming of the boot image, then a grub-mkconfig is required, but there is NEVER an excuse for updates to a running system triggering the INSTALL of a bootloader -- none. Whatever is doing this needs to be fixed. The system got booted somehow, and a `zypper up -r update` should not start writing to any MBR at all. (I take John's warnings to heart here -- that could scramble things royally, I just dodged the 'fried win10' bullet by virtue of a chainload entry and by the grace of god that bytes 3-63 in the MBR didn't prevent a win10 boot) The purpose of the post was to find out "What in opensuse Leap is triggering the 'grub-install' -- and how to prevent it from ever happening again?" I've straightened out the device.map file (the existence of which is dubious at best with grub2), but what are the other hooks in Leap that could trigger a `grub-install` and where can I get rid of them? I'll have more time this weekend to look, but if anybody else knows, I'd appreciate the knowledge. -- David C. Rankin, J.D.,P.E.