Re: More fun with grub and dracut

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/30/24 1:51 PM, Patrick O'Callaghan wrote:
On Tue, 2024-07-30 at 13:23 -0700, Samuel Sieb wrote:
On 7/30/24 5:48 AM, Patrick O'Callaghan wrote:
The loader entry is still pointing to the SSD:

# cat /boot/loader/entries/63f58eeb1e8640c79ad45bdc9261a2bb-6.9.11-
200.fc40.x86_64.conf
title Fedora Linux (6.9.11-200.fc40.x86_64) 40 (KDE Plasma)
version 6.9.11-200.fc40.x86_64
linux /vmlinuz-6.9.11-200.fc40.x86_64
initrd /initramfs-6.9.11-200.fc40.x86_64.img
options root=UUID=8e1f7af4-c0bf-434e-b1c4-a9af2c810d56 ro
rootflags=subvol=root modprobe.blacklist=i915 rd.blacklist=i915
vconsole.font=latarcyrheb-sun16 rhgb quiet audit=0
resume=UUID=8e1f7af4-c0bf-434e-b1c4-a9af2c810d56
resume_offset=413818937
grub_users $grub_users
grub_arg --unrestricted
grub_class fedora

That UUID is for /dev/sdb3, not for /dev/nvme0n1p3 as desired.

(the resume stuff is for hibernation and I'll eventually change it,
but
shouldn't affect root).

Not sure what to do other than manually editing the loader entry.

I think you have to edit the loader entries.  They won't be
regenerated.


Nope, didn't work. I edited the current entry, reran grub2-mkconfig
etc. and dracut.  I checked the entries and they are regenerated from
somewhere with the changes reverted, so the question is where?

A logical place to look is in /etc/dracut.d. The manpage for
dracut.cmdline says you can specify a "root=UUID=..." parameter, but
not where you put it ('dracut root=...' and 'dracut --root=...' both
fail). The manpage for dracut.conf has no mention of a root parameter,
and the contents of /etc/default/cmdline come in part from the files in
/etc/dracut.d (that's where my 'resume' parameter comes from).

It's certainly not going to come from dracut. I don't even have an /etc/default/cmdline.

It might be getting it from the kernel command line. Try editing the loader entry, boot it, then run mkconfig again.

--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux