Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121616 - genkernel does not copy /etc/lvm/lvm.conf in the initramfs with --lvm2
Summary: genkernel does not copy /etc/lvm/lvm.conf in the initramfs with --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:
Blocks:
 
Reported: 2006-02-04 18:31 UTC by Mike Schwarz
Modified: 2006-04-14 07:51 UTC (History)
0 users

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


Attachments
patch for gen_initramfs.sh and gen_initrd.sh (lvmconf.patch,2.95 KB, patch)
2006-02-04 18:35 UTC, Mike Schwarz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Schwarz 2006-02-04 18:31:19 UTC
When building an initrd (initramfs) with --lvm2, the /etc/lvm/lvm.conf file is
not placed into the initramfs.  I am using both lvm and evms on 2 different disks
and without the lvm.conf file, the linuxrc configures the evms drive for lvm and
then evms cannot initialize the drive.  When building for evms, the evms.conf file
is copied in.  (I only use either --lvm2 or --evms depending on which drive I'm 
booting from although it should be able to configure both.)
Comment 1 Mike Schwarz 2006-02-04 18:35:19 UTC
Created attachment 78909 [details, diff]
patch for gen_initramfs.sh and gen_initrd.sh
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2006-04-14 07:51:13 UTC
Fixed in 3.3.11d, thanks!