ReZeroS / LinuxQA

0 stars 0 forks source link

Fix UEFI & Grub #9

Open ReZeroS opened 5 years ago

ReZeroS commented 5 years ago
rufus dd write archlinux directly.
with boot start, action into the liveCD.
mount /dev/sdroot /mnt
mount /dev/sdefi /mnt/boot
arch-chroot /mnt # Tips: not chroot
pacman -Sy

pacman -Sy gurb

pacman -Sy os-prober
cd /boot/grub/

grub-install --efi-directory=/boot/EFI --target=x86_64-efi /dev/sdefi

Y is the number partition of sdX which set efi

efibootmgr -c --disk /dev/sdX --part Y

finally, umount all and pop u disk

reboot