NixOS on ARM: Difference between revisions
imported>Zzeroo m Fix installation command. Was cp where dd was mentioned. I don't think cp whould work here, too. |
imported>Samueldr |
||
Line 275: | Line 275: | ||
=== Installation steps === | === Installation steps === | ||
The installation images come in two flavors: <code>sd-image-armv6l-linux.img</code> is built for the ARMv6 architecture and it comes with the Raspberry Pi kernel. | The installation images come in two flavors: <code>sd-image-armv6l-linux.img</code> is built for the ARMv6 architecture and it comes with the Raspberry Pi kernel. sd-image-armv7l-linux.img is built for the ARMv7 architecture and comes with the mainline multiplatform ARMv7 kernel (multi_v7_defconfig). Make sure you download the correct image for your board! | ||
The .img files can be directly written to a microSD/SD card (minimal recommended size: 4 GB) using dd. | The .img files can be directly written to a microSD/SD card (minimal recommended size: 4 GB) using dd. | ||
<syntaxhighlight lang="bash">sudo | <syntaxhighlight lang="bash">sudo cp sd-image-armv7l-linux.img /dev/sdX</syntaxhighlight> | ||
Replace <code>/dev/sdX</code> with the path to your SD card device. | Replace <code>/dev/sdX</code> with the path to your SD card device. | ||