NixOS Installation Guide: Difference between revisions

imported>Fufexan
m Remove incorrect "only simple on uefi" from Swap file
imported>Erikarvstedt
mNo edit summary
Line 24: Line 24:
=== "Burning" to USB drive ===
=== "Burning" to USB drive ===


First, download a [https://nixos.org/nixos/download.html NixOS ISO image] or [[Creating a NixOS live CD|create a custom ISO]]. Then plug in a USB stick large enough to accommodate the image. Then follow the platform instructions:
First, download a [https://nixos.org/download.html#nixos-iso NixOS ISO image] or [[Creating a NixOS live CD|create a custom ISO]]. Then plug in a USB stick large enough to accommodate the image. Then follow the platform instructions:


==== From Linux ====
==== From Linux ====


# Find the right device with <code>lsblk</code> or <code>fdisk -l</code>. Replace <code><i>/dev/sdX</i></code> with the proper device in the following steps.
# Find the right device with <code>lsblk</code> or <code>fdisk -l</code>. Replace <code><i>/dev/sdX</i></code> with the proper device in the following steps.
# Burn with: <code>cp nixos-xxx.iso <em>/dev/sdX</em></code>
# Copy to device: <code>cp nixos-xxx.iso <em>/dev/sdX</em></code>


{{note|do not use /dev/sdX1 or partitions of the disk, use the whole disk /dev/sdX.}}
{{note|do not use /dev/sdX1 or partitions of the disk, use the whole disk /dev/sdX.}}