Réparation du démarrage d’une Artix Linux.
If it bips instead of displaying things : check RAM or storage.
If it displays : no bootable media found ; dive into the BIOS to check if it forgot your UEFI boot options and create new ones.
If your BIOS can’t create them, boot from an Artix live USB.
One the desktop is loaded click the ciphered-volume icon to mount it.
Then open a console :
$ sudo mount -o bind /run/media/artix/BOOT /run/media/artix/51f97c3f-cb07-4e9c-940d-2979138a5457/boot/efi/BOOT
$ sudo artix-chroot /run/media/artix/51f97c3f-cb07-4e9c-940d-2979138a5457
If you were stuck before GRUB at startup, try re-installing GRUB (it should create the necessary UEFI boot options in the BIOS) :
# update-grub
# grub-install /dev/sda
If you were stuck after the GRUB at initramfs loading time you can explore the situation with the following commands :
# pacman -Qikk linux
Name : linux
Version : 6.9.10.arch1-1
Description : The Linux kernel and modules
Architecture : x86_64
[…]
# file /boot/vmlinuz-linux
/boot/vmlinuz-linux: Linux kernel x86 boot executable bzImage, version 6.9.10-arch1-1 (linux@archlinux) #1 SMP PREEMPT_DYNAMIC Thu, 18 Jul 2024 18:06:13 +0000, RO-rootFS, swap_dev 0XC, Normal VGA
# uname -r
6.8.9-zen1-2-zen
Then this single command should fix things :
# pacman -S linux
If you get errors during the execution of the above command (like missing kernel modules) you have work to do… Try this :
# ls /usr/lib/modules
6.9.10-arch1-1
# depmod -a 6.9.10-arch1-1
# mkinitcpio -P (1)
| 1 | This will regenerate the initramfs (-P : for all presets) |
If there were no more errors you can safely reboot.
Commands were mainly read from : https://bbs.archlinux.org/viewtopic.php?id=298525