Dave Plater composed on 2021-12-24 07:22 (UTC+0200):
...I'd forgotten that grub2 and xfs don't like each other and the system was unbootable. Ok backup root again and create an ext3 boot partition before the root partition and perform the mount --bind on sys proc and dev then chroot into root partition then use yast2 bootloader on it. Fine except "chroot /mnt" no longer appears to work, it says: "chroot: failed to run command ‘/bin/bash’: Permission denied"
mount <rootfilesystem> /mnt mount -o bind /dev /mnt/dev mount -o bind /sys /mnt/sys mount -o bind /proc /mnt/proc chroot /mnt mount -a <proceed to fix/update/yast/whatever> With a separate partition for /boot/ in fstab, /boot/ will be empty until the the boot filesystem is mounted. mount -a is doubly important if / is BTRFS. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata