[SOLVED] Proper setup to boot snapshots with /home subvol within / snapshot #126
-
Hello, I am normally using 2 subvols, Since I want grub-btrfs to boot a snapshot without the need to manually edit I booted from the snapshot, got to the SDDM login screen. After entering PW I got a bunch of failures to write files due to permissions. Still after entering PW now permission errors are gone but
I highly suspect there are still some permission issues but can't find where. Since by default when installing Kubuntu and some other distros it automatically creates 2 subvols, one for What have you guys did to migrate your user files within one subvol along with root files? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Ok so it seems I have trouble booting with my user files inside the I gave up on merging my user files into my root subvol. For now... Instead I built myself a script which uses One more thing, for those who would decide to remove the root fstab entry for your root subvol, you will miss your non-default mount options. There are a few ways to get around this, although not really mandatory for me to change them, I am testing a way to include |
Beta Was this translation helpful? Give feedback.
Ok so it seems I have trouble booting with my user files inside the
/home
folder of@
root subvol. I get permission issues on/run/user/1000
, which isn't good.I gave up on merging my user files into my root subvol. For now...
Instead I built myself a script which uses
kdialog
to minimize typos and I can select subvols to snapshot and where to snapshot them. Once that is done, with the magic of setting variables within the script,sed
is running through/etc/fstab
and substitutessubvol=@
andsubvol=@home
with the newly created root and home subvols. This way I can boot with a seperate@home
subvol without the need to manually edit anything at any point. Works flawless so far!grub-btrfs
i…