this post was submitted on 13 Feb 2024
8 points (100.0% liked)

Fedora Linux

1782 readers
15 users here now

All about Fedora Linux

founded 5 years ago
MODERATORS
 

Title says it all. I changed my btrfs subvol names so I could use timeshift to manage my snapshots, after regenerating the initramfs and editing grub to point to the new subvol names all was fine however after I got a kernel upgrade recently, the latest grub entry for the kernel specifies the old subvol name, resulting in a failed boot. I dont know grub well enough to know what options to add to /etc/default/grub, or even if thats where I need to add it. After editing the entry manually it boots perfectly fine so theres my question. Is there a grub config option to specify the name for a subvolume to boot? I'd rather not manually edit grub.cfg every time theres a kernel update lol.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 9 months ago (1 children)

I can't help with your specific problem, but in the past when trouble shooting my own GRUB problems on Fedora this was use useful: https://docs.fedoraproject.org/en-US/quick-docs/grub2-bootloader/

Specifically the 'grubby' application might be of help. Good luck!

[โ€“] [email protected] 1 points 9 months ago

Really useful info here, didnt even know grubby was a thing. I came from arch and grub seems to work quite differently on fedora. Thanks for the link. Didnt have anything that could help me this time but luckily @[email protected] knows a bit more than me and was able to find where the issue was.