Re: [2.5.53] Cannot open root device

Andrew Morton (akpm@digeo.com)
Tue, 24 Dec 2002 07:16:07 -0800


Kronos wrote:
>
> I have some problems booting kernel 2.5.53, it seems to be unable to
> find my root fs:
>
> VFS: Cannot open root device "305" or 03:05
>

Does this fix t?

--- 25/init/do_mounts.c~devfs-fix Tue Dec 24 07:15:16 2002
+++ 25-akpm/init/do_mounts.c Tue Dec 24 07:15:21 2002
@@ -848,11 +848,6 @@ void prepare_namespace(void)
{
int is_floppy;

-#ifdef CONFIG_DEVFS_FS
- sys_mount("devfs", "/dev", "devfs", 0, NULL);
- do_devfs = 1;
-#endif
-
md_run_setup();

if (saved_root_name[0]) {

_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/