devdoc:devdoc_create_image

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
devdoc:devdoc_create_image [2011/05/04 14:04]
abelbeck
devdoc:devdoc_create_image [2022/05/21 10:53] (current)
mkeuter
Line 1: Line 1:
-====== Create an image ======+====== Create a Flash Image ======
  
  
-After running ''toolchain/build'', do:+After running ''./scripts/build'', do:
  
-  ./makerunnix.sh -z 128 128 0+  ./scripts/astlinux-makeimage -z 256 256 0
  
-This creates an astlinux-xxx.img.gz file with a single FAT16 partition of 128MB.+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: Burn this image to a CF or USB flash drive:
Line 12: Line 12:
   zcat astlinux-xxx.img.gz | dd of=/dev/sdc bs=64k   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 ''/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: If you hadn't used the -z flag, then it would just be:
Line 24: Line 24:
   sync   sync
  
-At this point, you may remove your CF and install it into your target system, power up... boot, and follow http://doc.astlinux.org/userdoc:new-install to complete the process.+At this point, you may remove your CF and install it into your target system, power up... boot,\\ and follow **[[userdoc:new-install|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.1304535846.txt.gz
  • Last modified: 2011/05/04 14:04
  • by abelbeck