Installation fails : "Failed to unpack image [...]"

hi,

I'd like to install manjaro on an encrypted partition (using "LVM on LUKS"), and a separate non-encrypted boot partition.

starting with an unpartitioned harddrive, I create the following partitions:

  • 256MiB, ext4, boot flag
  • remaining space, ext4

then, in the console:

sudo cryptsetup luksFormat --type luks2 /dev/sda2
sudo cryptsetup luksOpen /dev/sda2 cryptlvm

sudo pvcreate /dev/mapper/cryptlvm
sudo vgcreate manjaro-vg /dev/mapper/cryptlvm
sudo lvcreate -L 8G manjaro-vg -n swap
sudo lvcreate -l 100%FREE manjaro-vg -n root

sudo mkfs.ext4 /dev/manjaro-vg/root
sudo mkswap /dev/manjaro-vg/swap

I then run the graphical installer

  • select "manual partitioning"

  • set mount point of /dev/manjaro-vg/root to /

  • set mount point of /dev/sda1 to /boot

  • install boot loader on dev/sdb (second harddrive)

  • hit 'next'

  • installer tells me about the option to "use GPT on BIOS", which I ingore

  • ...

  • hit 'install'

then I get the following error:

Failed to unpack image "/run/miso/bootmnt/manjaro/x86_64/desktop.sfs"

image

any idea why this might be happening?
also just flashed the usb drive anew, but it's still happening.

thanks a lot in advance!

a regular installation (without encryption) works just fine, btw.

Why not use the encryption options of Calamares. Doing a separate one out of Calamares might not work. Also check for known issues around encryption.

I did it like this, because calamares won't let you create an unencrypted /boot partition, and doesn't support LUKS2. from what I can tell setting up LVM from within the installer also doesn't work.

I did get it to work, using architect, but that system has a bunch of problems itself: No networking after minimal installation: NetworkManager.service not enabled

I spoke with upstream developers. So far we have no interest to tackle lvm and luks2 yet. We have to fix general partioning problems first. Also we are more against having boot unencrypted. However improvements are more than welcome.

Using luks1 is a distribution choice for several reasons.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by