Try to learn something about everything, and everything about somethingThomas Huxley “Darwin's bulldog” (1824-1895)

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:radio:topics:allstar:allstar_echolink [04/06/26 21:17 BST] – [Node 48148] johnpublic:radio:topics:allstar:allstar_echolink [05/06/26 08:46 BST] (current) – [Editing the image] john
Line 19: Line 19:
  
  
-It turned out to be not too difficult, as I already had all the correct working configs from [[public:radio:dormant:gm4slv_allstar| the last time]] I used Allstar, so I was able to copy them onto the new SD card image and have a working node straight from boot up!+It turned out to be not too difficult, as I already had all the correct working configs from [[public:radio:topics:allstar:gm4slv_allstar| the last time]] I used Allstar, so I was able to copy them onto the new SD card image and have a working node straight from boot up!
  
 ==== Editing the image === ==== Editing the image ===
Line 25: Line 25:
 I downloaded the most recent V2.0 beta image for Raspberry Pi here : [[http://downloads.allstarlink.org/ASL_Images_Beta/Raspberry_Pi2_3_4/asl-2.0.0-beta.6-kc1kcc-20210324-rpi-armhf.img.zip | 2.0.0-beta.6]] I downloaded the most recent V2.0 beta image for Raspberry Pi here : [[http://downloads.allstarlink.org/ASL_Images_Beta/Raspberry_Pi2_3_4/asl-2.0.0-beta.6-kc1kcc-20210324-rpi-armhf.img.zip | 2.0.0-beta.6]]
  
-Once I had the ''img'' file unzipped I thought it would be fun to try and add my config to the image //before// writing it to the SD Card. I had enough information [[public:computers:rpi_image| here]] to show me how to mount an image as a block device (ie disk). Once that was done I could simply copy any files onto the mounted image and then unmount it. The image could then be ''dd'' to the SD card in the usual way.+Once I had the ''img'' file unzipped I thought it would be fun to try and add my config to the image //before// writing it to the SD Card. I had enough information [[..:..:..:computers:archive:rpi_image| here]] to show me how to mount an image as a block device (ie disk). Once that was done I could simply copy any files onto the mounted image and then unmount it. The image could then be ''dd'' to the SD card in the usual way.
  
 So I retrieved the last set of config file backups and copied all the ''*.conf'' files that go in ''/etc/asterisk'' into the mounted image device i.e. to ''/mnt/etc/asterisk/'' So I retrieved the last set of config file backups and copied all the ''*.conf'' files that go in ''/etc/asterisk'' into the mounted image device i.e. to ''/mnt/etc/asterisk/''