--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -256,6 +256,8 @@ static void __init get_fs_names(char *pa
 {
 	char *s = page;
 
+	if (!root_fs_names)
+		root_fs_names = "squashfs,jffs2";
 	if (root_fs_names) {
 		strcpy(page, root_fs_names);
 		while (*s++) {
