booting RO snapshots on EndeavourOS systems with Dracut instead of mkinitcpio? #277
Replies: 3 comments 20 replies
-
First off all I guess you need to tell dracut first, that you need to add the dracut modules for I would suggest you first try passing this in Grub. So in Grub you go to the snapshot you want to boot, press e to edit the grub menu, navigate to where it says something like However this is not permanent, it's only valid for this boot. And the nextime you boot you would have to type this in manually again. This is were the variable With all that said, I haven't got this done myself. I always wanted to test this out but I haven't found the time yet. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the information. The version of grub-btrfs that is on the Archlinux repo is not up to date as far as I can tell. I built grub-btrfs from source on one system and it's man grub-btrfs showed the GRUB_BTRFS_SNAPSHOT_KERNEL_PARAMETERS variable, but it didn't on my VM under test which was loaded from the repo. So I going to start over with a fresh VM and install grub-btrfs from the github version. I did confirm that the GRUB_BTRFS_SNAPSHOT_KERNEL_PARAMETERS variable get added to the /etc/default/grub-btrfs/config file before sudo /etc/grub.d/41_snapshot-btrfs script gets run. The current readme implies this is all you have to do. I'll test from scratch again. |
Beta Was this translation helpful? Give feedback.
-
I have a solution at least for Endeavour OS (Archlinux). Copying some dracut modules from Garuda solve the issue. You don't need any of the grub-btrfs variable or kernel cmd line options. So you can use the pacman repo version (4.12-2) of grub-btrfs instead of the github master version here. see eos forum |
Beta Was this translation helpful? Give feedback.
-
Since Endeavour OS switched to Dracut, I can't boot Read-only snapshots because I don't know how to configure the solution explained in one of the Read.md files. I had this working back when mkinitcpio was used.
I need some help as the explanation for Dracut systems doesn't make sense to me. Not sure where to modify the kernel parameters, or where to set the variable GRUB_BTRFS_SNAPSHOT_KERNEL_PARAMETERS
Beta Was this translation helpful? Give feedback.
All reactions