--- do_mounts.c.orig Wed Jun 16 19:17:02 2004 +++ do_mounts.c Wed Jun 16 19:17:49 2004 @@ -348,6 +348,7 @@ { char *fs_names = __getname(); char *p; + int tries = 10; get_fs_names(fs_names); retry: @@ -367,6 +368,8 @@ * Allow the user to distinguish between failed open * and bad superblock on root device. */ + if (!--tries) + break; printk ("VFS: Cannot open root device \"%s\" or %s, " "retrying in 1s.\n", root_device_name, kdevname (ROOT_DEV));