You are not logged in.

#1 2024-11-06 10:41:01

ItsFireStorm
Member
Registered: 2024-10-07
Posts: 18

[SOLVED] GRUB doesn't generate an Arch Linux boot entry.

I recently reinstalled the linux kernel, and after rebooting after some time, the Arch Linux entry wasn't present in GRUB.

After booting into a live image and chrooting into my root partition, I found out there were no entries inside the boot folder, so, after reinstalling the linux kernel (just in case) and regenerating the GRUB config, it still didn't generate a boot entry.

Last edited by ItsFireStorm (2024-11-06 12:05:52)

Offline

#2 2024-11-06 10:51:19

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 702
Website

Re: [SOLVED] GRUB doesn't generate an Arch Linux boot entry.

If there is no entry in grub the issue is not that the kernel was incorrectly installed but rather that grub didn't find it. Maybe you'll have to redo https://wiki.archlinux.org/title/GRUB#Configuration

The other question is why it was removed, are you sharing this boot partition with other linux installs?

Online

#3 2024-11-06 10:59:19

ItsFireStorm
Member
Registered: 2024-10-07
Posts: 18

Re: [SOLVED] GRUB doesn't generate an Arch Linux boot entry.

After inspecting the root partition I saw that the boot folder was empty, everything else on the partition including the home partition are fine...

Last edited by ItsFireStorm (2024-11-06 10:59:37)

Offline

#4 2024-11-06 11:28:37

ItsFireStorm
Member
Registered: 2024-10-07
Posts: 18

Re: [SOLVED] GRUB doesn't generate an Arch Linux boot entry.

gromit wrote:

If there is no entry in grub the issue is not that the kernel was incorrectly installed but rather that grub didn't find it. Maybe you'll have to redo https://wiki.archlinux.org/title/GRUB#Configuration

The other question is why it was removed, are you sharing this boot partition with other linux installs?

After looking around, I did find out you were right and it was a GRUB issue, however, even after reinstalling the linux kernel and running

 grub-mkconfig -o /boot/grub/grub.cfg 

it didn't generate an entry for Arch, what can be the issue?

Updating subject...

Last edited by ItsFireStorm (2024-11-06 11:32:29)

Offline

#5 2024-11-06 12:05:36

ItsFireStorm
Member
Registered: 2024-10-07
Posts: 18

Re: [SOLVED] GRUB doesn't generate an Arch Linux boot entry.

SOLVED

My dumb ass forgot to mount the boot partition into the boot directory, that's why regenerating the grub config didn't work... tongue

Last edited by ItsFireStorm (2024-11-06 12:06:10)

Offline

Board footer

Powered by FluxBB