Summary: | genkernel: root on lvm gen-initramfs.sh fail | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Pavel V Samsonov <samsonov> |
Component: | genkernel | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mail, sping |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 351772 |
Description
Pavel V Samsonov
2010-03-05 07:35:50 UTC
*** Bug 307859 has been marked as a duplicate of this bug. *** *** Bug 307857 has been marked as a duplicate of this bug. *** What version of genkernel? Patch it how? I hit that same bug when switching from my custom initrd to the genkernel initrd. The /init script inside the initramfs is supposed to generate the vgscan and vgchange symlinks. Here is the code snippet: if [ "$0" = '/init' ] then [ -e /linuxrc ] && rm /linuxrc if [ -e /bin/lvm ] then ln -s /bin/lvm /bin/vgscan ln -s /bin/lvm /bin/vgchange fi fi as you can see, it only creates them, when it whas called as init and not as linuxrc. So if you use the kernel parameter rdinit=/init instead of the default rdinit=/linuxrc everything works just fine. Now why that check is there at all, I have no idea ;) I have applied this patch to the experimental branch: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commitdiff;h=b4f310213ef80357880ba63a93b85922d7b07a44 The genkernel-99999 ebuild (fix nines) exposes that branch. Please let me know how it works for you. If I don't hear anything, I may close this bug in two weeks. |