On 24.12.2021 08:22, Dave Plater wrote:
Hi, I had to change over to a new hard drive,500G to 1T, I changed my partitioning scheme slightly to include a separate home and opt partition and merged two data partitions into one. I also changed to a gpt partition table to remove the need for an extended partition
I got this Leap:15.3 system up and running fine except for a root ext4 partition error that popped up when I had a power outage. This made me remember how tolerant the xfs file system was to crashes so i decided to copy the root partition contents to a backup and create an xfs root partition. Wrong move, 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"
And what is output og ls -l /mnt/bin/bash
I've googled this but I can't understand any of the solutions and tutorials which I don't really have time for, I need to get back to work.
Thanks Dave Plater