Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46167 - Genkernel & Lvm2
Summary: Genkernel & Lvm2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on: 44091
Blocks:
  Show dependency tree
 
Reported: 2004-03-29 14:22 UTC by Philipp Kirchner
Modified: 2004-06-23 08:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for LVM2 (genkernel.patch,1.51 KB, patch)
2004-05-15 11:15 UTC, Philipp Kirchner
Details | Diff
Patch for genkernel - 2nd Edition (genkernel.patch,1.56 KB, patch)
2004-05-23 02:00 UTC, Philipp Kirchner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Kirchner 2004-03-29 14:22:38 UTC
Please add lvm2 support to genkernel, so i can use gentoo on my root-on-lvm system...
Comment 1 Philipp Kirchner 2004-03-30 11:37:00 UTC
I applied the patch from #44091, i now have statically linked lvm2, i am trying to tweak genkernel to include the binaries and execute them on boot...
Comment 2 Philipp Kirchner 2004-05-15 11:15:34 UTC
Created attachment 31489 [details, diff]
Patch for LVM2

When you apply this patch to genkernal and have build lvm2 statically, it will
scan and activate your volumes in the initrd -> root on lvm2 is possible
(tried with 2.4.25-gentoo)
Comment 3 Philipp Kirchner 2004-05-23 02:00:16 UTC
Created attachment 31879 [details, diff]
Patch for genkernel - 2nd Edition

This one also works without having "mount devfs at boot" set....
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2004-06-12 15:04:29 UTC
Added into genkernel-3.0.2b; it should reach Portage from CVS in half-an-hour. Thanks!
Comment 5 Andreas Simon 2004-06-23 05:31:49 UTC
+ 	if [ -e "/sbin/vgscan.static" ]

Neither lvm2-2.00.08.ebuild nor lvm2-2.00.15.ebuild
provide any vgscan.static. Only vgscan which is a symlink
to lvm.

Which package provides vgscan.static?
The lvm2 ebuilds also do not support USE=static.
Comment 6 Philipp Kirchner 2004-06-23 08:52:35 UTC
For Now you have to use the patches form Bug 44091 to get statically linked lvm2