relabel

Patrick Dupre pdupre at gmx.com
Thu Dec 26 00:48:58 UTC 2013


Hello,

I wanted to clone my distribution fedora 19, I used to do it with
previous release but I failed with fedora 19.

I copy (-a) the partition / (lvm2) and /boot (ext4)
I ran:
 grub2-mkconfig -o /boot/grub2/grub.cfg
fixfiles relabel (the new partitions)

the file grub.cfg seems OK.
To try to have the rigth /boot and /
I modified the grub.cfg but I cannot get the boot rigth
Typically, I get an error:
failed to setart Journal service
(it looks lilke that the service do not start).

However, I do not understand how the /boot is recognized:

This my grub.cfg file:
menuentry 'Fedora release 19' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-69ee06ed-3f6a-4b9f-9b86-6e24c1847cf6' {
(this is the new partition for the /boot, it has been created by mkconfig)
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos6'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  fff6282e-eb24-405f-b43b-06ba5cc92c70
(this is the old /boot partition UID associated with msdos6, but if I change it for the new UUID
and the new /boot [msdos16] it does not help)
        else
          search --no-floppy --fs-uuid --set=root fff6282e-eb24-405f-b43b-06ba5cc92c70
        fi
        linux /vmlinuz-3.12.5-200.fc19.i686.PAE root=/dev/mapper/VolGrpSys3-root ro vconsole.keymap=fr rd.dm=0 rd.md=0 rd.luks=0 vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys3/root
(VolGrpSys3/root is the new partition, UID:69ee06ed-3f6a-4b9f-9b86-6e24c1847cf6)
        initrd /initramfs-3.12.5-200.fc19.i686.PAE.img
}

I know that what I am doing is recommanded. However, the question is
how I could clone a distribution? Something which was easily doable before.

Thank for your help.

=========================================================================
 Patrick DUPRÉ                                 | | email: pdupre at 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
===========================================================================


More information about the users mailing list