You are not logged in.

#1 2025-01-14 21:37:28

pilif139
Member
Registered: 2025-01-14
Posts: 1

GRUB not working

I have been using Arch Linux for a while now, but yesterday my laptop failed to boot. It displayed an error indicating that no system disk was found. I checked bios and it was correctly displaying all disk. I plugged it to the other computer and everything appeared to be working correctly.
I booted the system with live USB and mounted my partitions as follows:

mount /dev/sda3 /mnt
mount /dev/sda1 /mnt/boot/efi
swapon /dev/sda2

Then I executed these commands:

arch-chroot /mnt
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg

After this, I unmounted the disks using umount -a and rebooted the system. Everything worked fine initially, but after some time, the same problem occurred again, requiring me to repeat the entire process.

At first i was thinking it was because i updated system and it caused grub to crash but at this point i have no idea why it is like it is.

Offline

#2 2025-01-14 21:38:41

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: GRUB not working


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB