Calamares installer to manual

How to convert or where to search or extract partitioning commands used in kicksecure calamares.

I would partition through cli for learning purpose while having same kicksecure partitioning results

As an example
Straightforward Luks on partition + encrypted separat swap , all online guides i found are only combined with LVM

Unfortunately, this is very complicated. C++ source code. Developers only. Users will be unable to figure out the commands by looking at the source code.

Therefore unsupported.

Unspecific to Kicksecure.

Can only be resolved as per:

Alright.
I will look forward on debian based sources.as i have used live iso calamares installer . it created two luks partitions . swap

I will test again kicksecure on vm and bare metal and study luks partition layout.

There are several layouts .lvm . btfrs …

I would know if you told calamares to create spesific layout and why exactly this sheme on kicksecure.

Is there a recommended luks partition sheme

1 Like

Is it possible to chroot into live kicksecure and do manual partitioning, installing

It would be great to have a guide on the wiki.

Not planned.

The same features as with Debian and Calamares installer should be available.

Unspecific to Kicksecure.

Can be resolved as per:

Yes .

Debian calamares installer created sda1 as luks root
sda2 as swap luks partition from sda
Only one password needed at boot for both .

What exactly I wanted
Creating manually the above sheme , must not be luks1 or encrypted boot

I found only one old guide .but crypttab and fstab then looks not the same somehow as what calamares did

I searched more . they are using LVM when creating swap partition only . I dont want LVM

Now my desire to the above are changed.

Kicksecure cannot support a lot complex partitioning choices. See Allow restricting the filesystem's usable in manual partitioning by ArrayBolt3 · Pull Request #2400 · calamares/calamares · GitHub to get an insight how complicated, involved that was.

So for complex partitioning or calamares customizations the only realistic options are either becoming a developer or paying a developer. I highly doubt any forum can answer this for free. This is much too complicated.

Luks1 version issue -> port to Luks2 has been implemented.

I guess you misunderstood my goal.

Details:

I have inatalled debian live iso, calanares created 2 simple partitions
sda—sda1 root luks—sda2 cryptswap

Goal
Install the same above using CLI instead of calamares.

Is there anything wrong when i found a guide to do that.

It’s very most likely possible but undocumented. It’s an advanced sysadmin task.

  1. partition
  2. install bootloader
  3. install kernel
  4. install operating system inside chroot

Guide Install Kicksecure inside a folder (chroot) might help but needs adjustment for this use case. A skilled sysadmin would be able to accomplish this.

That kind of stuff you need to learn yourself or pay people to do it.

Deboostrap debian is the magic word for searching

Then i replace deboostrap with mmdebstrap as per kicksecure dev wiki

Thanks

If anyone can figure this out, which is undoubtedly difficult, a contribution to document this process in the wiki would be most welcome.

I foun this . but its not a bullet proof.

https://www.debian.org/releases/stable/amd64/apds03.en.html

Can be inspired by it .

I didn’t expect it to be complicated unlike arch

I’d rather stay by TUI installer and focus on buiding own iso.