diff --git a/R%C3%A9parer-Archlinux.md b/R%C3%A9parer-Archlinux.md index 15d9803..8bee154 100644 --- a/R%C3%A9parer-Archlinux.md +++ b/R%C3%A9parer-Archlinux.md @@ -12,4 +12,27 @@ mount /dev/PARTITION_LINUX /mnt mount /dev/PARTITION_EFI /mnt/boot/efi ``` Utiliser arch-chroot pour définit /mnt comme la racine du système -`arch-chroot /mnt` \ No newline at end of file +``` +arch-chroot /mnt +``` +Le shell indique que la cession est en "root". On peut alors entrer la première commande mkinitcpio : + +``` +mkinitcpio -p linux +``` +Puis on reconstruit la configuration pour GRUB via grub-mkconfig: + +``` +grub-mkconfig -o /boot/grub/grub.cfg +``` +Puis on réinstalle le grub sur la partition EFI avec la comande suivante (celle de [l'installation de base](https://git.ouvaton.coop/nodiego/Arch-Linux-Cool/wiki/1.-Guide-d%27installation-d%E2%80%99Archlinux-avec-GNOME#user-content-i-installons-notre-base)) + +``` +grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck +``` +On démonte ensuite les partitions avant de redémarrer le système normalement réparé : +``` +exit +umount -R /mnt +reboot +``` \ No newline at end of file