0

I am trying to boot Kali from an iso file located on an LVM volume.

As far as I can tell, initramfs does not activate the volume group where the iso is located, so the live iso filesystem is not mounted. The

/init

script fails with "no medium containing a live file system" error. As far as I can tell, the /scripts/local-top/lvm2 functions are not being used to mount the lvm VG.

I am using GRUB as the bootloader, my configuration is as follows:

menuentry "Kali Live" {
    set root="(lvm/ubuntu--vg-home)"
    set iso="/myusername/Downloads/kali-linux-2018.2-amd64.iso"
    loopback loop ($root)$iso

    linux   (loop)/live/vmlinuz-4.15.0-kali2-amd64 boot=live findiso=$iso root=$root components splash username=root hostname=kali
    initrd  (loop)/live/initrd.img-4.15.0-kali2-amd64
}

I think it might be related to this bug but I am not sure. Is this a but in Kali initramfs or am I doing something wrong? The iso mounts fine when it is not on an LVM volume

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.