Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't create initramfs with lvm binary after systemupdate
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
bookwood
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2005
Posts: 110
Location: Dortmund

PostPosted: Wed Nov 22, 2017 2:25 pm    Post subject: Can't create initramfs with lvm binary after systemupdate Reply with quote

Yesterday I updated my system. I want to use also the new kernel 4.12.12. I used always the following genkernel command's in the last two years and it works perfectly in the past, until today:
Code:

genkernel --menuconfig --lvm --makeopts="-j10'' all
grub-mkconfig -o /boot/grub/grub.cfg


I try to boot, it fails and got a message about a missing lvm binary in initramfs.

When I search in the initramfs, I got the following:
Code:

mkdir /tmp/initrd
xzcat /boot/initramfs-genkernel-x86_64-4.12.12-gentoo | cpio -idmv
find . -name "*lvm*"
./lib/udev/rules.d/11-dm-lvm.rules
./lib/udev/rules.d/69-dm-lvm-metad.rules
./etc/modules/lvm
./etc/lvm
./etc/lvm/lvm.conf

When I do the same with my old initramfs, I got:
Code:

find . -name "*lvm*"
./sbin/lvm
./lib/udev/rules.d/11-dm-lvm.rules
./lib/udev/rules.d/69-dm-lvm-metad.rules
./etc/modules/lvm
./etc/lvm
./etc/lvm/lvm.conf


The
Code:
/sbin/lvm
binary is missing. I try to set the static useflag for lvm2, but my system ignores this setting in package use.

Here is my emerge --info
https://paste.pound-python.org/show/HHFx5kmfVAdNjlJ6b4Ek/

And here the output of genkernel
https://paste.pound-python.org/show/FpczK0E7VOIHMO7jbyWR/

Thanks in advance for any help
Back to top
View user's profile Send private message
bookwood
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2005
Posts: 110
Location: Dortmund

PostPosted: Wed Nov 22, 2017 8:14 pm    Post subject: Reply with quote

It was the lddtree program from paxutils. I used python 3.5, but paxutils need python 3.4. The following setting solve the problem:
Code:
eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.5
  [3]   python2.7
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum