The installer should take care of creating the swap, I believe. Pretty sure the swap also shouldn’t be encrypted. Maybe check this guide out? Not sure if it’s relevant, but regardless, I’d forego the preparatory steps and let the installer do its thing. The cleaner the slate, the easier it is to diagnose, in most cases. Oh, and secure boot and CSM should be disabled when installing.
That is weird, because it was Calamares itself that told me an unencrypted swap with encrypted hard disks is not a good setup and I should please go back and encrypt swap, too
Thanks for the guide, will read this, but I guess the installation will have to wait 'til another day.
Edit: I thought I had done such an installation already twice in a VM without manually tinkering at all, but maybe I did not choose to encrypt the swap can’t look it up, tough, because the VMs were on that hard drive i just formatted
welp, I tried the installation again, this time without creating swap partition at all. Calamares started, ran for a while and… just quit without any error or log. Of course that installation didn’t boot at all, I could not even manually mount the LUKSed drives.
That was when I re-cloned my Tuxedo OS onto the machine. I’m starting to believe that this laptop and Cachy just won’t go together. Which is a pity, because I’m beginning to loathe Ubuntu derivates just for the fact that I can’t regularly get an up-to-date tldr (and no, tldr as flatpak is not an option)
Is there a specific need for encryption? I have never used it, so I can’t be of much help in that regard. Encrypting the swap is odd, but again, since I haven’t used encryption I can’t say for certain what is and is not normal.
Since you didn’t mention it specifically, did you install with Secure Boot and CSM disabled in the BIOS? That’s really the only thing I can think of. Hopefully someone more knowledgeable is able to chime in.
It’s a laptop, taken everywhere. May very well fall into the wrong hands and then I don’t want anyone to just be able to read everything on it.
Is it? Not when you think someone might just nick the device. An unencrypted swap would contain lots of the things in memory, right? Which might be half of my current browsing session.
Both are disabled. The machine currently runs Tuxedo and when I installed that, I wanted it to “just work” 'cos I was busy fleeing Windows 10/11 and needed a “quick” alternative.
Good point, actually. I keep thinking that it might cause issues for every partition to be encrypted, but of course, what would be the point of security if it isn’t on the whole thing. My bad for being so dense.
Had another look at the log. It might just be a case of openswap never being installed despite the hook? Not sure why that would be, I don’t remember much of the installation process, but maybe you can add the mkinitcpio-openswap package to pacstrap somewhere? Or maybe it’s possible to choose that package at some point in the installation process?
I tried manually installing openswap by chrooting into the installation. Didn’t help, the machine was never able to even boot that installation. Then re-installed Cachy, rid rule without a swap partition, that time the installer just quit at around 30%.
I give up. I will try Eendeavour and/or Garuda instead.
I recommend doing what you did before, and keeping the encrypted swap. I’ll have to confirm in my system, but looked around the live USB in a VM, and I believe you can just add mkinitcpio-openswap to the /etc/calamares/modules/pacstrap.conf and it should install. Chrooting just kind of leaves you with a mess, so not surprising if that didn’t work.
In my VM, installing with encryption was no issue, granted I didn’t bother with manual partitioning and just went with erase. Of course, a VM is different from a real system, but frankly I’m not knowledgeable enough to be able to say what the issue might be. In theory, things should work.
Yep, I tried it twice in VirtualBox beforehand, too. Even with manual partitioning and all. That’s why I thought I’d get it done easily. But now I failed twice on the bare metal, so it stands 2:2 for now
Yeah no, thanks for the idea but I got a life to live, y’know If the installer can’t do it, then I can’t do it. That much of user-friendlyness is the least I expect from an OS and that is why I fell in love with Cachy in the first place: it basically Just Worked™ At least on my PC.
This laptop seems to be a different beast, though.
I’m really considering Endeavour just to see if that would do the trick. Now that I know that my cloned-to-disk backup actually works, I am open for experiments. Although I’d prefer to have the same system on both machines, 'cos it means less brain work for me.