17.02.19 19:00 - Andrei Borzenkov:
17.02.2019 20:03, Hagen Buliwyf пишет:
17.02.19 17:06 - Hagen Buliwyf:
17.02.19 16:42 - Andrei Borzenkov:
17.02.2019 18:30, Hagen Buliwyf пишет:
Both openSUSE Leap 15.0 and openSUSE Tumbleweed install GRUB2 bootloader files (on an UEFI system) in "\EFI\opensuse".
Consulting the GRUB2 manual shows that "grub-install --target=x86_64-efi --bootloader-id="name_of_directory" would allow for different names (like "opensuse" and "tumbleweed").
How can i change this behavior and make each OS installing its bootloader files in its own directory?
Change GRUB_DISTRIBUTOR in /etc/default/grub on one system. Default is the first word of distribution name. Unfortunately IIRC it is no more possible to change via YaST bootloader module (i.e. during installation).
Thank you very much for your quick response. That was my first thought as well but it did not work:
I renamed \EFI\opensuse to \EFI\oS.
Then i set (in Leap) GRUB_DISTRIBUTOR=oSL15 and (in Tumbleweed) GRUB_DISTRIBUTOR=oSTW and ran grub2-mkconfig -o /boot/grub2/grub.cfg on both systems.
Finally i did grub2-install on Tumbleweed and got \EFI\opensuse.
In /etc/default/grub it says: "Uncomment to set your own custom distributor. If you leave it unset or empty, the default policy is to determine the value from /etc/os-release" so if that would work then shouldn't there have been two different directories from the very beginning?
Regards
Hagen
Well that was only half the truth:
I just did a grub2-install under openSUSE Leap 15 and that did indeed produce a directory \EFI\osl15 (as expected).
openSUSE Leap 15.0 => grub2 2.02-lp150.13.16.1 openSUSE Tumbleweed => grub2 2.02-39.1
So is this a bug in Tumbleweed?
I just tested and it works correctly here with current TW (system was installed in the morning for some other purpose).
Thank you for testing. Did you test on "bare metal" or in a VM? I'm running Tumbleweed on "bare metal". zypper dup reports no updates available. So my system should have "the same SW versions" as yours. Any ideas what i have done wrong and what else i could try? Regards Hagen -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org