Encrypt external HDD, package cryptsetup-mkinitrd not found

Hi,

Tried to encrypt my external HDD using XFS filesystem with the default partitioner tool in KDE. Was promted to download missing packages which included cryptsetup-mkinitrd. For some reason the package is not included in openSUSE 13.2, but could see it’s available for 13.1 and Tumbleweed. I have also checked if it’s available in Packman repository.

http://software.opensuse.org/package/cryptsetup-mkinitrd

Tried with EXT4 but using same package for encryption so stuck on not being able to encrypt my external HDD at the moment.

Someone know if cryptsetup-mkinitrd will be available for openSUSE 13.2?

This seems a bit weird to me.

I recently repartitioned my laptop, which means that I had to start all over.

I booted the 13.2 live Rescue CD, and used that to partition, to create encrypted LVM. Then I used the DVD installer to install opensuse in that LVM. I did not run into any problems with that. There were no missing packages that caused problems.

I used Yast partitioner for creating the encrypted LVM. I seem to recall that I created an encrypted partition first, then made an LVM out of that, then created root, home and swap volumes within that LVM.

I should note that both the live rescue CD image and the DVD installer image were on USB flash drives, rather than optical media. I doubt that made any difference.

Some more thoughts on this.

For 13.1, the “initrd” was created with “mkinitrd” scripts.

For 13.2, the “initrd” is created by “dracut”, and the “mkinitrd” script is just a wrapper for “dracut”.

I’m guessing that “cryptsetup-mkinitrd” is part of the “mkinitrd” scripts that have been replaced by “dracut”.

Is it possible that you are doing something in a way that depends on the old method? Perhaps you triggered an odd bug where it should be telling you that you are using the wrong command but instead gave you a package error.

I’m not using LVM and on my laptop I could successfully encrypt /home partition using XFS filesystem. The problem I experience is from my desktop PC. I got curious and replicated what I previously tried to do but on my laptop and strangely it successfully downloaded the missing package and I could encrypt the HDD. Don’t know why I can’t find the package on my desktop PC so will review the enabled repositories. Also strange the package is not mentioned in openSUSE Software for openSUSE 13.2?

Thank you for explaining, learned something new :slight_smile: