I did this ton of times, but this time, it does not work.
I even just did it last week on an EFI system without problem
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
The /home /tmp are on other partitions
/root1 has the entire system
and /boot is a boot partition
I modified the fstab file properly
and I run grub2-mkconfig
The new system is detected properly (I can also edit grub.cfg to try to boot
on the right partition)
But, I cannot boot on /root2 (using the /boot1 or /boot2)
Is is a relabeling issue?
How can I relabel from grub2 ?
It seems that using touch /root1/.autorelabel
I can only relabel the partition /root1 (and not /root2)
As I said, I did this tens of times.
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France