[readonly/geninitrd/devel: 215/334] Mention proper kernel cmdline setup for root on nfs/lvm2 configurations.
draenog
draenog at pld-linux.org
Sat Nov 2 19:29:36 CET 2013
commit d024196bd87c8891a860d6ca95d0b1ac5e31ead4
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Jun 24 13:22:28 2004 +0000
Mention proper kernel cmdline setup for root on nfs/lvm2 configurations.
svn-id: @4239
geninitrd | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/geninitrd b/geninitrd
index 6256979..11c34cf 100755
--- a/geninitrd
+++ b/geninitrd
@@ -556,6 +556,8 @@ find_modules_for() {
findmodule "-ipv4"
findmodule "nfs"
usenfs="yes"
+ echo "Remember to use \`root=/dev/ram0 init=/linuxrc' when starting kernel" >&2
+ echo "or you will have problems like init(xx) being child process of swapper(1)." >&2
elif is_yes "`echo "$1" | awk '/^\/dev\/md/ { print "yes"; }'`"; then
find_modules_softraid "$1"
elif is_yes "$(echo "$1" | awk '/^\/dev\/(sd|scsi)/ { print "yes"; }')" ; then
@@ -635,6 +637,8 @@ find_modules_for() {
fi
if [ "$LVMTOOLSVERSION" = "2" ]; then
findmodule "-dm-mod"
+ echo "Remember to use \`root=/dev/ram0 init=/linuxrc' when starting kernel" >&2
+ echo "or you will have problems like init(xx) being child process of swapper(1)." >&2
elif [ "$LVMTOOLSVERSION" = "1" ]; then
findmodule "-lvm"
findmodule "-lvm-mod"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/398807324938659207036e520c0950a61ef50c11
More information about the pld-cvs-commit
mailing list