Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

cannot open root device

Hello All !

I built Kernel success on platform linux . but I got error when I load kernel to board .

.... cannot open root device "NULL" or unknown-block(0,0)

please append a correct "root =" boot option

kernel panic - not syncing : VFS: unable to mount root fs on unknown-block(0,0)

I think need to modify "Default kernel command string" when I configure kernel is it correct ? and I don't know how to modify that . please help me !!!

thanks .

14 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by dai_minh@Nov 20 2006, 03:35 PM

    hi hippo !

    yes i think it have problem when install romfs . but how is it resolve ?

    i use fedora core 5 .

    thank very much for help !!!

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=19531)

    --- quote end ---

    --- Quote End ---

    I will check fc5 later.

    Please run "make romfs" again, and check the romfs dir.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Hippo .

    thanks for quick reply !

    I did "rm -rf romfs" and "make romfs " again but result is same . romfs/bin is empty .

    thanks .
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by hippo+nov 20 2006, 02:39 am--><div class='quotetop'>quote (hippo @ nov 20 2006, 02:39 am)</div>

    --- quote start ---

    <!--quotebegin-dai_minh@Nov 20 2006, 03:35 PM

    hi hippo !

    yes i think it have problem when install romfs . but how is it resolve ?

    i use fedora core 5 .

    thank very much for help !!!

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=19531)

    --- quote end ---

    --- Quote End ---

    I will check fc5 later.

    Please run "make romfs" again, and check the romfs dir.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=19532)</div>

    [/b]

    --- Quote End ---

    Hello,

    I had the same problem. I fixed it by specifying the path to the boot image. For some reason it was poininting to something else. When one starts specifying the Kernel options, one of the entries idicates where that image is. I don&#39;t have the machine next to me, so I can not tell you where exactly it is. Sorry.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote End ---

    Hello,

    I had the same problem. I fixed it by specifying the path to the boot image. For some reason it was poininting to something else. When one starts specifying the Kernel options, one of the entries idicates where that image is. I don&#39;t have the machine next to me, so I can not tell you where exactly it is. Sorry.

    --- Quote End ---

    Hello .

    thank for help !

    You fixed it by specifying the path to the boot Image . you mean is modify "Default kernel command string"

    and How about your romfs dir . the most subdir in my romfs dir is empty except romfs/etc and romf/home .

    thanks .