Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Genkernel: ERROR: Binary /sbin/mdassemble could not be found
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
Bounteous
n00b
n00b


Joined: 09 Feb 2018
Posts: 9
Location: Spain

PostPosted: Fri Nov 09, 2018 11:03 pm    Post subject: Genkernel: ERROR: Binary /sbin/mdassemble could not be found Reply with quote

Code:
genkernel --udev --lvm --mdadm --luks initramfs


Code:
* Gentoo Linux Genkernel; Version 68
* Running with options: --udev --lvm --mdadm --luks initramfs

* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..

* Linux Kernel 4.14.78-gentoo-v0.0.1 for x86_64...
* .. with config file /usr/share/genkernel/arch/x86_64/kernel-config
* busybox: >> Using cache
* initramfs: >> Initializing...
*         >> Appending base_layout cpio data...
*         >> Appending udev cpio data...
cp: cannot stat '/etc/modprobe.d/blacklist.conf': No such file or directory
* cannot copy /etc/modprobe.d/blacklist.conf from udev
*         >> Appending auxilary cpio data...
*         >> Copying keymaps
*         >> Appending busybox cpio data...
*         >> Appending lvm cpio data...
* LVM: Adding support (copying binaries from system)...
*         >> Appending mdadm cpio data...
* ERROR: Binary /sbin/mdassemble could not be found



Downgrade version from sys-fs/mdadm-4.1 to 3.4 fixed it.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Sat Nov 10, 2018 12:41 pm    Post subject: Reply with quote

There is also an open bug https://bugs.gentoo.org/669792
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
russK
l33t
l33t


Joined: 27 Jun 2006
Posts: 665

PostPosted: Tue Nov 27, 2018 3:14 am    Post subject: Reply with quote

I can confirm Comment #15 to the bugreport, you can now upgrade genkernel-next to sys-kernel/genkernel-next-69 to get past this problem.

https://bugs.gentoo.org/669792#c15

Cheers
Back to top
View user's profile Send private message
TiccTech
n00b
n00b


Joined: 13 Jun 2004
Posts: 42
Location: Oregon, US

PostPosted: Fri Nov 30, 2018 2:58 am    Post subject: Reply with quote

EDIT: I figured out what my problem was. Details in https://forums.gentoo.org/viewtopic-t-1090040.html.

I tried sys-kernel/genkernel-next-69 with sys-fs/mdadm-4.1. However, doing a
Code:
genkernel --mdadm initramfs
produced an initramfs that panicked on boot because it could not find the root partition (which is RAID1). I downgraded to sys-kernel/genkernel-next-68 and sys-fs/mdadm-3.4, did the same procedure, and can successfully boot.

So something's not quite right somewhere in the newer versions. :(

-TiccTech


Last edited by TiccTech on Sat Dec 01, 2018 1:12 am; edited 1 time in total
Back to top
View user's profile Send private message
Maitreya
Guru
Guru


Joined: 11 Jan 2006
Posts: 441

PostPosted: Fri Nov 30, 2018 2:33 pm    Post subject: Reply with quote

I think I had the same with btrfs and not finding udev in initramfs at boot.
For me a genkernel cache clear was enough to fix it.
Back to top
View user's profile Send private message
Arrta
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2003
Posts: 106

PostPosted: Fri Mar 08, 2019 9:26 pm    Post subject: Reply with quote

4 month old post, but I just ran in to this myself today.
genkernel-next nolonger has a 69 build, and I was getting the "mdassemble could not be found" error.
Back reved mdadm to 3.4 to resolve.
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