Try loading phram module twice to fix loading issue.
authorMichael Prokop <mika@grml.org>
Mon, 11 Jul 2011 10:42:24 +0000 (12:42 +0200)
committerChristian Hofstaedtler <ch@grml.org>
Tue, 6 Dec 2011 11:18:17 +0000 (12:18 +0100)
phram doesn't work on first modprobe, when loading once again it seems
to work. So let's try it this way.

scripts/live

index 23d0bbc..e5d3186 100755 (executable)
@@ -1840,6 +1840,7 @@ mountroot ()
                                then
                                        # We found a memdisk, set up phram
                                        modprobe phram phram=memdisk,${MEMDISK}
+                                       modprobe phram phram=memdisk,${MEMDISK}
 
                                        # Load mtdblock, the memdisk will be /dev/mtdblock0
                                        modprobe mtdblock