LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-11-2025, 12:03 PM   #1
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 570

Rep: Reputation: 41
Question update leads to : waiting on device dev-gpt\x2dauto\x2droot.device


Hello,
I ran an update on FC42 that installed a new kernel (6.15.9-201). The subsequent reboot hung the system with :
Code:
waiting on device dev-gpt\x2dauto\x2droot.device - /dev/gpt-auto-root
I vaguely recall a similar error after an update (or upgrade?) last year. But I can't find the source I used to fix an issue.
I do see the following commands in my history:
Code:
  948  grubby --info="/boot/vmlinuz-$(uname -r)"
  949   grubby --update-kernel=/boot/vmlinuz-$(uname -r) --remove-args="systemd.unified_cgroup_hierarchy=0"
  951  grubby --update-kernel=ALL --args="kernel_args"
  954   grubby --update-kernel=/boot/vmlinuz-$(uname -r) --remove-args="kernel_args"
  956   grubby --update-kernel=/boot/vmlinuz-$(uname -r)
Both 6.15.8-200 and 6.15.9-201 are failing with the same error.


The grub info looks like this:
Code:
[root@dell5000 etc]#  grubby --info="/boot/vmlinuz-$(uname -r)"
index=2
kernel="/boot/vmlinuz-6.14.9-300.fc42.x86_64"
args="ro rd.lvm.lv=fedora_dell5000/root rd.lvm.lv=fedora_dell5000/swap rhgb quiet"
root="/dev/mapper/fedora_dell5000-root"
initrd="/boot/initramfs-6.14.9-300.fc42.x86_64.img"
title="Fedora Linux (6.14.9-300.fc42.x86_64) 42 (Adams)"
id="97ce362a22da4f40ac8fa6793bfafcf2-6.14.9-300.fc42.x86_64"



[root@dell5000 etc]# grubby --info=ALL
index=0
kernel="/boot/vmlinuz-6.15.9-201.fc42.x86_64"
args="kernel_args"
initrd="/boot/initramfs-6.15.9-201.fc42.x86_64.img"
title="Fedora Linux (6.15.9-201.fc42.x86_64) 42 (Adams)"
id="97ce362a22da4f40ac8fa6793bfafcf2-6.15.9-201.fc42.x86_64"
index=1
kernel="/boot/vmlinuz-6.15.8-200.fc42.x86_64"
args="kernel_args"
initrd="/boot/initramfs-6.15.8-200.fc42.x86_64.img"
title="Fedora Linux (6.15.8-200.fc42.x86_64) 42 (Adams)"
id="97ce362a22da4f40ac8fa6793bfafcf2-6.15.8-200.fc42.x86_64"
index=2
kernel="/boot/vmlinuz-6.14.9-300.fc42.x86_64"
args="ro rd.lvm.lv=fedora_dell5000/root rd.lvm.lv=fedora_dell5000/swap rhgb quiet"
root="/dev/mapper/fedora_dell5000-root"
initrd="/boot/initramfs-6.14.9-300.fc42.x86_64.img"
title="Fedora Linux (6.14.9-300.fc42.x86_64) 42 (Adams)"
id="97ce362a22da4f40ac8fa6793bfafcf2-6.14.9-300.fc42.x86_64"
index=3
kernel="/boot/vmlinuz-0-rescue-97ce362a22da4f40ac8fa6793bfafcf2"
args="ro rd.lvm.lv=fedora_dell5000/root rd.lvm.lv=fedora_dell5000/swap rhgb quiet systemd.unified_cgroup_hierarchy=0 kernel_args"
root="/dev/mapper/fedora_dell5000-root"
initrd="/boot/initramfs-0-rescue-97ce362a22da4f40ac8fa6793bfafcf2.img"
title="Fedora Linux (0-rescue-97ce362a22da4f40ac8fa6793bfafcf2) 42 (Adams)"
id="97ce362a22da4f40ac8fa6793bfafcf2-0-rescue"
index=4
kernel="/boot/memtest86+x64.efi"
args=""
initrd="/boot"
title="Memtest86+ (memtest86+x64.efi-6.20)"
id="97ce362a22da4f40ac8fa6793bfafcf2-0-memtest86+"

The "2" is currently working config.

Any pointers will be appreciated.
Thank you.
AZ


P.S.
Code:
mount | grep /dev
/dev/mapper/fedora_dell5000-root on / type ext4 (rw,relatime,discard)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=4096k,nr_inodes=998745,mode=755,inode64)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,nosuid,nodev,relatime,pagesize=2M)
/dev/sda6 on /boot type ext4 (rw,relatime,discard)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro)
/dev/mapper/fedora_dell5000-home on /home type ext4 (rw,relatime,discard)

Last edited by DBabo; 08-11-2025 at 01:39 PM. Reason: corrections.
 
Old 08-11-2025, 01:38 PM   #2
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 570

Original Poster
Rep: Reputation: 41
And the solution was to add a missing "root" option. The final configuration for the latest kernel is :

Code:
grubby --info=ALL

index=0
kernel="/boot/vmlinuz-6.15.9-201.fc42.x86_64"
args="quiet"
root="/dev/mapper/fedora_dell5000-root"
initrd="/boot/initramfs-6.15.9-201.fc42.x86_64.img"
title="Fedora Linux (6.15.9-201.fc42.x86_64) 42 (Adams)"
id="97ce362a22da4f40ac8fa6793bfafcf2-6.15.9-201.fc42.x86_64"
I also added "quite" so the boot is more humane for my eyes.

The final check was :

Code:
grub2-editenv - list | grep kernelopts
kernelopts=root=/dev/mapper/fedora_dell5000-root ro rd.lvm.lv=fedora_dell5000/root rd.lvm.lv=fedora_dell5000/swap rhgb quiet systemd.unified_cgroup_hierarchy=0 kernel_args
As per the manual , this should keep the default kernel parameters during future updates.

The commands to update the config were:
Quote:
grubby --info=ALL
grubby --update-kernel=/boot/vmlinuz-6.15.9-201.fc42.x86_64 --args="root=/dev/mapper/fedora_dell5000-root"
grubby --update-kernel=/boot/vmlinuz-6.15.9-201.fc42.x86_64 --remove-args="kernel_args "
grubby --update-kernel=/boot/vmlinuz-6.15.9-201.fc42.x86_64 --args="quiet"
grubby --info=ALL
 
1 members found this post helpful.
  


Reply

Tags
gpt, grub, update



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MBR or GPT for a external enclosure hard drive with a newer Widows 10 system with GPT james2b Linux - Newbie 10 10-27-2020 06:45 AM
[SOLVED] GPT table corrupted (again @%36372 GPT) BW-userx Linux - Hardware 5 08-29-2018 04:14 PM
Diskless cluster. Timed out waiting for device dev-nfs.device mgumbau Linux - Server 0 10-07-2016 07:48 PM
[SOLVED] Slackware 13.37 - gdisk choices, MBR, GPT or Blank GPT CFet Slackware - Installation 3 04-01-2011 04:46 PM
My browser, all day today: 'waiting for linuxquestions.org...' ..waiting.. waiting .. GrapefruiTgirl LQ Suggestions & Feedback 18 05-25-2007 05:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:13 PM.

Contact Us - Advertising Info - Rules - Privacy - Donations - Contributing Member - LQ Sitemap - "Weather apps tell you it'll rain. Wyndo tells you when to go."
Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions