tokiclover / mkinitramfs-ll

Lightweight, modular and powerfull initramfs generating tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ikswap: device field empty

royneary opened this issue · comments

Hi tokiclover,

I just upgraded from version 0.10.0 to 0.10.9. My setup is still the same one that I described in issue #6.
My kernel options are still:

kernel /boot/kernel-3.0.6-gentoo iroot=vg-root:c:ext4 iswap=swap:vg-swap ilvm=sda2_crypt-sda2,sda2_crypt-sda2 ikmap=de-latin1-nodeadkeys-x86_64.bin

I'm being dropped into a shell after this:


Switching to init shell run level: 2s
*[1]: ikswap = :: device field empty

If ikswap is required now, I don't know what to assign to it.

I'm closing the issue because the answer is already in the title! Your appedning a iswap' without anyikswap' which causing the issue.

I got it working with the following kernel options:

kernel /boot/kernel-3.0.6-gentoo iroot=vg-root:c:ext4 ikroot=pwd:sda2 ilvm=sda2_crypt-sda2,sda2_crypt-sda2 ikmap=de-latin1-nodeadkeys-x86_64.bin

I found it a little confusing that the README file says it's not mandatory to append the ikroot argument because in my case (partitions as logical volumes in an encrypted lvm container) explicitly appending the physical volume to ikroot obviously is mandatory.
Upgrading to version 0.10.9 also solved issue #8 for me.

Thanks for your help!

royneary

Correction: It doesn't have to be the physical volume in the ikroot argument. Just a colon is after the is sufficient, e.g. 'ikroot=pwd:'

Other people reading this may also want to read tokiclover's replies in issue #8 which helped me solving this.

Thanks for reporting, you're right in for the last point. Will be fixed in
the next commit.