On 07/26/2018 05:21 PM, Patrick Dupre wrote:
Before updating my system (now in fedora 26), I cloned by using
another live system.
cp -a /root1 /root2 (after mke2fs)
cp -a /boot1 /boot2
But, I cannot boot on /root2 (using the /boot1 or /boot2)
What happens?
Is is a relabeling issue?
Likely.
How can I relabel from grub2 ?
It seems that using touch /root1/.autorelabel
I can only relabel the partition /root1 (and not /root2)
That will only relabel /root2 if it's in the fstab of /root1.
You need to touch /root2/.autorelabel and then boot into /root2.