NixOS Installation Guide/Unetbootin: Difference between revisions
imported>Samueldr Moves unetbootin installation media from the guide to a standalone page. |
Phanirithvij (talk | contribs) m update nixos iso url |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{outdated|Instructions are old, from around 2014, | {{outdated|Instructions are old, from around 2014, and are are unlikely to work.}} | ||
'''NOTE''': Using Unetbootin to produce a USB flash drive is '''not supported'''. | |||
<hr /> | |||
It is possible to install NixOS from a USB stick, rather than from a CD. This is useful if you want to install NixOS on a machine that doesn't have a CD-ROM drive (such as most netbooks), or if you don't want to waste a blank CD. Here is how to do it: | It is possible to install NixOS from a USB stick, rather than from a CD. This is useful if you want to install NixOS on a machine that doesn't have a CD-ROM drive (such as most netbooks), or if you don't want to waste a blank CD. Here is how to do it: | ||
Line 5: | Line 9: | ||
<ol> | <ol> | ||
<li>Download a [ | <li>Download a [https://nixos.org/download/#nixos-iso NixOS ISO image] or [[#Build a custom installation image]].</li> | ||
<li>Obtain a USB stick formatted with the VFAT/FAT32 filesystem with enough free disk space to hold the contents of the ISO image. {{Note|It's not necessary to erase the USB stick.}}</li> | <li>Obtain a USB stick formatted with the VFAT/FAT32 filesystem with enough free disk space to hold the contents of the ISO image. {{Note|It's not necessary to erase the USB stick.}}</li> |
Latest revision as of 08:24, 14 September 2024
NOTE: Using Unetbootin to produce a USB flash drive is not supported.
It is possible to install NixOS from a USB stick, rather than from a CD. This is useful if you want to install NixOS on a machine that doesn't have a CD-ROM drive (such as most netbooks), or if you don't want to waste a blank CD. Here is how to do it:
- Download a NixOS ISO image or #Build a custom installation image.
- Obtain a USB stick formatted with the VFAT/FAT32 filesystem with enough free disk space to hold the contents of the ISO image.
- Install UNetbootin, a tool that allows you to create a bootable USB stick from an ISO image. UNetbootin runs on both Linux and Windows. If you already have Nix/NixOS, you can install it by running nix-env -i unetbootin. Other tools may also work.
- Insert the USB stick, start UNetbootin, select the ISO file and target USB drive, and press Ok. This copies the contents of the ISO to the USB stick and installs the GRUB boot loader.
- You should now be able to boot NixOS from the USB stick, and perform the installation as usual.