On 30/10/2020 23.02, Robin Klitscher wrote:
On 29/10/2020 21:49, Carlos E. R. wrote:
..............................................
So:
1) Change "GRUB_DISTRIBUTOR=..." to something different on every installation. 2) Force YaST bootloader module to write ALL the files again, on every install. And the trick to do this is changing one second the timeout.
Why changing the timeout does the trick I do not know, but it does the trick. It does need to be so for grub files, but not for ESP files. They could add a tick to force write of all files instead, but...
And the trick to do it on each of your systems is the mount bind and chroot I described - otherwise, you have to boot each of them and run yast as described. Whatever is easier for you.
OK; I finally got around to trying the procedure you outlined, booted to my Leap 15.2-1 installation and mounting, binding and chroot-ing into the others. All went well for the booted system, but in chroot to the others I got an error output "No valid EFI partition". So I backed out by undoing all that I'd done so far.
You missed the step to mount it. You have to mount the root and the EFI to their *relative* places: [root] |--[/boot/efi] | \----/opensuse | |--[/home] | +--[/mnt] | |\ | | -[other root] | | |\ | | | \-"/boot" | | | \___[another EFI] <====== | | | | | \--[another /home] | | | \--[ 3rd root]] Example: md /mnt md /mnt/leap152 mount /dev/disk/by-uuid/4e4aacff-8ee7-496f-98d1-2e2451c5e986 /mnt/leap152 mount --bind /boot/efi /mnt/leap152/boot/efi # <====== you missed this step, or equivalent. mount --bind /proc /mnt/leap152/proc mount --bind /sys /mnt/leap152/sys mount --bind /dev /mnt/leap152/dev chroot /mnt/leap152/ joe /etc/default/grub # <=== if you did not do it before. Or any other editor you like. yast
Can I safely assume there's no hidden surprise in the alternative you suggest? That is, doing the yast trick for each of the installations while booted to each one individually? I'm just a bit cautious about ending up with an unbootable mess (again).
You missed this part in my instructions: CER> Then, you have to mount ALL the partitions of Leap 15.2-2 under, say, /mnt/leap152, Strictly speaking, not all partitions are needed, but root and efi (you do not have a separate /boot) -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)