Summary: | genkernel should support real_root=UUID/LABEL=* | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Richard Freeman <rich0> |
Component: | [OLD] Core system | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED INVALID | ||
Severity: | enhancement | CC: | alexanderyt, sping |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Richard Freeman
2011-01-14 22:42:37 UTC
Hello! If I'm not mistaken, this feature is supported in the latest stable release already. Do you have either of a) DISKLABEL="yes" in genkernel.conf or b) --disklabel appended to the invocation of genkernel? From the code point of view it should be working: # fgrep -iR real_resume . [..] ./defaults/linuxrc: RESUME_DEV=`findfs "${REAL_RESUME}" 2>/dev/null` ./defaults/linuxrc: RESUME_DEV=`busybox findfs "${REAL_RESUME}" 2>/dev/null` ./defaults/linuxrc: RESUME_DEV=`blkid -t "${REAL_RESUME}" | cut -d ":" -f 1 2>/dev/null` [..] If it doesn't work with stable, please try genkernel-99999 (five nines) instead, though I don't expect that to be necessary here. Please report back, how it works out. If I do not hear anything in two weeks, I may close this bug. (In reply to comment #1) > a) DISKLABEL="yes" in genkernel.conf or yes > > From the code point of view it should be working: > > # fgrep -iR real_resume . Try fgrep -iR real_root . This bug isn't about REAL_RESUME - it was just for comparison. (In reply to comment #2) > Try fgrep -iR real_root . > This bug isn't about REAL_RESUME - it was just for comparison. Right, sorry. Still, there's similar code in for real_root: # fgrep -iR real_root . [..] ./defaults/linuxrc: ROOT_DEV=`findfs "${REAL_ROOT}" 2>/dev/null` ./defaults/linuxrc: ROOT_DEV=`busybox findfs "${REAL_ROOT}" 2>/dev/null` ./defaults/linuxrc: ROOT_DEV=`blkid -l -t "${REAL_ROOT}" | cut -d ":" -f 1 2>/dev/null` [..] Any ideas? Whoops - must have somehow been using an older version when I did the build. I agree, it is in there. Still won't work for me until mdadm is included, but that is already covered by another bug. closing, and sorry for the noise... |