This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

<0>Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)

Parents
  • Note: This was originally posted on 21st August 2009 at http://forums.arm.com

    Linux is failing to find the root filesystem - so the boot cannot proceed any further.

    You need to specify an appropriate "root" parameter on the kernel "command line" - either hard coded, or specified by the bootloader.


    tanks isogen74 for your replay.  :unsure:

    I have specified the root parameter in my bootloader in the linuxboot.h as follows

    #define LINUX_COMMAND_LINE "root=/dev/mtdblock3 rw rootfstype=jffs2 console=tty1 rootflags=noatime noinitrd"  //run from flash to the board terminal
    //#define LINUX_COMMAND_LINE "root=/dev/ram0 rw initrd=0xA8A00000,2400K rootfstype=romfs init=/bin/init console=tty1 rootflags=noatime"  //run from ram


    the idea was to use one of the two lines above to test both from ram and from flash. but I have problems with both ways. and the above log report is when it is tested from flash.
Reply
  • Note: This was originally posted on 21st August 2009 at http://forums.arm.com

    Linux is failing to find the root filesystem - so the boot cannot proceed any further.

    You need to specify an appropriate "root" parameter on the kernel "command line" - either hard coded, or specified by the bootloader.


    tanks isogen74 for your replay.  :unsure:

    I have specified the root parameter in my bootloader in the linuxboot.h as follows

    #define LINUX_COMMAND_LINE "root=/dev/mtdblock3 rw rootfstype=jffs2 console=tty1 rootflags=noatime noinitrd"  //run from flash to the board terminal
    //#define LINUX_COMMAND_LINE "root=/dev/ram0 rw initrd=0xA8A00000,2400K rootfstype=romfs init=/bin/init console=tty1 rootflags=noatime"  //run from ram


    the idea was to use one of the two lines above to test both from ram and from flash. but I have problems with both ways. and the above log report is when it is tested from flash.
Children
No data