ekin0x erreur de ma part, j'ai tapé systimage au lieu de sysimage donc en fait ça fonctionne. j'arrive à mount /dev/sday /mnt/sysimage/boot par rapport a mon fdisk je dois mettre sda1 ou sda2 a la place de sday?
ekin0x j ai voulu reprendre a zero et cela donne ca [root@localhost ~]# mkdir /mnt/sysimage mkdir: cannot create directory ‘/mnt/sysimage’: File exists [root@localhost ~]# mkdir /mnt/sysimage/{dev,sys,proc} mkdir: cannot create directory ‘/mnt/sysimage/dev’: File exists mkdir: cannot create directory ‘/mnt/sysimage/sys’: File exists mkdir: cannot create directory ‘/mnt/sysimage/proc’: File exists [root@localhost ~]# mkdir /mnt/sysimage/dev/pts mkdir: cannot create directory ‘/mnt/sysimage/dev/pts’: File exists [root@localhost ~]# mkdir /mnt/sysimage/boot [root@localhost ~]# mount /dev/mapper/fedora-root mount: can't find /dev/mapper/fedora-root in /etc/fstab pas de souci pour les mkdir puisque les fichiers existent mais je supose que je m y prend mal pour le dev/mapper
ekin0x [root@localhost ~]# lvdisplay /dev/fedora --- Logical volume --- LV Path /dev/fedora/swap LV Name swap VG Name fedora LV UUID kH3L65-B7Cv-q2Bp-xkWx-kBSa-eu9P-AkOkNm LV Write Access read/write LV Creation host, time localhost.localdomain, 2014-10-20 20:05:13 -0400 LV Status available # open 2 LV Size 2.03 GiB Current LE 520 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0 --- Logical volume --- LV Path /dev/fedora/home LV Name home VG Name fedora LV UUID 9pXfgN-3dvP-uU4I-tDVh-DsTs-tM8U-j4plPS LV Write Access read/write LV Creation host, time localhost.localdomain, 2014-10-20 20:05:14 -0400 LV Status available # open 0 LV Size 245.57 GiB Current LE 62865 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:1 --- Logical volume --- LV Path /dev/fedora/root LV Name root VG Name fedora LV UUID 2GeIqZ-cFOc-8cEH-bt4a-vHLZ-a49A-yXhVq6 LV Write Access read/write LV Creation host, time localhost.localdomain, 2014-10-20 20:05:21 -0400 LV Status available # open 0 LV Size 50.00 GiB Current LE 12800 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:2
ekin0x [root@localhost ~]# mount /dev/fedora/root /mnt/sysimage [root@localhost ~]# mount --bind /dev /mnt/sysimage/dev [root@localhost ~]# mount --bind /dev/pts /mnt/sysimage/dev/pts [root@localhost ~]# mount --bind /sys /mnt/sysimage/sys [root@localhost ~]# mount -t proc /proc /mnt/sysimage/proc [root@localhost ~]# mount /dev/sda1 /mnt/sysimage/boot [root@localhost ~]# chroot /mnt/sysimage [root@localhost /]# mount -a [root@localhost /]# grub2-install /dev/sda Installation finished. No error reported. voila. je peux redemarrer le pc et voir le resultat?
ekin0x extinction, retrait de la cle usb et redemarrage... j'arrive sur grub>_ puis plus rien, je dois faire quoi? je ne suis pas habitué a arriver la...
hechmi50 Aie, aie ... Sois patient, refais les mêmesétapes, au lieu d'installer grub tu fais: grub2-mkconfig -o /boot/grub2/grub.cfg
ekin0x je remplace cette ligne [root@localhost /]# grub2-install /dev/sda par celle la grub2-mkconfig -o /boot/grub2/grub.cfg ???