linux - How do I boot from an .hddimg file? -


after running bitbake on several different recipe files, bitbake generates file of type '.hddimg'. haven't been able find clear explanation on file used for, closest have found speculation on mailing list here. author paul states that:

the image isn't image of regular bootable system drive, "live image" of smaller system can either boot real system virtualized file system in ram image read single file in first level, or can install real system different drive.

the 'bootimg.bbclass' generates .hddimg, , in opening comments written that:

a .hddimg file [is] msdos filesystem containing syslinux, kernel, initrd , rootfs image. these can written harddisks directly , booted on usb flash disks (write them there dd).

which appears corroborate paul wrote, still leaves lot of ambiguity on how go booting file (at least greenhorn me).

well, doc says "write them there dd". so:

dd if=/path/to/your/hddimg of=/path/to/raw/usb/device 

so, if have file my.hddimg , usb flash disk appears /dev/sdg

dd if=/home/karobar/my.hddimg of=/dev/sdg 

as it's name implies, it's image, needs written such. actual file system inside of rootfs file, image!

once have on usb stick, usb stick should bootable. depending on you're trying may not easiest kind of output bitbake work with.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -