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@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@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@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 ===========================================================================
On Dec 28, 2013, at 8:28 AM, Patrick Dupre pdupre@gmx.com wrote:
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)
All of the above is fine except you haven't copied hidden files, so you probably need to correct that.
dracut -f /boot/initramfs-3.12.5-200.fc19.i686.PAE.img
I'm not familiar with that syntax. From within /boot use:
dracut -f initramfs-3.12.5-200.fc19.i686.PAE.img 3.12.5-200.fc19.i686.PAE
Eventually you'll need to do this for each initramfs, or only one of them will work. Each kernel option has its own initramfs.
Then I modify the original /boot/grub2/grub.cfg to get the booting on the clone without modifying the mbr (grub2-install)
You modify the original how? Are you using configfile to point to the clone's grub.cfg?
And I get always the same behavior: failed to start ....... create static device modes in /dev journal service open pack file: permission denied
Try the above fixes and if it's still happening, take a cell phone photo of the failure and post it somewhere.
Chris Murphy
On Sat, 28 Dec 2013 16:28:33 +0100, Patrick Dupre wrote:
(I did not have a rsync command on the gparted live distribution that I have)
Does its "cp" command copy SELinux file contexts?
And I get always the same behavior: failed to start ....... create static device modes in /dev journal service open pack file: permission denied
Is this with SELinux enforcing or permissive or disabled?