> On Nov 2, 2016, at 11:21 PM, Andrew Stuart <andrew.stu...@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
> GRUB_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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to