Hi everyone,

I have an issue with my image of ARM Kali (kali-2.1-rpi2). I am following the instructions on https://www.offensive-security.com/k...sk-encryption/ to encrypt my kali image but when I get to this step mkinitramfs -o /boot/initramfs.g 3.18.16-v7 I get the following error

Code:
root@kali:~# ls -l /lib/modules/ |awk -F" " '{print $9}'

3.18.16-v7
root@kali:~# mkinitramfs -o /boot/initramfs.g 3.18.16-v7
cryptsetup: WARNING: failed to detect canonical device of /dev/mmcblk0p2
cryptsetup: WARNING: could not determine root device from /etc/fstab
dropbear: WARNING: Invalid authorized_keys file, remote unlocking of cryptroot via ssh won't work!
root@kali:~#
Can someone assist me in figuring out what I am doing wrong? i am following the instructions verbatim as I cannot carry on with the remaining sections in that link.