Contents
How do I fix Arch Linux?
Broke my Arch Linux again. Here’s how I fixed it.
- Boot a Arch live disk (Pen Drive or CD)
- Connect to internet: wifi-menu.
- Mount your root partition: mount /dev/sda# /mnt ( sda2 in my case)
- Mount your boot partition: mount /dev/sda# /mnt/boot ( sda1 in my case)
- change your root directory: arch-chroot /mnt.
14 мар. 2019 г.
How do I reinstall grub Arch Linux?
How to Reinstall the Boot Loader in Arch Linux
- fdisk -l. …
- mkdir /mnt/arch mount -t auto /dev/sda2 /mnt/arch. …
- arch-chroot /mnt/arch. …
- mount -t auto /dev/sda1 /efi. …
- os-prober. …
- grub-mkconfig > /boot/grub/grub.cfg. …
- grub-install –efi-directory=/efi –target=x86_64-efi /dev/sda.
14 авг. 2020 г.