Results 1 to 2 of 2

Thread: crypto and Lvm manually install Kali Linux

  1. #1
    Join Date
    2021-Sep
    Posts
    4

    crypto and Lvm manually install Kali Linux

    I've been trying to get Kali Linux installed with crypto and Lvm, but I ended up with a busted initramfs when using live installation.
    Is there a workaround to install it with crypto + Lvm such as chrooting and building the system?






    ---EDIT---

    I figured out the problem. kali linux creates a name for your luks container, which slipped my mine because I am so used to creating everything from scratch. Mine was mmcblk1p1x_crypto.
    Booted the live installation and ran these commands:
    cryptsetup open /dev/mmcblk1p1x mmcblk1p1x_crypto
    *mounted my lvms and boot*
    chrooted /the/chroot/enviroment

    mount -t efivarfs efivarfs /sys/firmware/ <-- I think didn't work outside the environment
    apt full-upgrade
    grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
    grubmkconfig -o /boot/grub/grub.cfg
    update-initramfs <-- Just in case

    rebooted and it worked.
    Last edited by Impudence14; 2021-09-16 at 19:53.

  2. #2
    Join Date
    2021-Sep
    Posts
    4
    I figured out the reason why it was creating a busted init. When I chrooted the crypto device, the installer already created a name for it, and that idea slipped past my head because I am so use to compiling,building everything from scratch. Example: cryptsetup open /dev/mmcblk1px kali

Similar Threads

  1. Replies: 0
    Last Post: 2022-01-20, 18:12
  2. How to install privileged extension manually - no twrp?
    By aaronouthier in forum Installing NetHunter
    Replies: 3
    Last Post: 2020-11-21, 00:56
  3. how to install nethunter on oneplusone 64 manually ?
    By flatounet in forum NetHunter General Questions
    Replies: 2
    Last Post: 2015-01-08, 16:22

Posting Permissions

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