devdoc:devdoc_create_image

Create a Flash Image

After running ./scripts/build, do:

./scripts/astlinux-makeimage -z 256 256 0

This creates an astlinux-xxx.img.gz file with a single FAT16 partition of 256MB.

Burn this image to a CF or USB flash drive:

zcat astlinux-xxx.img.gz | dd of=/dev/sdc bs=64k

(if /dev/sdc is where my system detects the CF… Be very careful to get of= correct…)

If you hadn't used the -z flag, then it would just be:

dd if=astlinux-xxx.img of=/dev/sdc bs=64k

to burn this image onto a CF.

Wait until the 'busy' light on your CF reader stops blinking. Just to be sure, do:

sync

At this point, you may remove your CF and install it into your target system, power up… boot,
and follow New Installation to complete the process.



Note: The above ./scripts/astlinux-makeimage part does NOT work in a virtual machine, which runs as an LXC container (e.g. in Proxmox). You'll need a “real” VM (with full Hardware-Virtualization) for this to work.

  • devdoc/devdoc_create_image.txt
  • Last modified: 2022/05/21 10:53
  • by mkeuter