You're right that the automounting of the partition is irrelevant if we're just going to go ahead an umount whatever, but it's still perplexing not to know *why*.
Anyways, another good point about keeping zram on. We do have that for a reason. Thus, the recommendation of `swapoff -a` is not a really good one.
That said, I see the following action items:
1. Make sure the umount module is working as intended to ensure closing Calamares unmounts everything
2. Unmount before running Calamares to ensure no partitions are mounted
3. `swapoff` swaps except for zram0 (`swapon --show=NAME --raw --noheadings | grep -v zram0` should help here) before running Calamares
You're right that the automounting of the partition is irrelevant if we're just going to go ahead an umount whatever, but it's still perplexing not to know *why*.
Anyways, another good point about keeping zram on. We do have that for a reason. Thus, the recommendation of `swapoff -a` is not a really good one.
That said, I see the following action items:
1. Make sure the umount module is working as intended to ensure closing Calamares unmounts everything
2. Unmount before running Calamares to ensure no partitions are mounted
3. `swapoff` swaps except for zram0 (`swapon --show=NAME --raw --noheadings | grep -v zram0` should help here) before running Calamares