linux - How do I put Yocto-generated image on a hard drive and boot it? -
i have run bitbake core-image-minimal-dev
configured genericx86 machine. bitbake generates bootia32.efi
, bzimage--<stuff>.bin
, .hddimg
, .iso
, .rootfs.ext3
, .rootfs.ext4
, .rootfs.tar.bz2
, , core-image-initramfs-<stuff>.rootfs.cpio.gz
. i'm interested in method of how dd 1 or more of these onto hard disk of target machine , boot hard disk.
dd if=path/to/imagefile/imagename.hddimg of=/dev/usbdevicename
you'll find correct usb device name e.g. plugging in usb disk , looking @ dmesg|tail
output -- not guess mistakes fatal hard disk. practical example build machine:
sudo dd if=tmp/deploy/images/intel-corei7-64/core-image-sato-intel-corei7-64.hddimg \ of=/dev/sdb \ bs=4096
note want use intel-corei7-64 machine unless know genericx86 correct hardware: despite name former common intel bsp that's not ancient (that includes big cores, xeons, atoms ...).
how boot image depends on target device: may need go bios settings select "boot usb".
Comments
Post a Comment