Hangup On boot /dev/gpt-auto-root

As stated, I have an issue with timing out when trying to load into my operating system.

Error shown on boot:
[Time] Timed out waiting for /dev/gpt-auto-root

EndeavourOS Installation Type

  • BTRFS with SWAP Partition
  • Dracut / systemd-boot
Original Root Cause

Performing update using yay
Moving from Linux version 6.9.6 to 6.9.7
I did not realize my laptop was not plugged in and battery died during the dracut hooks

First Issue Found and Steps Taken

I initially was unable to boot and got the following error:
[FAILED] Failed to mount /boot/efi

Steps done to this point after first failure:

  1. Able to get into system via arch-chroot with bootable thumbdrive
  2. Uninstalled and reinstalled the 6.9.7 kernel
  3. Cleaned up the 6.9.6 boot entries
  4. Re-ran dracut-rebuild and reinstall-kernels

At this point I’m unsure of what to do, I think I’ve got everything remounted properly for the reinstall-kernels and my google-fu is not doing well on finding the solution for the /dev/gpt-auto-root
Details below for some of the most asked pieces:

sudo lsblk -f
NAME       FSTYPE   FSVER          LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0      squashfs 4.0                                                                   0   100% /run/archiso/airootfs
sda        iso9660  Joliet Extensi EOS_202308  2023-08-05-13-57-43-00                              
├─sda1     iso9660  Joliet Extensi EOS_202308  2023-08-05-13-57-43-00                     0   100% /run/archiso/bootmnt
└─sda2     vfat     FAT16          ARCHISO_EFI 6121-B369                                           
nvme0n1                                                                                            
├─nvme0n1p1
│          vfat     FAT32                      E8FB-539F                             646.7M    35% /mnt/efi
├─nvme0n1p2
│          btrfs                   endeavouros 06a3cbaa-d477-4529-a93d-9c82d1596d5d  390.9G    14% /mnt/home
│                                                                                                  /mnt/var/cache
│                                                                                                  /mnt/var/log
│                                                                                                  /mnt
└─nvme0n1p3
           swap     1              swap        b997ede0-1845-4e16-b021-ac715c2821b4
cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=E8FB-539F                            /efi           vfat    defaults,noatime 0 2
UUID=06a3cbaa-d477-4529-a93d-9c82d1596d5d /              btrfs   subvol=/@,defaults,noatime,compress=zstd 0 0
UUID=06a3cbaa-d477-4529-a93d-9c82d1596d5d /home          btrfs   subvol=/@home,defaults,noatime,compress=zstd 0 0
UUID=06a3cbaa-d477-4529-a93d-9c82d1596d5d /var/cache     btrfs   subvol=/@cache,defaults,noatime,compress=zstd 0 0
UUID=06a3cbaa-d477-4529-a93d-9c82d1596d5d /var/log       btrfs   subvol=/@log,defaults,noatime,compress=zstd 0 0
UUID=b997ede0-1845-4e16-b021-ac715c2821b4 swap           swap    defaults   0 0
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
cat /efi/loader/entries/*
# Boot Loader Specification type#1 entry
# File created by /etc/kernel/install.d/90-loaderentry.install (systemd 254.1-1-arch)
title      EndeavourOS
version    6.9.7-arch1-1
machine-id 877f6d395bc34f5b9b0c72029c11dd5b
sort-key   endeavouros-6.9.7-arch1-1
options    archisobasedir=arch archisolabel=EOS_202308 cow_spacesize=10G copytoram=n nvidia nvidia-drm.modeset=1 nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nvme_load=yes module_blacklist=pcspkr systemd.machine_id=877f6d395bc34f5b9b0c72029c11dd5b
linux      /877f6d395bc34f5b9b0c72029c11dd5b/6.9.7-arch1-1/linux
initrd     /877f6d395bc34f5b9b0c72029c11dd5b/6.9.7-arch1-1/initrd
# Boot Loader Specification type#1 entry
# File created by /usr/lib/kernel/install.d/90-loaderentry-fallback.install (systemd 254.1-1-arch)
title      EndeavourOS
version    6.9.7-arch1-1-fallback
machine-id 877f6d395bc34f5b9b0c72029c11dd5b
sort-key   endeavouros-6.9.7-arch1-1-fallback
options    archisobasedir=arch archisolabel=EOS_202308 cow_spacesize=10G copytoram=n nvidia nvidia-drm.modeset=1 nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nvme_load=yes module_blacklist=pcspkr systemd.machine_id=877f6d395bc34f5b9b0c72029c11dd5b
linux      /877f6d395bc34f5b9b0c72029c11dd5b/6.9.7-arch1-1/linux
initrd     /877f6d395bc34f5b9b0c72029c11dd5b/6.9.7-arch1-1/initrd-fallback
blkid
/dev/nvme0n1p3: LABEL="swap" UUID="b997ede0-1845-4e16-b021-ac715c2821b4" TYPE="swap" PARTUUID="c6078be7-5012-43fc-8d24-5b6d1eabfeb9"
/dev/nvme0n1p1: UUID="E8FB-539F" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="eed1dc26-9c40-4f43-8c79-a4f84bfc2d81"
/dev/nvme0n1p2: LABEL="endeavouros" UUID="06a3cbaa-d477-4529-a93d-9c82d1596d5d" UUID_SUB="517e3fa5-d976-4535-af58-a4888254ec09" BLOCK_SIZE="4096" TYPE="btrfs" PARTLABEL="endeavouros" PARTUUID="e262dcb9-b49a-4383-b0a1-93e88cf268e1"
/dev/loop0: BLOCK_SIZE="1048576" TYPE="squashfs"
/dev/sda2: SEC_TYPE="msdos" LABEL_FATBOOT="ARCHISO_EFI" LABEL="ARCHISO_EFI" UUID="6121-B369" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="1bdb3cc0-02"
/dev/sda1: BLOCK_SIZE="2048" UUID="2023-08-05-13-57-43-00" LABEL="EOS_202308" TYPE="iso9660" PARTUUID="1bdb3cc0-01"

I think I’m just missing one tiny thing, but I’m at the point that I need a push in the right direction.

Please edit your post and format the pasted text by highlighting it and pressing Ctrl-E to format.

EX.

/dev/nvme0n1p3: LABEL=“swap” UUID=“b997ede0-1845-4e16-b021-ac715c2821b4” TYPE=“swap” PARTUUID=“c6078be7-5012-43fc-8d24-5b6d1eabfeb9”
/dev/nvme0n1p1: UUID=“E8FB-539F” BLOCK_SIZE=“512” TYPE=“vfat” PARTUUID=“eed1dc26-9c40-4f43-8c79-a4f84bfc2d81”
/dev/nvme0n1p2: LABEL=“endeavouros” UUID=“06a3cbaa-d477-4529-a93d-9c82d1596d5d” UUID_SUB=“517e3fa5-d976-4535-af58-a4888254ec09” BLOCK_SIZE=“4096” TYPE=“btrfs” PARTLABEL=“endeavouros” PARTUUID=“e262dcb9-b49a-4383-b0a1-93e88cf268e1”
/dev/loop0: BLOCK_SIZE=“1048576” TYPE=“squashfs”
/dev/sda2: SEC_TYPE=“msdos” LABEL_FATBOOT=“ARCHISO_EFI” LABEL=“ARCHISO_EFI” UUID=“6121-B369” BLOCK_SIZE=“512” TYPE=“vfat” PARTUUID=“1bdb3cc0-02”
/dev/sda1: BLOCK_SIZE=“2048” UUID=“2023-08-05-13-57-43-00” LABEL=“EOS_202308” TYPE=“iso9660” PARTUUID=“1bdb3cc0-01”

Easier to read this way than:

Will do as soon as I get back to the office

1 Like

Done. Thank you for the tip.

1 Like