[yocto] Invalid configuration from end user prevents continuing

Khem Raj raj.khem at gmail.com
Thu Nov 3 12:12:58 PDT 2016

> On Nov 2, 2016, at 11:21 PM, Andrew Stuart <andrew.stuart at supercoders.com.au> wrote:
> Hello
> I'm trying to get yocto to run from a hard disk.  It's not finishing the boot process. Research suggests that there is some problem around the rootfs.
> Here is a screenshot of where the boot is stuck (also attached to this email)
> http://imgur.com/a/pf9Cy <http://imgur.com/a/pf9Cy>
> grub.cfg looks like this:
> serial --speed=115200 --word=8 --parity=no --stop=1
> terminal_input --append  serial
> terminal_output --append serial
> set timeout=1
> menuentry 'yocto' {
> linux /boot/yocto_bzImage root=/dev/xvda1 rw console=ttyS0,115200

You might need to change this to whatever kernel thinks about the root disk device
may be its added as /dev/sdaX or /dev/hdaX

> }
> To make this system boot, I did the following:
> 1: boot ubuntu
> 2: delete everything except the /boot directory from ubuntu’s root partition
> 3: mount the rootfs image that was generated by yocto
> 4: copy all files from the mounted rootfs image onto the hard drive root partition
> 5: replace the grub.cfg with the one shown above.
> It should work I imagine…..
> I guess that an invalid configuration from me is preventing it continuing.  Trouble is I am not sure what I have configured wrong.
> I'm not sure what I can do to take a next step in resolving this.  Does anyone have any suggestions? thanks.
> thanks
> <attachment.jpeg>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161103/8cd4f551/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161103/8cd4f551/attachment.pgp>

More information about the yocto mailing list