Template:ARM/installation generic: Difference between revisions

imported>Samueldr
m WIP
DoggoBit (talk | contribs)
No edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>{{delete|reason=This could do much better as an [[NixOS on ARM#Installation]] section link.}}{{Template}}


== About ==
This template provides generic installation instructions for NixOS on ARM sub-pages. Look at the other installation instruction templates, there may be one more appropriate for the lineage of your board!
This template provides generic installation instructions for NixOS on ARM sub-pages. Look at the other installation instruction templates, there may be one more appropriate for the lineage of your board!


<syntaxhighlight>
=== Parameters ===
{{ARM/generic install|variant=EXAMPLE}}
</syntaxhighlight>
 
Parameters:


* <tt>variant</tt> Pass one of <tt>aarch64, armv7l, armv6l</tt> as relevant.
* <tt>variant</tt> Pass one of <tt>aarch64, armv7l, armv6l</tt> as relevant.
* <tt>storage</tt> default: <tt>an SD card</tt> This will be used like <tt>... to a/an EXAMPLE STORAGE DEVICE</tt>. Example: <tt>storage=a USB drive</tt>.
* <tt>storage</tt> default: <tt>an SD card</tt> This will be used like <tt>... to a/an EXAMPLE STORAGE DEVICE</tt>. Example: <tt>storage=a USB drive</tt>.


== Preview ==
== Usage ==
<syntaxhighlight>
{{ARM/installation generic|variant=EXAMPLE}}
</syntaxhighlight>
 
== Example ==


{{ARM/generic install|variant=EXAMPLE}}
{{ARM/installation generic|variant=EXAMPLE}}


</noinclude><includeonly><!--
</noinclude><includeonly><!--


-->To use the generic installation image for your board, you will need to copy it verbatim to {{{storage|an SD card}}}.
-->To use the generic installation image for your board, you will need to copy it verbatim to {{{storage|an SD card}}}.
{{tip|Replace <code>/dev/sdX</code> with the path to your SD card device.}}
{{#tag:syntaxhighlight|sudo dd if=sd-image-{{{variant}}}-linux.img of=/dev/DEVICE conv=sync status=progress|lang="bash"}}<!--
{{#tag:syntaxhighlight|sudo dd if=sd-image-{{{variant}}}-linux.img of=/dev/sdX|lang="bash"}}<!--


--></includeonly>
--></includeonly>