Difference between revisions of "NixOS Installation Guide/Unetbootin"
From NixOS Wiki
m |
(Add warning about the new wiki) |
||
Line 1: | Line 1: | ||
+ | {{warning|1=You are reading an article on the deprecated unofficial wiki. For the up to date version of this article, see https://wiki.nixos.org/wiki/NixOS_Installation_Guide/Unetbootin.}} | ||
+ | |||
{{outdated|Instructions are old, from around 2014, and are are unlikely to work.}} | {{outdated|Instructions are old, from around 2014, and are are unlikely to work.}} | ||
Revision as of 06:39, 5 April 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.