Results 1 to 4 of 4

Thread: Encrypt external HDD, package cryptsetup-mkinitrd not found

  1. #1
    Join Date
    Mar 2011
    Location
    Sweden
    Posts
    37

    Default 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...setup-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?

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,373
    Blog Entries
    3

    Default Re: Encrypt external HDD, package cryptsetup-mkinitrd not found

    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.
    openSUSE Leap 15.1; KDE Plasma 5;

  3. #3
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,373
    Blog Entries
    3

    Default Re: Encrypt external HDD, package cryptsetup-mkinitrd not found

    Quote Originally Posted by Wahlgren View Post
    Someone know if cryptsetup-mkinitrd will be available for openSUSE 13.2?
    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.
    openSUSE Leap 15.1; KDE Plasma 5;

  4. #4
    Join Date
    Mar 2011
    Location
    Sweden
    Posts
    37

    Default Re: Encrypt external HDD, package cryptsetup-mkinitrd not found

    Quote Originally Posted by Wahlgren View Post
    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...setup-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?
    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 http://software.opensuse.org/package...setup-mkinitrd for openSUSE 13.2?

    Quote Originally Posted by nrickert View Post
    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.
    Thank you for explaining, learned something new

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •