Well, simply accessing it from the LiveUSB shouldn’t be a problem. Like any encrypted volume that isn’t already unlocked, you can just use Dolphin to navigate to it and you will be prompted for the password to unlock it when you try to mount it. You could also use sudo cryptsetup luksOpen in a terminal to just decrypt it without mounting it anywhere.
However, the safest way to preserve it, and ensure the installer doesn’t do something unwanted with it during install, is probably to just:
- Leave your home drive encrypted initially
- Install to your system drive normally, which will create its own /home subvolume (assuming btrfs for system)
- Before rebooting, mount the new system drive somewhere
- Modify
/etc/fstab and /etc/crypttab
- Comment out the freshly created
/home subvolume
- Add your existing
/home partition in its place
- Later, see about deleting the unwanted /home subvolume… or keep it around as a clean backup /home for emergencies
I think that should work. Haven’t tried this though. Might be overlooking something. Would be prudent to test in a VM with dummy partitions first.
All that said, I would NOT recommend reusing an old /home partition.
It’s always better to start fresh, and keep just your old data / transfer configs selectively.
Distros like to put their own custom config in home directories. If you reuse an old one, you’re not getting the intended config for the new distro, inheriting any old config problems you had, and potentially causing new problems due to differences between old distro and new one.
The old trope of “reinstall system, keep separate home partition” just doesn’t work well in practice. Inherently, /home is part of the system, because it contains configs and other things specific to the system.
You may find this comment (and the whole thread) relevant as well: Are there any traps to be mindful of when transfering a Fedora home folder to a CachyOS install? - #6 by zymotek
Also: Do note that btrfs is slow. It’s a worthwhile sacrifice, for the system partition, to have access to instant snapshots. But, if you take my advice on starting with a fresh /home, and using the second drive as data partition(s), consider also switching it to ext4 or XFS, or just about anything other than btrfs.