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:
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?
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