Hello,
I did follow for the 4th times the Chris's recommendations:
mount /dev/mapper/root1 /mnt/linux1 -o ro
mount /dev/mapper/root2 /mnt/linux2
cp -a /mnt/linux1/* /mnt/linux2
cp -a /mnt/linux1/.readahead /mnt/linux2
cp -a /mnt/linux1/boot /mnt/linux2
(I did not have a rsync command on the gparted live distribution that I have)
mount -B /run /mnt/linux2/run
mount -B /proc /mnt/linux2/proc
mount -B /dev /mnt/linux2/dev
mount -B /sys /mnt/linux2/sys
chroot /mnt/linux2
vi /etc/fstab (to change to the new partitions labelling)
dracut -f /boot/initramfs-3.12.5-200.fc19.i686.PAE.img
grub2-mkconfig -o /boot/grub2/grub.cfg
Then I modify the original /boot/grub2/grub.cfg to get the booting on the
clone without modifying the mbr (grub2-install)
And I get always the same behavior:
failed to start .......
create static device modes in /dev
journal service
open pack file: permission denied
In my opinion, I need to do something else, but what?
Thank.
On Dec 27, 2013, at 6:55 PM, "Patrick Dupre" <pdupre(a)gmx.com> wrote:
> the cp -a /boot_cloned and /boot_clone (when partition not active).
I don't follow this. You used cp /dev/sda /dev/sdb? Device to device? Or you
specified directories to copy? I've had cp -a of directories not work, in particular
it misses hidden files unless you explicitly copy them. I've had better luck with
rsync. And I've had impressively good luck with btrfs send/receive, that's a cake
walk, and fast.
Chris Murphy
--
users mailing list
users(a)lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct:
http://fedoraproject.org/code-of-conduct
Guidelines:
http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away:
http://ask.fedoraproject.org
===========================================================================
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
===========================================================================