[yocto] Any Linux/Yocto Image Installer (for target system)

Raymond Yeung rksyeung at hotmail.com
Fri Jul 6 17:04:59 PDT 2018


I tried poky/scripts/contrib/mkefidisk.sh. It showed promised as 3 primary partitions are created on my SSD instead of just 1 when I used dd to write .hddimg. However, I ran into a number of failures when I ran this script:


  1.  mktemp fails, as the .sh uses 3 "X" instead of 6 "X" as temporary directory suffix.
  2.  Failures that look like this:  udevd[1140]: inotify_add_watch(6, /dev/sda1, 10) failed: No such file or directory".


My SSD is mounted as /dev/sda, while at the time I've a USB as boot device to boot the system up.  When I activate the SSD image, I have this USB device removed first, so SSD should come up as /dev/sda.  Yet, boot fails, with a blank screen.


Any idea what might have gone wrong?


________________________________
From: Raymond Yeung <rksyeung at hotmail.com>
Sent: Friday, July 6, 2018 2:52 PM
To: yocto at yoctoproject.org
Subject: Any Linux/Yocto Image Installer (for target system)


Is there any installer that I could download along with the .hddimg (or .iso) image to the RAM, invoke the installer, so we could have a bootable image installed on a SSD?


History:

I can already create USB live image with dd and .hddimg.  I could also dd the .hddimg onto SSD and make it bootable.  The problem is that I need multiple partitions on my 250MB SSD, some reserved for other purposes.


I find that when booting up with USB running SysLinux, I could install GRUB, vmlinuz, along with boot.img and core.img under /boot directory, and the rootFs under root (i.e. '/') directory.  That's 4 partitions.  I believe I could resize the largest partition after installation to do what I want.


Is there a way to do this manually, possibly with a utility or a shell script?


Thanks,

Raymond
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180707/cd34d342/attachment.html>


More information about the yocto mailing list