Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 69745

Summary: initrd doesn't mount a root-fs residing on lvm2
Product: Gentoo Linux Reporter: zaetnet
Component: [OLD] Core systemAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch against gen_initrd.sh

Description zaetnet 2004-11-01 11:08:40 UTC
gen_initrd.sh builds an initrd which contains links to the lvm-tools vgscan/vgchange. These links are existant at build-time, not at run-time. genkernel version is 3.1.0a

Reproducible: Always
Steps to Reproduce:
1. have your root-fs on an lvm-volume
2. run 'genkernel initrd', configure bootloader to use this initrd
3. initrd can't mount the root-fs

Actual Results:  
use the shell offered by initrd to manually correct the links

Expected Results:  
initrd should contain correct links
Comment 1 zaetnet 2004-11-01 11:11:14 UTC
Created attachment 43087 [details, diff]
patch against gen_initrd.sh
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-11-30 11:42:20 UTC
Ok, the patch is in genkernel-3.0.2c, it should reach rsync shortly. Please reopen this bug if you have any problems. Thanks!
Comment 3 Steve Hess 2004-12-06 13:51:17 UTC
This patch does not seem to be in 3.1.0c although it says it is in the changelog.
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2004-12-07 08:26:37 UTC
Hrm, well I was given another patch that changed it to what it is (it does a hard-link) and that suposedly works... Does is still fail for you?