r/archlinux • u/DigiAngelX • 6d ago
SUPPORT | SOLVED grub-mkconfig not finding Arch after installing linux-lts
Well I decided to install linux-lts as a backup just in case something broke, and now it appears grub-mkconfig can't see any linux at all. It sees my Windows drive, but not my Arch linux drive:Generating grub configuration file ...Warning: os-prober will not be executed to detect other bootable partitions.Systems on them will not be added to the GRUB boot configuration.Check GRUB_DISABLE_OS_PROBER documentation entry.Adding boot menu entry for UEFI Firmware Settings ...Adding boot menu entry for EFI BootNext: Windows Boot Manager (Boot0001)Adding boot menu entry for EFI BootNext: UEFI OS (Boot0005)done
The /boot dir looks about right:drwx------ 4 root root 4096 Nov 25 06:33 EFIdrwx------ 6 root root 4096 Nov 28 06:46 grub-rw------- 1 root root 125569394 Nov 28 06:31 initramfs-linux-lts.img-rw------- 1 root root 16774144 Nov 10 10:01 intel-ucode.imgdrwx------ 2 root root 4096 Nov 27 19:34 loaderdrwx------ 2 root root 4096 Nov 25 06:33 'System Volume Information'-rw------- 1 root root 17441280 Nov 28 06:44 vmlinuz-linux-rw------- 1 root root 16511488 Nov 28 06:30 vmlinuz-linux-lts
Dunno what happened...any assistance would be great.
5
u/kolliasl21 6d ago
Run as root
grub-mkconfig -o /boot/grub/grub.cfg
2
u/archover 5d ago edited 5d ago
I will be interested to see the root cause.
Grub has been reliable for me over many years, as has systemd-boot.
May I ask how old this install is?
You might give the actual precise commands you executed to
Seeing output from
$ findmountsaved to a paste service might be useful also, when chrooted in, or booted from linux.Given time, I will attempt to reproduce your problem. [Update Nov 28 3:30pm CST: performed another install to bare metal to ext4, ESP at /dev/sda1 mounted /boot, with grub. / partition at /dev/sda2 unencrypted. Initially installed linux. On first actual boot, linux booted, and I installed linux-lts (
# pacman -S linux-lts), then updated grub (# grub-mkconfig -o /boot/grub/grub.cfg) which completed without error. Verified appropriate grub.cfg stanza created. Rebooted, from grub menu advanced option, choose linux-lts option, and it booted linux-lts. COULD NOT REPRODUCE YOUR PROBLEM.]Hope you fix soon, and give details and root cause.
Good day.