yocto meta intel dual boot with windows 8.1


Sachin Dagur
 

Hi

I am new to yoctoproject and have a system with intel architecture and embedded OS based on windows 8.1 installed. But now I want to make a dual boot system with yocto. I have around 100 GB free space when checked in disk management.

So here's what I did downloaded poky repo and meta-intel sub repo. appended the following at the end of my local.conf file

MACHINE = "intel-corei7-64"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "grub"
PREFERRED_VERSION_grub ?= "2.0"
WKS_FILE = "image-installer.wks.in"
IMAGE_FSTYPES_append = " ext4"
IMAGE_TYPEDEP_wic = "ext4"
INITRD_IMAGE_LIVE="core-image-minimal-initramfs"
do_image_wic[depends] += "${INITRD_IMAGE_LIVE}:do_image_complete"
do_rootfs[depends] += "virtual/kernel:do_deploy"
IMAGE_BOOT_FILES_append = "\
      ${KERNEL_IMAGETYPE} \
  microcode.cpio \
  ${IMGDEPLOYDIR}/${IMAGE_BASENAME}-${MACHINE}.ext4;rootfs.img \
  ${@bb.utils.contains('EFI_PROVIDER', 'grub-efi', 'grub-efi-bootx64.efi;EFI/BOOT/bootx64.efi', '', d)} \
  ${@bb.utils.contains('EFI_PROVIDER', 'grub-efi', '${IMAGE_ROOTFS}/boot/EFI/BOOT/grub.cfg;EFI/BOOT/grub.cfg', '', d)} \
  ${@bb.utils.contains('EFI_PROVIDER', 'systemd-boot', 'systemd-bootx64.efi;EFI/BOOT/bootx64.efi', '', d)} \
  ${@bb.utils.contains('EFI_PROVIDER', 'systemd-boot', '${IMAGE_ROOTFS}/boot/loader/loader.conf;loader/loader.conf ', '', d)} \
  ${@bb.utils.contains('EFI_PROVIDER', 'systemd-boot', '${IMAGE_ROOTFS}/boot/loader/entries/boot.conf;loader/entries/boot.conf', '', d)} "

So with the above config I build a sato image using bitbake command and got a .wic image file. But when I try to install the image on my system I could see 2 options

install
reboot to firmware settings.

when I selected the first option to install it only asks to install on sda, that means it will erase my entire disk and install only yocto.

So how can I achieve something like we do in standard linux distribution where we are able to install it on a specific partition/free space available. Is there any configuration I need to change/add?

Thanks

Join yocto@lists.yoctoproject.org to automatically receive all group messages.