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

Can't boot OpenEmbedded on Juno R1

I got an error message "Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,2)".

I'm referring Using Linaro's deliverables on Juno .

And I choose OpenEmbedded Minimal filesystem and prebuild binary juno-latest-oe-uefi.zip .

It was going well with LSK 14.02 preinstalled on Juno.

I want to update software version so that I tried the contents in the article.

Does anyone know how to make this work?

Thanks for the help.

9110.zip
Parents
  • Hi,

    The problem is actually that your USB hasn't been correctly formatted. From your fdisk log:

    Device       Boot      Start        End     Blocks  Id  System

    /dev/sdb1p1  *            63     155646      77792   e  W95 FAT16 (LBA)

    /dev/sdb1p2           155648    6291455    3067904  83  Linux

    We should see /dev/sdb1 and /dev/sdb2, but what you actually have is /dev/sdb1p1 and /dev/sdb1p2. We can confirm that this is the problem by looking at your kernel log. We only see this:

    [    6.597568]  sda: sda1

    When we should see an sda2 there as well. Also, your error message was:

    [    8.284227] VFS: Cannot open root device "sda2" or unknown-block(8,2): error -6

    Confirming the above.

    I have a feel that what you've done is this:

    $ sudo dd if=<image_file>.img of=/dev/sdb1 bs=64M

    Whereas what you should have done is this:

    $ sudo dd if=<image_file>.img of=/dev/sdb bs=64M

    i.e. point the of flag of dd at /dev/sdb, *NOT* at /dev/sdb1

    Can you try this and see if that works?

Reply
  • Hi,

    The problem is actually that your USB hasn't been correctly formatted. From your fdisk log:

    Device       Boot      Start        End     Blocks  Id  System

    /dev/sdb1p1  *            63     155646      77792   e  W95 FAT16 (LBA)

    /dev/sdb1p2           155648    6291455    3067904  83  Linux

    We should see /dev/sdb1 and /dev/sdb2, but what you actually have is /dev/sdb1p1 and /dev/sdb1p2. We can confirm that this is the problem by looking at your kernel log. We only see this:

    [    6.597568]  sda: sda1

    When we should see an sda2 there as well. Also, your error message was:

    [    8.284227] VFS: Cannot open root device "sda2" or unknown-block(8,2): error -6

    Confirming the above.

    I have a feel that what you've done is this:

    $ sudo dd if=<image_file>.img of=/dev/sdb1 bs=64M

    Whereas what you should have done is this:

    $ sudo dd if=<image_file>.img of=/dev/sdb bs=64M

    i.e. point the of flag of dd at /dev/sdb, *NOT* at /dev/sdb1

    Can you try this and see if that works?

Children