Slackware 14.2 Install mkinitrd ERROR: No /lib/modules/4.4.14-smp kernel modules tree found for kernel " 4.4.14-smp"
Hello. I am following this guide http://ftp.slackware.com/pub/slackwa...ADME_CRYPT.TXT and am at the point where ive set up my partitions, created an encrypted root partition as /dev/mapper/cryptroot (the original device is /dev/sda1) and finished with the installed and edited the installer and chrooted into /mnt.
When I try to run Code:
mkinitrd -c -k 4.4.14-smp -m ext4 -f ext4 -r cryptroot -C /dev/sda1 Code:
ERROR: No /lib/modules/4.4.14-smp kernel modules tree found for kernel " 4.4.14-smp" |
Yes, for 64-bit you should use 4.4.14 rather than 4.4.14-smp.
|
Quote:
I need some help with the instructions if you may. In the same instructions in OP I am at "If you have another OS on your computer" it says to change Code:
"boot = /dev/mapper/cryptroot" Code:
boot = /dev/sdx4" |
I had to change boot=/dev/mapper/cryptroot to boot=/dev/sda which is the disk that contains my root and boot partitions in order for lilo to execute. I also added the appropriate line in /etc/crypttab as per instructions. Now when I boot it says
Code:
Unlocking LUKS encrypted device '/dev/sda1' as luks mapped device 'lukssda1' |
luks+lvm
howdy laxware:
Quote:
In lilo's image configuration, my root entry for my luks+lvm image looks like root=/dev/cryptvg/root (here, I wrote cryptvg, because that is what is used in README_CRYPT.txt instructions)... but on my setups, I use the hostname for cryptvg, because I put luks+lvm on bootable external usb-ssd, and if I used cryptvg as the volume group name on every setup, it would try to make two /dev/cryptvg/root when I mount external ssd... so I started using hostname for cryptvg to avoid that conflict. |
All times are GMT -5. The time now is 02:46 AM. |