NixOS Installation Guide: Difference between revisions

imported>Samueldr
m Tested windows method
imported>Samueldr
m From macOS: use the same instructions as the manual recommends, keep the note about rdisk.
Line 36: Line 36:


==== From macOS ====
==== From macOS ====
{{outdated:inline|Instructions are not verified to be working as of 2017-11-25, it is most likely they work, please remove this warning when tested.}}


# Find the right device with <code>diskutil list</code>, let's say <code><i>diskX</i></code>.
# Find the right device with <code>diskutil list</code>, let's say <code><i>diskX</i></code>.
# Unmount with <code>diskutil unmountDisk <i>diskX</i></code>.
# Unmount with <code>diskutil unmountDisk <i>diskX</i></code>.
# Burn with: <code>sudo dd if=<b>path_to_nixos.iso</b> of=/dev/<b>r</b><i>diskX</i> bs=64k</code>
# Burn with: <code>sudo dd if=<b>path_to_nixos.iso</b> of=/dev/<i>diskX</i></code> {{tip|Using <code>rdiskX</code> instead of <code>diskX</code> can makes a large speed difference. You can check the write speed with <code>iostat 2</code> in another terminal.}}
 
{{note|Use <code>rdisk</code> instead of <code>disk</code>, this makes a large speed difference. You can check the write speed with <code>iostat 2</code> in another terminal.}}
 
You could use Disk Utility to write the image but then you'd need to convert it first to a compatible format somehow.


==== From Windows ====
==== From Windows ====