You are not logged in.

#1 2025-02-20 19:01:17

anarchyx
Member
Registered: 2023-11-11
Posts: 2

Arch is not appearing in the GRUB menu

After seeing the '/dev/mapper/root' entry in the fstab file, I thought I should replace it with the root's UUID. I did that since my root partition used to be encrypted with LUKS over a decade ago, but it hasn't been encrypted for a long time.. i did that and the issue started afterward. I regret doing the fix and I don't understand why the GRUB broke. later I tried empty the contents of the /etc/crypttab file from a live medium but no help.  installed fresh kernel and initframs no help. I tried with reFIND, .it didn't boot it either. I think this is more of a UUID/LUKS problem than a bootloader issue, but I still haven't been able to pinpoint it. I don't know what to do.

Filesystem: btrfs
os: Uefi Arch linux on laptop
storage: nvme

current fstab

UUID=b48d4537-a617-48b9-b670-036f6a52f0c7  /  btrfs  rw,relatime,ssd,discard=async,space_cache=v2,subvol=/  0 0
UUID=3020-29A3  /boot  vfat  rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro  0 2
efivarfs /sys/firmware/efi/efivars efivarfs ro,nosuid,nodev,noexec 0 0

blkid

/dev/nvme0n1p1: UUID="3020-29A3" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="dda4f02c-4ae4-4260-a379-ae5929122576"
/dev/nvme0n1p2: LABEL="Arch" UUID="b48d4537-a617-48b9-b670-036f6a52f0c7" UUID_SUB="2a8de5e3-ba61-4c9b-bb13-b130fe0192cb" BLOCK_SIZE="4096" TYPE="btrfs" PARTUUID="d627d7e5-cae9-421e-8ddc-299c0b372b92"
/dev/nvme0n1p3: UUID="339e7032-0eb3-4589-b443-632ca01e0bec" TYPE="swap" PARTUUID="bcb54a7c-140e-4a37-bf0b-25944d3475d7"

Last edited by anarchyx (2025-02-20 19:17:49)

Offline

#2 2025-02-20 19:43:45

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,706

Re: Arch is not appearing in the GRUB menu

fstab has nothing to do with grub at all. I'm guessing after you made the modification, you regenerated grub's config file? That's what would cause this, if the config was generated and didn't find the kernel and initramfs, it wouldn't create a menu item. Mount everything, chroot in, and regenerate the config.

Online

#3 2025-02-20 20:08:41

anarchyx
Member
Registered: 2023-11-11
Posts: 2

Re: Arch is not appearing in the GRUB menu

Maybe, but I am sure I updated the kernel and then probably regenerated the grub.cfg 2nd time. why wouldn't it find the kernel and initramfs? I did so thats normal process

Offline

Board footer

Powered by FluxBB