Three days ago there were all OK with netboot. But todays check
out of live-initramfs bring the new bug making impossible to
boot with cifs mounted root fs. 

Who is the author of this new code?

    if [ "${NFSROOT#*:}" = "$NFSROOT" ]; then
        NFSROOT=${ROOTSERVER}:${NFSROOT}
    fi

Please, when You improving one thing like nfs, do not break down
tightly binding other like cifs. You are looking for colon in
NFSROOT, but there never are one in case of cifs.

Here is patch, attached for scripts/live rev. 2554/2524

-- 

*********************************
****   Vladimir Stavrinov  ******
*******   [EMAIL PROTECTED]   ******
*********************************

diff -ur live-initramfs/scripts/live live-initramfs.patched/scripts/live
--- live-initramfs/scripts/live	2007-07-20 13:05:55.000000000 +0400
+++ live-initramfs.patched/scripts/live	2007-07-20 15:45:03.000000000 +0400
@@ -145,7 +145,7 @@
 				export MODULE
 				;;
 
-			netboot*)
+			netboot=*)
 				NETBOOT=${x#netboot=}
 				export NETBOOT
 				;;
@@ -406,7 +406,7 @@
     . /tmp/net-${DEVICE}.conf
     export HOSTNAME
 
-    if [ "${NFSROOT#*:}" = "$NFSROOT" ]; then
+    if [ "${NFSROOT#*:}" = "$NFSROOT" ] && [ "$NETBOOT" != "cifs" ]; then
 	NFSROOT=${ROOTSERVER}:${NFSROOT}
     fi
 
_______________________________________________
Debian-live-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Reply via email to