You are not logged in.
I installed Arch Linux on a usb hard disk, but after I plugged out and re-plugged in the usb cable, BIOS cannot recognize the bootloader and I cannot boot to Arch Linux.
Then I plug in the installation media, go through the grub installation process like following, then it works again, I can see arch_linux in BIOS.
# in arch installation iso
genfstab /mnt >> /mnt/etc/fstab
arch-chroot /mnt
grub-install --target=x86_64-efi --efi-directory=/boot/EFI/ --bootloader-id=arch_linux --recheck
grub-mkconfig -o /boot/grub/grub.cfg
I was keen to found out the source of the problem, so I plugged out and re-plugged in the usb cable. After many tries, I found ONLY reinstall the grub can solve this problem.
But it's not possible for me to reinstall the grub everytime I plug out the usb cable.
thanks a lot.
Last edited by sheey (2021-01-13 01:25:11)
Offline
Jin, Jîyan, Azadî
Offline
thanks, that really solved my problem.
Offline
Good news, please prepend [SOLVED] to the thread title to help others who encounter this issue.
Jin, Jîyan, Azadî
Offline