All of lore.kernel.org
 help / color / mirror / Atom feed
From: Raymond Yeung <rksyeung@hotmail.com>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Any Linux/Yocto Image Installer (for target system)
Date: Sat, 7 Jul 2018 00:04:59 +0000	[thread overview]
Message-ID: <MWHPR19MB1183781E295393C010F655E6C5470@MWHPR19MB1183.namprd19.prod.outlook.com> (raw)
In-Reply-To: <MWHPR19MB1183DC762147A7F8D864EF36C5470@MWHPR19MB1183.namprd19.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 1761 bytes --]

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@hotmail.com>
Sent: Friday, July 6, 2018 2:52 PM
To: yocto@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

[-- Attachment #2: Type: text/html, Size: 3918 bytes --]

  reply	other threads:[~2018-07-07 22:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.87211.1530587331.15860.yocto@yoctoproject.org>
2018-07-03  6:05 ` How to remove a package from a build Raymond Yeung
2018-07-06 21:52   ` Any Linux/Yocto Image Installer (for target system) Raymond Yeung
2018-07-07  0:04     ` Raymond Yeung [this message]
2018-07-07 22:39     ` Burton, Ross
2018-07-09  3:10       ` Raymond Yeung
2018-07-09  9:02         ` Burton, Ross
2018-07-09 19:33           ` Raymond Yeung
2018-08-28  2:29     ` Hongxu Jia
2018-07-06 22:06   ` How to remove openssl from sysroots Raymond Yeung
2018-07-07 22:41     ` Burton, Ross
2018-07-08  6:14       ` Raymond Yeung
2018-07-08  8:06         ` Burton, Ross
     [not found]           ` <MWHPR19MB118360BDB9585099B356D139C5440@MWHPR19MB1183.namprd19.prod.outlook.com>
2018-07-09  0:32             ` Raymond Yeung
2018-07-09 14:31               ` Alexander Kanavin
2018-07-09 18:08                 ` Raymond Yeung
2018-07-09 18:16                   ` Alexander Kanavin
2018-07-09 18:35                     ` Alexander Kanavin
2018-07-08  8:07       ` Alexander Kanavin
2018-07-09  2:04     ` Philip Balister
2018-07-09  3:47       ` Andre McCurdy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MWHPR19MB1183781E295393C010F655E6C5470@MWHPR19MB1183.namprd19.prod.outlook.com \
    --to=rksyeung@hotmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.