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

  • Note: This was originally posted on 20th August 2009 at http://forums.arm.com

    can some body comment for me what the above log mean? specially at the last part. I am new to embedded system programing
  • Note: This was originally posted on 20th 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.
  • 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.
  • Note: This was originally posted on 21st August 2009 at http://forums.arm.com

    its me again:

    can somebody tell from the above log file if the attempt was to load the root file system from flash or ram?
  • Note: This was originally posted on 24th August 2009 at http://forums.arm.com

    The uncommented line is a Flash device, the commented-out line is a RAM device.
  • Note: This was originally posted on 25th August 2009 at http://forums.arm.com

    The uncommented line is a Flash device, the commented-out line is a RAM device.


    I've resolved. Sorry for the useless post
More questions in this forum