<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 2, 2016, at 11:21 PM, Andrew Stuart <<a href="mailto:andrew.stuart@supercoders.com.au" class="">andrew.stuart@supercoders.com.au</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hello</div><div class=""><br class=""></div>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.<br class=""><br class=""><div class="">Here is a screenshot of where the boot is stuck (also attached to this email)<br class=""><br class=""></div><div class=""><a href="http://imgur.com/a/pf9Cy" class="">http://imgur.com/a/pf9Cy</a><br class=""><br class=""></div><div class="">grub.cfg looks like this:<br class=""><br class=""></div><div class="">serial --speed=115200 --word=8 --parity=no --stop=1<br class="">terminal_input --append  serial<br class="">terminal_output --append serial<br class="">set timeout=1<br class="">GRUB_TIMEOUT=1<br class="">menuentry 'yocto' {<br class="">linux /boot/yocto_bzImage root=/dev/xvda1 rw console=ttyS0,115200<br class=""></div></div></div></blockquote><div><br class=""></div><div>You might need to change this to whatever kernel thinks about the root disk device</div><div>may be its added as /dev/sdaX or /dev/hdaX</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">}</div><div class=""><br class=""></div><div class="">To make this system boot, I did the following:</div><div class="">1: boot ubuntu</div><div class="">2: delete everything except the /boot directory from ubuntu’s root partition</div><div class="">3: mount the rootfs image that was generated by yocto</div><div class="">4: copy all files from the mounted rootfs image onto the hard drive root partition</div><div class="">5: replace the grub.cfg with the one shown above.</div><div class=""><br class=""></div><div class="">It should work I imagine…..</div><div class=""><br class=""></div><div class="">I guess that an invalid configuration from me is preventing it continuing.  Trouble is I am not sure what I have configured wrong.</div><div class=""><br class=""></div><div class="">I'm not sure what I can do to take a next step in resolving this.  Does anyone have any suggestions? thanks.</div><div class=""><br class=""></div><div class="">thanks</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><span id="cid:FB7D8F16-914B-468B-8ED4-69CB1A756F3C"><attachment.jpeg></span></div></div>-- <br class="">_______________________________________________<br class="">yocto mailing list<br class=""><a href="mailto:yocto@yoctoproject.org" class="">yocto@yoctoproject.org</a><br class="">https://lists.yoctoproject.org/listinfo/yocto<br class=""></div></blockquote></div><br class=""></body></html>